-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Lanes should indicate validity per indication #2935
Comments
Some more motivation why this is important, here is a three-lane setup on a left-turning fork with: "type": "fork",
"modifier": "slight left",
"lanes":[
{"indications":["slight left"], "valid": true},
{"indications":["slight left", "slight right"], "valid": true},
{"indications":["slight right"], "valid": false}
], What we want: What we currently can do: |
I think you're mixing the semantics of indications on a lane and turn instructions / modifier. Take http://wiki.openstreetmap.org/wiki/Key:turn#Motorway_with_links_and_destinations If we (for simplicity) ignore the Lanes alone are not suitable for routing or guidance: instruction and / or modifier are needed. |
Agreed. I think there are three levels of how lane information can be used for routing:
The displayed lane information and the turn symbol should match (e.g. in my last comment, three lanes are displayed but the turn symbol will be |
Given that this would be an API-Change, I have to say my main question is what the main benefit would be here and if the benefit justifies such a change. I can see that the turn symbols would be better if we have a match between the turn and the symbols. Implementation-wise we would be facing a different challenge as well. Because of the |
In #2935 (comment), |
Just to get vocabulary clear here:
Both are similar, but will be displayed side-by-side and not replace each other. Lanes are additional information.
The problem for me is that with Level 2, the lane symbol might contradict the turn symbol. Sure, from a data standpoint this is correct (we only show the markings on the lane) but from a user perspective this is confusing, since not all symbols align.
Yes. It's not a total blocker though, so I'm happy to punt on this and roll it up with other breaking API changes we have planned for the future. Do we track v6 somewhere? |
The only problem areas would be things like merge and ramp instructions. For a typical merge to the left, the backend might give a |
@freenerd We are tracking 6.0 only in form of milestones. So we could add this issue to the 6.0 milestone. Regarding the matching indications: Due to the nature of my current turn assignment, they should match up for the most part. They don't have to in all situations, though. For example exiting a roundabout would be a typical example where a turn can be perfectly straight but have an indication both to the left and to the right (depending on which side of the road you are driving on). Roundabouts currently don't return lane information, but I can't guarantee that all lane-indications will match their modifiers. |
When implementing lanes on osrm-frontend Project-OSRM/osrm-frontend#187, I noticed that
valid
is only given for whole lanes, but not for single indications on the lanes.What is currently possible:
What I would like to see:
/cc @MoKob @daniel-j-h @bsudekum @1ec5
The text was updated successfully, but these errors were encountered: