Turn Angles in OSRM were computed using a lookahead of 10 meters.
This PR adds more advanced coordinate extraction, analysing the road to detect offsets due to OSM way modelling. In addition it improves the handling of bearings. Right now OSM reports bearings simply based on the very first coordinate along a way. With this PR, we store the bearings for a turn correctly, making the bearings for turns correct.
This commit is contained in:
@@ -209,6 +209,8 @@
|
||||
{"key": "highway", "value": "default"},
|
||||
{"key": "width", "description": "Penalties for narrow streets"},
|
||||
{"key": "lanes", "description": "Penalties for shared single lane streets"},
|
||||
{"key": "lanes:forward", "description": "Lanes in forward direction"},
|
||||
{"key": "lanes:backward", "description": "Lanes in backward direction"},
|
||||
{"key": "surface", "value": "asphalt"},
|
||||
{"key": "surface", "value": "concrete"},
|
||||
{"key": "surface", "value": "concrete:plates"},
|
||||
|
||||
Reference in New Issue
Block a user