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

Routing: support no_entry restriction with multiple from way members and no_exit restriction with multiple to way members #21855

Open
scaidermern opened this issue Feb 5, 2025 · 0 comments

Comments

@scaidermern
Copy link
Contributor

scaidermern commented Feb 5, 2025

Follow-up from #13049. Routing restrictions no_entry and no_exit have been added but with a limitation:

Multiple froms are not supported for restriction, only first from is supported.

It would be nice if this limitation could be removed. According to the OSM wiki:

  • A no_entry restrictions can have can have one or more from way member(s).
  • A no_exit restriction can have one or more to way members.

One possible way to implement this is to simply duplicate each restriction for each from/to member during map generation.

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

1 participant