Commit Graph

5170 Commits

Author SHA1 Message Date
Daniel J. Hofmann
e1e76d04d1 Adds round trip tests for RFC 4648 Test Vectors and equality checks 2016-03-23 22:47:22 +01:00
Daniel J. Hofmann
451bbe3021 Makes hint Equatable and Printable for tests 2016-03-23 22:47:22 +01:00
Daniel J. Hofmann
88a76aaecf Make Hint encoding safe for passing them as GET parameter in URLs
Thanks @TheMarex for flagging this!
2016-03-23 22:42:28 +01:00
Daniel J. Hofmann
87428f8fc9 Completely re-write base64 logic, make API suck less in doing so 2016-03-23 22:42:12 +01:00
Daniel J. Hofmann
6c9ddde682 RFC 4648 Test Vectors 2016-03-23 22:41:10 +01:00
Daniel J. Hofmann
b4b148e3dc Object Encoder -> Base64, kill false dependencies while doing so 2016-03-23 22:40:59 +01:00
Daniel J. Hofmann
4a84ca3197 Adapts Hint encoding and decoding to new fixed data facade 2016-03-23 22:40:45 +01:00
Daniel J. Hofmann
df182ebc38 Formats parameter parser unit tests 2016-03-23 22:40:32 +01:00
Patrick Niklaus
c86864976c Fix hint size 2016-03-23 22:36:20 +01:00
Patrick Niklaus
c3dd77d32b Always safe the absolute path to .fileIndex 2016-03-23 22:18:11 +01:00
Patrick Niklaus
2357d1c095 Merge pull request #2137 from noblige/rewrite/new-api
fixed compilation error on debian jessie with boost 1.54
2016-03-23 14:35:36 -04:00
Patrick Niklaus
7cd70679f1 Install storage_config.hpp 2016-03-23 19:19:00 +01:00
Aleksei Potov
08c1ac0daf compilation error on debian jessie with boost 1.54 2016-03-23 17:55:56 +00:00
Daniel Patterson
48237b30ea Fix boost geometry constructor.
Versions older than 1.58 don't support the initializer-list form.
2016-03-23 10:47:06 -07:00
Moritz Kobitzsch
cac1298864 syncronize geometry and steps after post-processing 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
83e6679d61 added list of intersections to the step-maneuver, not in api so far 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
f3ea86b611 fix initial maneuvers 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
f3de53c363 post processing moved onto route-steps, looses sync with geometry segments 2016-03-23 17:52:51 +01:00
Patrick Niklaus
19434d42b4 Simplify the timestamp handling 2016-03-23 17:52:51 +01:00
Patrick Niklaus
ea24ea64f2 Check all streams 2016-03-23 17:52:51 +01:00
Patrick Niklaus
39f5cf1c22 std::string -> boost::filesystem::path 2016-03-23 17:52:51 +01:00
Patrick Niklaus
91384ecd8c Only allow to specify the common base path 2016-03-23 17:52:51 +01:00
Patrick Niklaus
5c28eabbe0 print -> io.write 2016-03-23 17:52:51 +01:00
Patrick Niklaus
42dd45b29b Address PR comments
Renamed lua_function_exists and removes unused print function
2016-03-23 17:52:51 +01:00
Patrick Niklaus
6f4095f23f Use uturn default from .properties file 2016-03-23 17:52:51 +01:00
Patrick Niklaus
9c6c02d85b 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.
2016-03-23 17:52:51 +01:00
Patrick Niklaus
47afe60e5f Use global uturns parameter.
Instead of previously per-via settings like uturns=true;false;true;; it
now only supports a global setting uturns=true.
2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
0471ace55d improves consistency of fork handling 2016-03-23 17:52:51 +01:00
Patrick Niklaus
49e2a4ec07 Make gcc 4.8 happy and disable protected because of lambdas 2016-03-23 17:52:51 +01:00
Daniel Patterson
991c5f5d5d Properly clip lines so that we don't get crazy coords with long linestrings (relative to tile coords) 2016-03-23 17:52:51 +01:00
Daniel Patterson
87c77e7d77 Include edge duration information. 2016-03-23 17:52:51 +01:00
Patrick Niklaus
2cf120fc49 Implement viewport code to fix simplification
This fixes #2083
2016-03-23 17:52:51 +01:00
Patrick Niklaus
d4eaea1e7d Add tests for coordinate transformation 2016-03-23 17:52:51 +01:00
Patrick Niklaus
51a13675d4 Consolidate math functions 2016-03-23 17:52:51 +01:00
Patrick Niklaus
af4cb96aa5 get_name_for_id -> GetNameForID 2016-03-23 17:52:51 +01:00
Patrick Niklaus
439a7ba661 Simplfy name change announcement 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
a0ff0b1258 fix division by zero 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
1cc9a2f4a1 restructured to only return valid turns to the outside + cleanup 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
a3cf7f09e8 less new names, forks consider road classes, api clean-up 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
831a536224 implement basic turn handling 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
7df00683e1 implements relative position feature based on coordinates 2016-03-23 17:52:51 +01:00
Patrick Niklaus
0c0803c77b Don't sum up durations of merged steps since we do that in a different place now 2016-03-23 17:52:51 +01:00
Patrick Niklaus
7c5d56afcb Fix foward/backwad swap 2016-03-23 17:52:51 +01:00
Patrick Niklaus
892b9dff4a Limit zoomlevel to 18 2016-03-23 17:52:51 +01:00
Patrick Niklaus
04a8c1833c Fix shared memory 2016-03-23 17:52:51 +01:00
Patrick Niklaus
c217ff815c Fixup for last commit 2016-03-23 17:52:51 +01:00
Daniel Patterson
893c9f7326 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.
2016-03-23 17:52:51 +01:00
Patrick Niklaus
84fa7ae353 Fix ingestion fixed duration values from UnpackPath 2016-03-23 17:52:51 +01:00
Patrick Niklaus
bb3256573b Fix durations in UnpackPath 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
96d9ef3951 fixes a broken assertion 2016-03-23 17:52:51 +01:00