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
OSRM 5.0 API #1935
OSRM 5.0 API #1935
Commits on Apr 5, 2016
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Enables the use of multiple segment-speed-files on the osrm-contract
command line, and exposes the file name used for each edge in the debug tiles.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Properly clip lines so that we don't get crazy coords with long lines…
…trings (relative to tile coords)
-
-
-
Instead of previously per-via settings like uturns=true;false;true;; it now only supports a global setting uturns=true.
-
Adds .properties file to osrm-extract ouput
This file contains global properties set by the lua profile, such as enabling uturns at vias and penalties. This file will be consumed by the server.
-
-
Renamed lua_function_exists and removes unused print function
-
-
-
-
-
-
-
-
Fix boost geometry constructor.
Versions older than 1.58 don't support the initializer-list form.
-
-
-
-
-
-
-
-
Make Hint encoding safe for passing them as GET parameter in URLs
Thanks @TheMarex for flagging this!
-
-
Provide correct Base64 implementation.
Phew, this was painful. Turns out most hints out there on how to use the Boost serialization iterators are wrong. Here's why: transform_width<6, 8> needs an input stream of length: common multiple of 6 and 8. That is, the padding needs to happen _before_ using the provided iterators, otherwise the behavior is undefined! See: http://www.boost.org/doc/libs/1_60_0/boost/archive/iterators/transform_width.hpp Thanks @MoKob for pointing that out to me! We also need to manually add as many padding chars "=" to the encoded result as many bytes we had to append to the input to conform to the rule above. Decoding then knows the number of padding chars by counting for "=" and then using it in order to split off the last bytes from the decoded result.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
head/destination -> depart/arrive to reflect guidance API changes; mi…
…nor fixes for roundabout tests
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Fix mathematical assumptions in StaticRTree
StaticRTree now uses projected coordinates internally. That means we can use a euclidean distance measure (squared distance) for sorting the query queue.
-
-
-
-
-
-
-
-
-
-
-
Adjust threshold when trimming steps (needs to be bigger).
Also, when trimming the last step, we need to copy name values from the new next-to-last step, otherwise we can still end up with an arrive step on a different road to the last maneuver.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Fix context returned in JSON error (had null bytes).
Update status test cases to match new API.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Commits on Apr 6, 2016
-
-
-
-
-
Start modularizing the CMake buildsystem
The main reason for modularizing the unit tests was to split off libboost_unit_test_framework from the osrm toolchain binaries. Now only the unit test binaries link against it, unblocking binary distribution without unit test library dependencies. I started this on v4 a couple of weeks ago and hit a -llua5 issue on Travis. By now v5 diverged quite a bit (especially in the code that I have to stare at for debugging the issues). #2073 Let's bring this to v5+ only. This is blocking: - #2065 - #2197 (comment)
-
-
Commits on Apr 7, 2016
Commits on Apr 8, 2016
-
Moritz Kobitzsch committed
Apr 8, 2016 -
Moritz Kobitzsch committed
Apr 8, 2016 -
-
-
-
-
-
-
-
-
Allow 4.json and 4.3.json format; needs -lit(".") >> -lit("json") hac…
…k^Wworkaround Rainer Deyke's workaround without the need to do ugly backtracking. References: - http://lists.boost.org/boost-users/2016/03/85960.php - #2173 (comment)
-
-
Fix #2173 with a no_trailing_dot_policy
no_trailing_dot_policy rejects parsing exp, exp_n, nan, inf and rejects parsing a fractional part if detects ".Fmt". For Fmt = 'j', 's', 'o', 'n': 42.foo rule parses 42. 42.json rule parses 42 42..json rule parses 42. Reference: - #2222 (comment)
-
-
-
Fix BOOST_FUSION_ADAPT_STRUCT parameters for ParsedURL
Fix build error: macro "BOOST_FUSION_ADAPT_STRUCT" passed 5 arguments, but takes just 2 https://travis-ci.org/Project-OSRM/osrm-backend/builds/121406444
-
Conform to v5 spec and support "unlimited" as radiuses value.
Supersedes: #2231 Thanks to Michael Krasnyk (@oxidase) for figuring out the reason for the segfault earlier: > #2231 (comment)
-
Adapts all grammars to use expectation parsers without backtracking.
Sequence parsers using `>>` allow for backtracking, expectation parsers `>` do not. This allows us to properly report the position where parsing failed, by catching the expectation_failure exception and adapting the iterator ourselves. References: - #2188 - #2168 - http://www.boost.org/doc/libs/1_55_0/libs/spirit/doc/html/spirit/qi/reference/operator/expect.html
-
-