-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subexits are treated as forks in the road #4295
Comments
@1ec5 can you elaborate why you would expect 2.? From looking at the satellite imagery, I would expect a fork to be perfectly reasonable, since the road has two lanes coming to the intersection (although not mapped) and each of these lanes continues as it's own exit. From my understanding, a ramp would be an actual turn, as in 1. where we initially exit or like at the branch of 1C when we would turn off the initial exit. The main problem in situations like this is, that I don't see any data here that would support finding out about what is an exit and what not with the current set of data available to OSRM. The only solutions I would see is to:
We cannot use the ref/destination information, as this information doesn't seem to line up with the expected behaviour. At least I couldn't find any connection at the collector-distributor lane you pointed out. |
A A longer express lane tagged as a
You’re right, this is an unfortunate ambiguity arising from a very common tagging style in OSM. A mapper in this case might assume that because the 1C ramp branches off from the node but the collector-distributor way continues on, unsplit, no instruction would be emitted. But of course that isn’t a reliable assumption, because the way may be split for reasons such as the lane count, speed limit, or height clearance changing.
This could be a solution, although in that case I wonder if we could also consider the more informative |
@1ec5 I guess you are right regarding the |
Relevant client workaround Project-OSRM/osrm-text-instructions#128 |
This route takes exit 1A by way of a collector-distributor lane shared between exits 1A and 1B. A driver would expect it to contain:
off ramp
maneuver to get onto the initial shared exit at this pointoff ramp
maneuver at this point where exits 1A and 1B splitHowever, OSRM produces:
off ramp
maneuver to get onto the initial shared exit at this pointfork
slight right
maneuver at this point where exit 1C branches offfork
slight right
maneuver at this point where exits 1A and 1B splitIt appears that OSRM only issues an
off ramp
maneuver to leave ahighway=motorway
way but not to leave ahighway=motorway_link
way./ref #4222 (comment)
/cc @daniel-j-h @MoKob @freenerd @willwhite
The text was updated successfully, but these errors were encountered: