Commit Graph

264 Commits

Author SHA1 Message Date
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
Moritz Kobitzsch 28d878ed23 migrated out of edge based graph factory 2016-03-23 17:52:51 +01:00
Moritz Kobitzsch 6db16e950a relative waypoint locations 2016-03-23 17:52:14 +01:00
Moritz Kobitzsch 862f8d6ff3 handling of roundabouts (simple version) 2016-03-23 17:52:14 +01:00
Moritz Kobitzsch 8c67dd4504 advanced guidance on 5.0 2016-03-23 17:52:14 +01:00
Patrick Niklaus 410d561b4c Fix table response format to return null + double in seconds 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann c13f1aa89d Provides ctor from base path for EngineConfig, fixes #2030 2016-03-23 17:50:13 +01:00
Patrick Niklaus b4bf0ec5fe Add support for tile plugin 2016-03-23 17:50:13 +01:00
Patrick Niklaus f7b7dbf51a Preliminary integration of the tile plugin 2016-03-23 17:50:13 +01:00
Patrick Niklaus 41c9f94e5f sources and destinations can be empty actually 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann 77adbca138 Fixes coordinate, source and destination validation by means of backporting #2041 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann f3e06b41dd Fixes ownership semantics and forwarding references misplacements in the JSON factory 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann ee4b8618f8 Unwrap function call from identity lambda 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann 58973a4fd1 Uses JSON's String constructor for polyline encoding 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann 4b8017d412 Passes coordinates by value 2016-03-23 17:50:13 +01:00
Patrick Niklaus e5d964492a Fix if the last coordinate is not found 2016-03-23 17:50:13 +01:00
Patrick Niklaus bb2baa82aa Allocate correct table size 2016-03-23 17:50:13 +01:00
Patrick Niklaus 0b5875a412 Fix travel mode passing from profiles up to the API 2016-03-23 17:50:13 +01:00
Patrick Niklaus 9a2b8cb16d Fix geometries type in steps 2016-03-23 17:50:13 +01:00
Patrick Niklaus 5fb6db7a9a Fix table parameter parsing 2016-03-23 17:50:13 +01:00
Patrick Niklaus c1647c99c8 Fix behaviour of table if sources/destinations arrays are empty 2016-03-23 17:50:13 +01:00
Patrick Niklaus 9b75f618e8 Change stream operator of strong typedef 2016-03-23 17:50:13 +01:00