Repository navigation
Slightly decreases roundabout turn max radius from 25m to 15m - #4665
Conversation
|
Next steps here:
|
db5b0eb to
8b03a69
Compare
|
Super quick comparison from the stats handler we just merged into master - on California base map:
|
|
The table above distinguishes between |
|
Yes roundabout turns are atomic from the API's point of view after post-processing. The above table is from pre-processing and includes internal instructions: osrm-backend/include/extractor/guidance/turn_instruction.hpp Lines 33 to 68 in 9b83649 Orthogonal to the turn instructions our roundabout handler knows about the different roundabout types: osrm-backend/include/extractor/guidance/roundabout_type.hpp Lines 10 to 16 in 9b83649 In post-processing we then do e.g. exit counting for regular roundabouts and rotaries and collapse everything between enter and exit roundabout turn instructions. Then you have your single roundabout turn instruction. |
|
Quick follow up here: currently the split between pre- and post-processing does not allow us to generate statistics for the post-processing part easily (other than querying for routes and see what we get out). Ideally we could move all post-processing into pre-processing. Then we'd have maneuvers in our graph already and a clean and encapsulated guidance engine - something to look into in the future. |
1ec5
left a comment
There was a problem hiding this comment.
I think this is a sound change, at least as far as U.S. standards are concerned. Anything near this cutoff, such as a standard roundabout with the absolute minimum 14-meter radius specified in the standards, would be small enough that the motorist would not be confused by a turn instruction.
|
Our debug tiles contain point features for every maneuver. I generated the debug tile for x=511,y=340,z=10 (London, UK) with:
for both this branch and I then wrote a small script to compare the generated GeoJSON and make a map of the features that changed. Here's the map: TL;DR - change looks fine. A few roundabouts that were very close (but under) to the 25m threshold have been converted to proper roundabouts. None of the changes look bad and there don't seem to be any surprises. GeoJSON diffing script |

Roundabout turns are meant for situations like the following:
Quoting @1ec5: