Commit Graph

5103 Commits

Author SHA1 Message Date
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
Daniel J. Hofmann 2ff9386368 Puts step maneuver handling into implementation file 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann 37e93cf96a Removes penalizing move 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann a7b99b1549 Uses static_casts for underlying type in post processing 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann 3443baa311 Fix asymmetry in min/max from using -max 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann d88ce65385 Adapts MakeResponse to not pass vector by pointer 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann 7865bd8815 Fixes multi-line comment 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann 6856f00074 Runs scripts/format.sh 2016-03-18 17:33:03 +01:00
Patrick Niklaus bc67488f25 Fix coodinate include and unused warnings 2016-03-18 17:33:03 +01:00
Moritz Kobitzsch 6c5822fb45 start of four way turns 2016-03-18 17:33:03 +01:00
Moritz Kobitzsch 779ddeeb69 improved fork handling 2016-03-18 17:33:03 +01:00
Patrick Niklaus 01c4b3f7a3 Fix crash on extracting Berlin in guidance 2016-03-18 17:33:03 +01:00
Moritz Kobitzsch fecd3d27ac bugfixing/classification 2016-03-18 17:33:02 +01:00
Patrick Niklaus 0724c4a2d8 Big Restructuring / Cleanup 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch cba4baf920 starting on conflict resolution 2016-03-18 17:33:02 +01:00
Lauren Budorick dda6d49f4a Fixes for gcc compiling, temporary hacks to remove later 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch 6f9d8a691d handle segregated roads (merge for turn analysis) 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch f713408d46 structural changes, motorway handling 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch 80843ecc89 enter and exit roundabout feature - currently not showing turn 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch aced4ebe56 migrated out of edge based graph factory 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch df00b99d84 relative waypoint locations 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch 7dfe91bba0 handling of roundabouts (simple version) 2016-03-18 17:33:02 +01:00
Moritz Kobitzsch 8753590f59 advanced guidance on 5.0 2016-03-18 17:33:02 +01:00
Patrick Niklaus 12ff303cf8 Fix numerical problems with polyline 2016-03-18 17:33:02 +01:00
Patrick Niklaus 70dfe23f0e Fix table response format to return null + double in seconds 2016-03-18 17:33:02 +01:00
Patrick Niklaus 6ca0afa212 Return NoMatch 2016-03-18 17:33:02 +01:00
Daniel J. Hofmann 31f735b08e Provides ctor from base path for EngineConfig, fixes #2030 2016-03-18 17:33:02 +01:00
Patrick Niklaus b01b7dcbca Add support for tile plugin 2016-03-18 17:33:02 +01:00
Patrick Niklaus 248a0af761 Preliminary integration of the tile plugin 2016-03-18 17:33:02 +01:00
Patrick Niklaus 49fff1d93f sources and destinations can be empty actually 2016-03-18 17:33:02 +01:00
Daniel J. Hofmann 29a72a9e1a Fixes coordinate, source and destination validation by means of backporting #2041 2016-03-18 17:33:01 +01:00
Daniel J. Hofmann b3a709b98d Fixes ownership semantics and forwarding references misplacements in the JSON factory 2016-03-18 17:33:01 +01:00
Daniel J. Hofmann aa3472cc6b Unwrap function call from identity lambda 2016-03-18 17:33:01 +01:00