Commit Graph

264 Commits

Author SHA1 Message Date
Daniel J. Hofmann 7543de4480 Adds the license preamble for all publicly installed eaders, closes #2036 2016-03-17 22:57:42 +01:00
Patrick Niklaus 93e8c42589 Remove the encoder/decoder dependecy from Hint 2016-03-17 22:57:42 +01:00
Patrick Niklaus 9e140d1e0f Rename alternative -> alternatives 2016-03-17 22:57:42 +01:00
Patrick Niklaus bf73834a72 Remove obsolete debug information 2016-03-17 22:57:42 +01:00
Moritz Kobitzsch 973785d1eb encapsulated into class 2016-03-17 22:57:41 +01:00
Moritz Kobitzsch b04919db51 improving fork handling on three-way turns 2016-03-17 22:57:41 +01:00
Patrick Niklaus 05f1c85de3 Don't pass down unsnapped coordinates. All information is already there 2016-03-17 22:57:41 +01:00
Moritz Kobitzsch c608b77a43 fixes assignment for basic turn types / invalid ramp assignment 2016-03-17 22:57:41 +01:00
Patrick Niklaus f06a636e7d 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-17 22:57:41 +01:00
Patrick Niklaus 3060f4414d Move bearing to public namespace 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann bf01038e63 Properly includes needed headers in turn analysis interface 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann c6004d4401 Const-correctnes for compressed geometry iterator 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann d8759b7a2e Use stdint and using type-alias for discrete angle 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann 304f361077 Hide functional road classification based on tags in implementation file 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann aeb435a2f7 Inline initialize functional road classification hash table 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann fca25b45cd 256 functional road classes should be enough 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann 2402a1341a Moves route assembly into implementation file 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann c9a0c0da1c Fixes remaining engine/guidance includes 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann 9c5d0f1e91 Fixes accumulate living in <numeric> and not <algorithm> 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann f47f008e7d Puts step maneuver handling into implementation file 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann 5eb8990739 Adapts MakeResponse to not pass vector by pointer 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann 2a454c4272 Runs scripts/format.sh 2016-03-17 22:57:40 +01:00
Moritz Kobitzsch 4f0a84e8de start of four way turns 2016-03-17 22:57:40 +01:00
Moritz Kobitzsch 6883fdca5c improved fork handling 2016-03-17 22:57:40 +01:00
Moritz Kobitzsch 951ffe8484 bugfixing/classification 2016-03-17 22:57:39 +01:00
Patrick Niklaus 6aa12b1dd6 Big Restructuring / Cleanup 2016-03-17 22:53:43 +01:00
Moritz Kobitzsch 74fe0beef6 starting on conflict resolution 2016-03-17 22:50:44 +01:00
Moritz Kobitzsch b85270e540 handle segregated roads (merge for turn analysis) 2016-03-17 22:50:42 +01:00
Moritz Kobitzsch b06dddaf5e structural changes, motorway handling 2016-03-17 22:49:02 +01:00
Moritz Kobitzsch 3fa9672d9a enter and exit roundabout feature - currently not showing turn 2016-03-17 22:46:22 +01:00
Moritz Kobitzsch 6547978906 migrated out of edge based graph factory 2016-03-17 22:46:21 +01:00
Moritz Kobitzsch 9087a01aac relative waypoint locations 2016-03-17 22:38:00 +01:00
Moritz Kobitzsch ad56ed8832 handling of roundabouts (simple version) 2016-03-17 22:38:00 +01:00
Moritz Kobitzsch 4b46dec169 advanced guidance on 5.0 2016-03-17 22:37:58 +01:00
Patrick Niklaus 41600eeadc Fix table response format to return null + double in seconds 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann 91b97ae7f7 Provides ctor from base path for EngineConfig, fixes #2030 2016-03-17 22:15:13 +01:00
Patrick Niklaus 28de928a5d Add support for tile plugin 2016-03-17 22:15:13 +01:00
Patrick Niklaus 209d1ada6a Preliminary integration of the tile plugin 2016-03-17 22:15:13 +01:00
Patrick Niklaus 399a2233f3 sources and destinations can be empty actually 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann d4009e11d5 Fixes coordinate, source and destination validation by means of backporting #2041 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann 8c9100cd9e Fixes ownership semantics and forwarding references misplacements in the JSON factory 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann 3a7d527a7e Unwrap function call from identity lambda 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann c96a485108 Uses JSON's String constructor for polyline encoding 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann c2de49ccab Passes coordinates by value 2016-03-17 22:15:13 +01:00
Patrick Niklaus 4dd6dfbfe2 Fix if the last coordinate is not found 2016-03-17 22:15:13 +01:00
Patrick Niklaus f039da95ec Allocate correct table size 2016-03-17 22:15:13 +01:00
Patrick Niklaus 5626182c60 Fix travel mode passing from profiles up to the API 2016-03-17 22:15:13 +01:00
Patrick Niklaus 721cc32acb Fix geometries type in steps 2016-03-17 22:15:13 +01:00
Patrick Niklaus 0ec5f06a2f Fix table parameter parsing 2016-03-17 22:15:13 +01:00
Patrick Niklaus 32982c7609 Fix behaviour of table if sources/destinations arrays are empty 2016-03-17 22:15:12 +01:00