Commit Graph

171 Commits

Author SHA1 Message Date
Moritz Kobitzsch
b04919db51 improving fork handling on three-way turns 2016-03-17 22:57:41 +01:00
Moritz Kobitzsch
0ccce27fdf fix comparison for ramps on three-way turns 2016-03-17 22:57:41 +01:00
Patrick Niklaus
5e82ee60e7 Minor auto iterator cleanup 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
Patrick Niklaus
aca943723f Fix camMergeTrivially 2016-03-17 22:57:41 +01:00
Moritz Kobitzsch
d82d7cf66e fixes roundabout counting 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
07dba1c325 Add edge id assertions 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
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
2402a1341a Moves route assembly into implementation file 2016-03-17 22:57:41 +01:00
Daniel J. Hofmann
f47f008e7d Puts step maneuver handling into implementation file 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann
1fe9012c29 Removes penalizing move 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann
9db0b029aa Uses static_casts for underlying type in post processing 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann
c48e5f5ee2 Fix asymmetry in min/max from using -max 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
533d6c0a6b Fixes multi-line comment 2016-03-17 22:57:40 +01:00
Daniel J. Hofmann
2a454c4272 Runs scripts/format.sh 2016-03-17 22:57:40 +01:00
Patrick Niklaus
908fd98824 Fix coodinate include and unused warnings 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
Patrick Niklaus
396e14d46e Fix crash on extracting Berlin in guidance 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
Lauren Budorick
383c9619ec Fixes for gcc compiling, temporary hacks to remove later 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
6f5c3067f1 Fix numerical problems with polyline 2016-03-17 22:15:13 +01:00
Patrick Niklaus
6dd23b2984 Return NoMatch 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
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
c2de49ccab Passes coordinates by value 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann
ae8dde6afe Asserts on unknown TurnInstruction 2016-03-17 22:15:13 +01:00
Daniel J. Hofmann
6bc3f5d6da Fixes header includes in the JSON factory 2016-03-17 22:15:13 +01:00
Dane Springmeyer
dbab7b421c fix compile of osrm-components 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
32982c7609 Fix behaviour of table if sources/destinations arrays are empty 2016-03-17 22:15:12 +01:00
Patrick Niklaus
828767ba18 Fuck. this. shit. 2016-03-17 22:15:12 +01:00
Patrick Niklaus
88f9cf5aea Fix stream operator for coordinate 2016-03-17 22:15:12 +01:00
Patrick Niklaus
3f7056ee30 Add euclideanDistance to coordinate_calculation 2016-03-17 22:15:12 +01:00
Patrick Niklaus
eb179af1ce First round of lat,lng -> lng,lat switcheroo 2016-03-17 22:15:10 +01:00
Patrick Niklaus
cd4dbfac42 Finish the nearest plugin 2016-03-17 21:57:36 +01:00