Commit Graph

261 Commits

Author SHA1 Message Date
Moritz Kobitzsch
a95f4a8816 encapsulated into class 2016-03-18 17:33:04 +01:00
Moritz Kobitzsch
94a2072533 improving fork handling on three-way turns 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
Moritz Kobitzsch
431a8cb5c1 fixes assignment for basic turn types / invalid ramp assignment 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
d88ce65385 Adapts MakeResponse to not pass vector by pointer 2016-03-18 17:33:03 +01:00
Daniel J. Hofmann
6856f00074 Runs scripts/format.sh 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
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
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
70dfe23f0e Fix table response format to return null + double in seconds 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
Daniel J. Hofmann
3db1509855 Uses JSON's String constructor for polyline encoding 2016-03-18 17:33:01 +01:00
Daniel J. Hofmann
53f47458a2 Passes coordinates by value 2016-03-18 17:33:01 +01:00
Patrick Niklaus
7803d6116b Fix if the last coordinate is not found 2016-03-18 17:33:01 +01:00
Patrick Niklaus
07cd80d042 Allocate correct table size 2016-03-18 17:33:01 +01:00
Patrick Niklaus
fd6abcfde3 Fix travel mode passing from profiles up to the API 2016-03-18 17:33:01 +01:00
Patrick Niklaus
690a2a41a4 Fix geometries type in steps 2016-03-18 17:33:01 +01:00
Patrick Niklaus
dd1f9e5a6a Fix table parameter parsing 2016-03-18 17:33:01 +01:00
Patrick Niklaus
e4ed2f6a2f Fix behaviour of table if sources/destinations arrays are empty 2016-03-18 17:33:01 +01:00
Patrick Niklaus
5916ddda80 Change stream operator of strong typedef 2016-03-18 17:33:01 +01:00
Patrick Niklaus
5acd2ca394 Add stream operator to Rectangle 2016-03-18 17:33:01 +01:00
Patrick Niklaus
ffaf0fc86f Add euclideanDistance to coordinate_calculation 2016-03-18 17:33:01 +01:00
Patrick Niklaus
fed2a67e42 First round of lat,lng -> lng,lat switcheroo 2016-03-18 17:33:00 +01:00