-
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
turn restrictions #290
Comments
not sure i understand you, but looking at osm, there are no restrictions added to the map? |
I also think that there was no turn restriction so far. I created the one you described. Let's check again after data update (tomorrow morning probably). |
I asked if OSRM see turn restrictions with multiple via points. For example, one restriction like that: or like that |
According to the link in your first post, it seems in deed that turn restrictions using a via-way instead of a via-node are ignored. |
Internally in the orsm.restrictions file, a restriction is modeled by
So I guess that "a forbidden U-turn" cannot be represented in this model (at least in case of a dual carriageway), because it needs > 3 nodes. I suppose these nodes are required to be strictly subsequent (because otherwise you can have multiple trajectories that map to the same sequence). So an OSM via way restriction (e.g. http://wiki.openstreetmap.org/w/images/9/96/Via_way_restriction.png ) is not possible either. |
Via ways for turn restrictions are unsupported. |
Support may/will be added with some later version. |
Leaving this closed in favor of #483 |
hi,
http://map.project-osrm.org/?hl=en&loc=41.533583,-8.619032&loc=41.533470,-8.618990&z=18¢er=41.533535,-8.619102&df=0
this route is technically prohibited, as there is a sign that prohibits transit. realized so that the routing engine only prohibit turning through a via node, so that the prohibition would be from a way to another way through a via way. I think that the engine does not see these prohibitions.
thanks
The text was updated successfully, but these errors were encountered: