Patrick Niklaus
da525eb8dc
Fix code of InternalError
2016-04-01 01:30:40 +02:00
Daniel Patterson
f87a13f5cf
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.
2016-03-31 16:09:12 -07:00
Patrick Niklaus
d1b9c09c23
Remove leftover hello_world and timestamp plugins
2016-03-31 21:35:48 +02:00
Patrick Niklaus
2a103c4362
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.
2016-03-31 19:03:57 +02:00
Moritz Kobitzsch
76d64f27cc
fix same segment routes
2016-03-31 18:58:52 +02:00
Moritz Kobitzsch
3d9f1e5c66
Removed debug code
2016-03-31 18:58:52 +02:00
Moritz Kobitzsch
c7b0e5abc3
correctly handle roundabouts in a wide set of special cases
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
166aebbff4
Removes server-side support for POST requests.
2016-03-31 18:58:52 +02:00
Lauren Budorick
c36e8cc9ea
Fix raster_source + tests
2016-03-31 18:58:52 +02:00
Patrick Niklaus
888f2e10e3
Fix staticrtree benchmark
2016-03-31 18:58:52 +02:00
karenzshea
c6c7e1a478
console error which files are missing for osrm-routed
2016-03-31 18:58:52 +02:00
Lauren Budorick
bc0222c204
Bind use_turn_restrictions to ProfileProperties in scripting environment
2016-03-31 18:58:52 +02:00
Moritz Kobitzsch
d40f777a87
perform zero-length segment removal
2016-03-31 18:58:52 +02:00
Daniel Patterson
a548155f65
Use correct perpendicular distance measure when simplifying line geometries.
2016-03-31 18:58:52 +02:00
Patrick Niklaus
991a0b38c5
Implement re-enabling of PhantomNode directions after bearing filtering
2016-03-31 18:58:52 +02:00
Patrick Niklaus
c9e2a8d24a
Move Centroid to coordinate_calculation
2016-03-31 18:58:52 +02:00
Patrick Niklaus
ebd8bf7c7c
Round integers to remove fake precision
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
776c0d0ae2
Fixes integer overflow due to fixed / floating mismatch in coordinate interpolation
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
4bb7e734f9
Make unit tests compile again after rebasing
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
f16a865420
Make Tile plugin validate its parameters, fixes #2109
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
c087a11659
Make Route plugin validate its parameters
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
de1f1b8ab3
Makes Nearest plugin adhere to v5 spec for precondition violations, fixes #2108
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
cb212a7315
Makes table plugin adhere to v5 spec for limit violations, fixes #2100
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
5b00bb81e3
Adapts all unit tests and benchmarks to compile under v5 again
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
9abfb7ea3b
Makes hint Equatable and Printable for tests
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
8a4551500d
Make Hint encoding safe for passing them as GET parameter in URLs
...
Thanks @TheMarex for flagging this!
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
d0c534e5fa
Completely re-write base64 logic, make API suck less in doing so
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
6cd3b8bc00
Object Encoder -> Base64, kill false dependencies while doing so
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
a145520b5b
Adapts Hint encoding and decoding to new fixed data facade
2016-03-31 18:58:52 +02:00
Patrick Niklaus
0bb1b04170
Always safe the absolute path to .fileIndex
2016-03-31 18:58:52 +02:00
Aleksei Potov
6462ea14a2
compilation error on debian jessie with boost 1.54
2016-03-31 18:58:52 +02:00
Daniel Patterson
993c4796c1
Fix boost geometry constructor.
...
Versions older than 1.58 don't support the initializer-list form.
2016-03-31 18:58:52 +02:00
Moritz Kobitzsch
b11d3ad1ba
syncronize geometry and steps after post-processing
2016-03-31 18:58:52 +02:00
Moritz Kobitzsch
9681d662cb
added list of intersections to the step-maneuver, not in api so far
2016-03-31 18:58:52 +02:00
Moritz Kobitzsch
6a5ffc126a
fix initial maneuvers
2016-03-31 18:58:52 +02:00
Moritz Kobitzsch
7bf2cb1917
post processing moved onto route-steps, looses sync with geometry segments
2016-03-31 18:58:52 +02:00
Patrick Niklaus
2b0a1bbb63
Simplify the timestamp handling
2016-03-31 18:58:52 +02:00
Patrick Niklaus
31297d1c9f
Check all streams
2016-03-31 18:58:52 +02:00
Patrick Niklaus
4e854399b6
std::string -> boost::filesystem::path
2016-03-31 18:58:52 +02:00
Patrick Niklaus
17adeaf3e2
Only allow to specify the common base path
2016-03-31 18:58:52 +02:00
Patrick Niklaus
250acf6a2a
Address PR comments
...
Renamed lua_function_exists and removes unused print function
2016-03-31 18:58:52 +02:00
Patrick Niklaus
49c852917f
Use uturn default from .properties file
2016-03-31 18:58:52 +02:00
Patrick Niklaus
3467696f8a
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-31 18:58:52 +02:00
Patrick Niklaus
a6a4fb0d49
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-31 18:58:52 +02:00
Moritz Kobitzsch
d3888942e8
improves consistency of fork handling
2016-03-31 18:58:52 +02:00
Daniel Patterson
08e56956d6
Properly clip lines so that we don't get crazy coords with long linestrings (relative to tile coords)
2016-03-31 18:58:52 +02:00
Daniel Patterson
fc027417d8
Include edge duration information.
2016-03-31 18:58:52 +02:00
Patrick Niklaus
f07da00dfe
Implement viewport code to fix simplification
...
This fixes #2083
2016-03-31 18:58:52 +02:00
Patrick Niklaus
6904851eb6
Consolidate math functions
2016-03-31 18:58:52 +02:00
Patrick Niklaus
6d70e1d47d
get_name_for_id -> GetNameForID
2016-03-31 18:58:52 +02:00