Commit Graph

282 Commits

Author SHA1 Message Date
Patrick Niklaus
db0db58bf8 Make gcc 4.8 happy and disable protected because of lambdas 2016-03-19 00:01:43 +01:00
Patrick Niklaus
b3599ea249 Implement viewport code to fix simplification
This fixes #2083
2016-03-18 23:25:54 +01:00
Patrick Niklaus
0d628da3ba Consolidate math functions 2016-03-18 23:25:44 +01:00
Patrick Niklaus
497e4154a7 get_name_for_id -> GetNameForID 2016-03-18 19:29:09 +01:00
Patrick Niklaus
88db0ba90c Simplfy name change announcement 2016-03-18 18:16:20 +01:00
Moritz Kobitzsch
1a4f6cba7a restructured to only return valid turns to the outside + cleanup 2016-03-18 17:41:55 +01:00
Moritz Kobitzsch
ee5020baf3 less new names, forks consider road classes, api clean-up 2016-03-18 17:41:55 +01:00
Moritz Kobitzsch
7b755eea54 implement basic turn handling 2016-03-18 17:41:55 +01:00
Moritz Kobitzsch
fbdafca4f2 implements relative position feature based on coordinates 2016-03-18 17:33:05 +01:00
Patrick Niklaus
873950ee86 Don't sum up durations of merged steps since we do that in a different place now 2016-03-18 17:33:05 +01:00
Patrick Niklaus
50fcc65431 Fix foward/backwad swap 2016-03-18 17:33:05 +01:00
Patrick Niklaus
513fd09780 Fixup for last commit 2016-03-18 17:33:05 +01:00
Daniel Patterson
f6de8f3444 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-18 17:33:05 +01:00
Patrick Niklaus
082eac68f7 Fix ingestion fixed duration values from UnpackPath 2016-03-18 17:33:05 +01:00
Patrick Niklaus
7091331b55 Fix durations in UnpackPath 2016-03-18 17:33:05 +01:00
Moritz Kobitzsch
9fb86bcac5 report depart/arrive in addition to waypoint 2016-03-18 17:33:05 +01:00
Patrick Niklaus
17d775588d Only install necessary headers 2016-03-18 17:33:05 +01:00
Daniel J. Hofmann
810c0f3b3e Adds the license preamble for all publicly installed eaders, closes #2036 2016-03-18 17:33:05 +01:00
Patrick Niklaus
fe3005f630 Remove the encoder/decoder dependecy from Hint 2016-03-18 17:33:04 +01:00
Patrick Niklaus
ab7ded02c1 Rename alternative -> alternatives 2016-03-18 17:33:04 +01:00
Patrick Niklaus
bad4d4d6c7 Remove obsolete debug information 2016-03-18 17:33:04 +01:00
Moritz Kobitzsch
a95f4a8816 encapsulated into class 2016-03-18 17:33:04 +01:00
Moritz Kobitzsch
94a2072533 improving fork handling on three-way turns 2016-03-18 17:33:04 +01:00
Patrick Niklaus
807f5c0014 Don't pass down unsnapped coordinates. All information is already there 2016-03-18 17:33:04 +01:00
Moritz Kobitzsch
431a8cb5c1 fixes assignment for basic turn types / invalid ramp assignment 2016-03-18 17:33:04 +01:00
Patrick Niklaus
c8cd89355c 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-18 17:33:04 +01:00
Patrick Niklaus
e50bf1062f Move bearing to public namespace 2016-03-18 17:33:04 +01:00
Daniel J. Hofmann
50cf0cf84f Properly includes needed headers in turn analysis interface 2016-03-18 17:33:04 +01:00
Daniel J. Hofmann
da298f0f28 Const-correctnes for compressed geometry iterator 2016-03-18 17:33:04 +01:00
Daniel J. Hofmann
d5a3d817aa Use stdint and using type-alias for discrete angle 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
5f4424482e Hide functional road classification based on tags in implementation file 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
9d0da926e5 Inline initialize functional road classification hash table 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
512dd9a5e2 256 functional road classes should be enough 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
bba7e49d15 Moves route assembly into implementation file 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
70066c3ed0 Fixes remaining engine/guidance includes 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
5661628f2c Fixes accumulate living in <numeric> and not <algorithm> 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
2ff9386368 Puts step maneuver handling into implementation file 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
d88ce65385 Adapts MakeResponse to not pass vector by pointer 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
6856f00074 Runs scripts/format.sh 2016-03-18 17:33:03 +01:00
Moritz Kobitzsch
6c5822fb45 start of four way turns 2016-03-18 17:33:03 +01:00
Moritz Kobitzsch
779ddeeb69 improved fork handling 2016-03-18 17:33:03 +01:00
Moritz Kobitzsch
fecd3d27ac bugfixing/classification 2016-03-18 17:33:02 +01:00
Patrick Niklaus
0724c4a2d8 Big Restructuring / Cleanup 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
cba4baf920 starting on conflict resolution 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
6f9d8a691d handle segregated roads (merge for turn analysis) 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
f713408d46 structural changes, motorway handling 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
80843ecc89 enter and exit roundabout feature - currently not showing turn 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
aced4ebe56 migrated out of edge based graph factory 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
df00b99d84 relative waypoint locations 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
7dfe91bba0 handling of roundabouts (simple version) 2016-03-18 17:33:02 +01:00