Commit Graph

5135 Commits

Author SHA1 Message Date
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 44e1e57790 fix division by zero 2016-03-18 17:41:55 +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 343011c3da Limit zoomlevel to 18 2016-03-18 17:33:05 +01:00
Patrick Niklaus 4c66fcafaa Fix shared memory 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 7149e25636 fixes a broken assertion 2016-03-18 17:33:05 +01:00
Moritz Kobitzsch f76fc7fd83 fix merging of turn instructions 2016-03-18 17:33:05 +01:00
Patrick Niklaus 6a0db71e34 Include reverse edges again 2016-03-18 17:33:05 +01:00
Patrick Niklaus d6776b3e81 Formating and logging changes for turn classification 2016-03-18 17:33:05 +01:00
Patrick Niklaus f9eb22093b Handle case of dead-end edges by inserting an invalid turn 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
Patrick Niklaus 8485a99349 Just return NoSegment in map matching if all candidates are empty 2016-03-18 17:33:04 +01:00
Patrick Niklaus af6b84a432 Add failing test for map matching of outlier 2016-03-18 17:33:04 +01:00
Patrick Niklaus 1dc26585d2 Fix missing capitalization of error codes 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
Moritz Kobitzsch a5568f8be4 fix comparison for ramps on three-way turns 2016-03-18 17:33:04 +01:00
Patrick Niklaus dafd724923 Minor auto iterator cleanup 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
Patrick Niklaus 956b264ece Fix camMergeTrivially 2016-03-18 17:33:04 +01:00
Moritz Kobitzsch 8967cebd10 fixes roundabout counting 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 1675ff1748 Add edge id assertions 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