Commit Graph

285 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
Patrick Niklaus
49e2a4ec07 Make gcc 4.8 happy and disable protected because of lambdas 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
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
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
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
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
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
Patrick Niklaus
8f5091f711 Don't pass down unsnapped coordinates. All information is already there 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
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
Daniel J. Hofmann
556223d43b Properly includes needed headers in turn analysis interface 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
0b1e82105e Const-correctnes for compressed geometry iterator 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
c9ad8736b0 Use stdint and using type-alias for discrete angle 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
cded2501a5 Hide functional road classification based on tags in implementation file 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
4d94ec2792 Inline initialize functional road classification hash table 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
7970bc4ad6 256 functional road classes should be enough 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
f84ce976ea Moves route assembly into implementation file 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
ce9a4666f3 Fixes remaining engine/guidance includes 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
ff55b4e001 Fixes accumulate living in <numeric> and not <algorithm> 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
8040af329b Puts step maneuver handling into implementation file 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
5bc0595591 Adapts MakeResponse to not pass vector by pointer 2016-03-23 17:52:51 +01:00
Daniel J. Hofmann
9338d418c8 Runs scripts/format.sh 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
92b4f14db6 start of four way turns 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
a1f1da4c16 improved fork handling 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
be5f231641 bugfixing/classification 2016-03-23 17:52:51 +01:00
Patrick Niklaus
c19fae4a43 Big Restructuring / Cleanup 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
0831e71438 starting on conflict resolution 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
9f5e79501e handle segregated roads (merge for turn analysis) 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
cf5e722578 structural changes, motorway handling 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch
f12bb2fa2f enter and exit roundabout feature - currently not showing turn 2016-03-23 17:52:51 +01:00