Commit Graph

5146 Commits

Author SHA1 Message Date
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
Moritz Kobitzsch
11572702e9 fix merging of turn instructions 2016-03-23 17:52:51 +01:00
Patrick Niklaus
6d16bb5b25 Include reverse edges again 2016-03-23 17:52:51 +01:00
Patrick Niklaus
89eb2a3778 Formating and logging changes for turn classification 2016-03-23 17:52:51 +01:00
Patrick Niklaus
87408cfd73 Handle case of dead-end edges by inserting an invalid turn 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
dd4066c46e report depart/arrive in addition to waypoint 2016-03-23 17:52:51 +01:00
Patrick Niklaus
3f559211a4 Only install necessary headers 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
5892c6ea09 Adds the license preamble for all publicly installed eaders, closes #2036 2016-03-23 17:52:51 +01:00
Patrick Niklaus
dea0063a56 Remove the encoder/decoder dependecy from Hint 2016-03-23 17:52:51 +01:00
Patrick Niklaus
eec270968e Rename alternative -> alternatives 2016-03-23 17:52:51 +01:00
Patrick Niklaus
056a7422e0 Remove obsolete debug information 2016-03-23 17:52:51 +01:00
Patrick Niklaus
3d3fea768c Just return NoSegment in map matching if all candidates are empty 2016-03-23 17:52:51 +01:00
Patrick Niklaus
1a6c16fea1 Add failing test for map matching of outlier 2016-03-23 17:52:51 +01:00
Patrick Niklaus
3c56385ba8 Fix missing capitalization of error codes 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
1947671ae3 encapsulated into class 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
3189f24a17 improving fork handling on three-way turns 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
dd5c730a01 fix comparison for ramps on three-way turns 2016-03-23 17:52:51 +01:00
Patrick Niklaus
da1dbcfb34 Minor auto iterator cleanup 2016-03-23 17:52:51 +01:00
Patrick Niklaus
8f5091f711 Don't pass down unsnapped coordinates. All information is already there 2016-03-23 17:52:51 +01:00
Patrick Niklaus
0da7302d62 Fix camMergeTrivially 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
f0b40c1948 fixes roundabout counting 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
ecefb4a20e fixes assignment for basic turn types / invalid ramp assignment 2016-03-23 17:52:51 +01:00
Patrick Niklaus
9b1861e017 Add edge id assertions 2016-03-23 17:52:51 +01:00
Patrick Niklaus
4fb041391f Don't pass shared_ptr down to functions
"Don’t pass a smart pointer as a function parameter unless you want to
use or manipulate the smart pointer itself, such as to share or transfer
ownership."

Source:
http://herbsutter.com/2013/06/05/gotw-91-solution-smart-pointer-parameters/
2016-03-23 17:52:51 +01:00
Patrick Niklaus
64cc7d8aac Move bearing to public namespace 2016-03-23 17:52:51 +01:00