Commit Graph

167 Commits

Author SHA1 Message Date
Patrick Niklaus cb84e6009d Add edge id assertions 2016-03-31 18:58:52 +02:00
Patrick Niklaus 6b0b160f37 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-31 18:58:52 +02:00
Daniel J. Hofmann 458a1c8157 Hide functional road classification based on tags in implementation file 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann e1da384b62 Moves route assembly into implementation file 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 2985e73938 Puts step maneuver handling into implementation file 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann b5a67003fe Removes penalizing move 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 4797d6f1e1 Uses static_casts for underlying type in post processing 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 426f773cb7 Fix asymmetry in min/max from using -max 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 5c39449263 Adapts MakeResponse to not pass vector by pointer 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 1062007e67 Fixes multi-line comment 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann ea81866e28 Runs scripts/format.sh 2016-03-31 18:58:52 +02:00
Patrick Niklaus 3b9c772d14 Fix coodinate include and unused warnings 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch 9d1032a742 start of four way turns 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch a27f7326bd improved fork handling 2016-03-31 18:58:52 +02:00
Patrick Niklaus ba3f167b99 Fix crash on extracting Berlin in guidance 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch 8322a7ccaf bugfixing/classification 2016-03-31 18:58:52 +02:00
Patrick Niklaus 8c71239e48 Big Restructuring / Cleanup 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch ffb3578180 starting on conflict resolution 2016-03-31 18:58:52 +02:00
Lauren Budorick c918d68b3e Fixes for gcc compiling, temporary hacks to remove later 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch ebdae7591b handle segregated roads (merge for turn analysis) 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch 0ba70bcbf9 structural changes, motorway handling 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch 3cdd282e0f enter and exit roundabout feature - currently not showing turn 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch 72202b7e4a migrated out of edge based graph factory 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch 9f9040eaf6 relative waypoint locations 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch bc252ea110 handling of roundabouts (simple version) 2016-03-31 18:58:52 +02:00
Moritz Kobitzsch bcf7741f95 advanced guidance on 5.0 2016-03-31 18:58:52 +02:00
Patrick Niklaus 70afe209d5 Fix numerical problems with polyline 2016-03-31 18:58:52 +02:00
Patrick Niklaus 8b50f48d8e Return NoMatch 2016-03-31 18:58:52 +02:00
Patrick Niklaus 6f89ce516f Add support for tile plugin 2016-03-31 18:58:52 +02:00
Patrick Niklaus 666d363c93 Preliminary integration of the tile plugin 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann b0a83191cd Fixes ownership semantics and forwarding references misplacements in the JSON factory 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 4e02e8e1a0 Passes coordinates by value 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 407509d1af Asserts on unknown TurnInstruction 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann c1bea5c22d Fixes header includes in the JSON factory 2016-03-31 18:58:52 +02:00
Dane Springmeyer cf63399c9f fix compile of osrm-components 2016-03-31 18:58:52 +02:00
Patrick Niklaus e6782fd30b Fix travel mode passing from profiles up to the API 2016-03-31 18:58:52 +02:00
Patrick Niklaus 77a4530433 Fix geometries type in steps 2016-03-31 18:58:52 +02:00
Patrick Niklaus 5e1a8d82d6 Fix behaviour of table if sources/destinations arrays are empty 2016-03-31 18:58:52 +02:00
Patrick Niklaus cf1274de21 Fuck. this. shit. 2016-03-31 18:58:52 +02:00
Patrick Niklaus e5efee2dd8 Fix stream operator for coordinate 2016-03-31 18:58:52 +02:00
Patrick Niklaus 1d026882f9 Add euclideanDistance to coordinate_calculation 2016-03-31 18:58:52 +02:00
Patrick Niklaus 60d83ccf53 First round of lat,lng -> lng,lat switcheroo 2016-03-31 18:58:52 +02:00
Patrick Niklaus db170d006a Finish the nearest plugin 2016-03-31 18:58:52 +02:00
Patrick Niklaus b1d70b8a8c Adapt to feedback in #519 2016-03-31 18:58:52 +02:00
Patrick Niklaus 1b1211092b Add trip plugin 2016-03-31 18:58:52 +02:00
Patrick Niklaus 4e0f2e13bd Hook up map matching 2016-03-31 18:58:52 +02:00
Patrick Niklaus 28961ed593 First compiling version of map_match plugin 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 6a77ac442e Enable all plugins with aStatus::Error return code fallback for not implemented ones 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann 130c88bd0c Temporarily comment out match.cpp as to not break the build process 2016-03-31 18:58:52 +02:00
Daniel J. Hofmann f10da205bb Fix classes for service member function definitions 2016-03-31 18:58:52 +02:00