Skip to content
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

Closed
FilipeCB opened this issue Jun 7, 2012 · 9 comments
Closed

turn restrictions #290

FilipeCB opened this issue Jun 7, 2012 · 9 comments
Milestone

Comments

@FilipeCB
Copy link

FilipeCB commented Jun 7, 2012

hi,

http://map.project-osrm.org/?hl=en&loc=41.533583,-8.619032&loc=41.533470,-8.618990&z=18&center=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

@emiltin
Copy link
Contributor

emiltin commented Jun 8, 2012

not sure i understand you, but looking at osm, there are no restrictions added to the map?

@drummer83
Copy link

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).

@FilipeCB
Copy link
Author

I asked if OSRM see turn restrictions with multiple via points. For example, one restriction like that:

or like that

@drummer83
Copy link

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.
Maybe DennisOSRM can confirm this?

@mjoris
Copy link

mjoris commented Jul 2, 2012

Internally in the orsm.restrictions file, a restriction is modeled by

  • a via node
  • a from node
  • a to node
  • a bit indicating whether it's a forbidden turn or the only turn allowed

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.

@DennisOSRM
Copy link
Collaborator

Via ways for turn restrictions are unsupported.

@DennisOSRM
Copy link
Collaborator

Support may/will be added with some later version.

@woodbri
Copy link

woodbri commented Nov 28, 2013

DennisOSRM, This is the same issue I raised on osrm-talk a couple of weeks ago. maybe this ticket should be reopened as an enhancement request to is stays on the todo list. Update: this seems to be a duplicate of #483 and #602.

@DennisOSRM
Copy link
Collaborator

Leaving this closed in favor of #483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants