-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatbuffers support added #5513
Conversation
3ba6170
to
7d4fffb
Compare
6496b1a
to
050e673
Compare
It is possible now to choose between json and flatbuffers (not yet implemented) output format. Only route service is supported atm.
Same as for Route service, you can now specify either json or flatbuffers as output format for the other services (except Tile service, where it makes no sense).
…n different formats.
This changes BREAKS osrm.
structs now and distance/duration matrices are just arrays.
* Replaced Response union with nullable fields * "Ok" code replaced with a boolean and a separate structure for a error code and message. * Inlined geometry, thus removing one layer of indirection.
…of those object, so there is no need for another one level of indirection.
…cision anyway and it make output much smaller.
with 'in_bearing' and 'out_bearing' to get flatbuffers schema javascript friendly. Added a cucumber test for flatbuffers support.
…o sene to lint generated code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. It is better to cover all plugins and cases with flatbuffers protocol checks to be sure, that both protocols supports all features. But I think that we can merge this PR as a start as multi protocol support and then improve test coverage.
Thank you for the contribution! |
- Changes from 5.22.0 - Build: - FIXED: pessimistic calls to std::move [Project-OSRM#5560](Project-OSRM#5561) - Features: - ADDED: new API parameter - `snapping=any|default` to allow snapping to previously unsnappable edges [Project-OSRM#5361](Project-OSRM#5361) - ADDED: keepalive support to the osrm-routed HTTP server [Project-OSRM#5518](Project-OSRM#5518) - ADDED: flatbuffers output format support [Project-OSRM#5513](Project-OSRM#5513) - ADDED: Global 'skip_waypoints' option [Project-OSRM#5556](Project-OSRM#5556) - FIXED: Install the libosrm_guidance library correctly [Project-OSRM#5604](Project-OSRM#5604) - FIXED: Http Handler can now deal witch optional whitespace between header-key and -value [Project-OSRM#5606](Project-OSRM#5606) - Routing: - CHANGED: allow routing past `barrier=arch` [Project-OSRM#5352](Project-OSRM#5352) - CHANGED: default car weight was reduced to 2000 kg. [Project-OSRM#5371](Project-OSRM#5371) - CHANGED: default car height was reduced to 2 meters. [Project-OSRM#5389](Project-OSRM#5389) - FIXED: treat `bicycle=use_sidepath` as no access on the tagged way. [Project-OSRM#5622](Project-OSRM#5622) - FIXED: fix table result when source and destination on same one-way segment. [Project-OSRM#5828](Project-OSRM#5828) - FIXED: fix occasional segfault when swapping data with osrm-datastore and using `exclude=` [Project-OSRM#5844](Project-OSRM#5844) - FIXED: fix crash in MLD alternative search if source or target are invalid [Project-OSRM#5851](Project-OSRM#5851) - Misc: - CHANGED: Reduce memory usage for raster source handling. [Project-OSRM#5572](Project-OSRM#5572) - CHANGED: Add cmake option `ENABLE_DEBUG_LOGGING` to control whether output debug logging. [Project-OSRM#3427](Project-OSRM#3427) - CHANGED: updated extent of Hong Kong as left hand drive country. [Project-OSRM#5535](Project-OSRM#5535) - FIXED: corrected error message when failing to snap input coordinates [Project-OSRM#5846](Project-OSRM#5846) - Infrastructure - REMOVED: STXXL support removed as STXXL became abandonware. [Project-OSRM#5760](Project-OSRM#5760)
Closes # 5512