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
Refactor restriction parsing to consider all tags on a relation #2833
Comments
I think the issue actually goes deeper. We handle all tags prefixed with osrm-backend/src/extractor/restriction_parser.cpp Lines 66 to 67 in 6fac14d
This has to change completely based on the profile we're using if we want to support Quick fix is to change the Seems like there are not that many restrictions following this scheme anyway e.g. for the tag in question |
Takes a stricter aproach for whitelisting / blacklisting restrictions: - uses `restriction=` - uses more specific `restriction:<type>=` - uses `except=<type>` to invert Where `type` is the type of transportation to restrict, e.g. `motorcar`. #2833
Takes a stricter aproach for whitelisting / blacklisting restrictions: - uses `restriction=` - uses more specific `restriction:<type>=` - uses `except=<type>` to invert Where `type` is the type of transportation to restrict, e.g. `motorcar`. #2833
Takes a stricter aproach for whitelisting / blacklisting restrictions: - uses `restriction=` - uses more specific `restriction:<type>=` - uses `except=<type>` to invert Where `type` is the type of transportation to restrict, e.g. `motorcar`. #2833
Takes a stricter aproach for whitelisting / blacklisting restrictions: - uses `restriction=` - uses more specific `restriction:<type>=` - uses `except=<type>` to invert Where `type` is the type of transportation to restrict, e.g. `motorcar`. #2833
From #2802 (comment)
Turn restriction extraction currently has some "last processed restriction wins" logic. My understanding is that in a scenario where a relation is tagged with both a
restriction=no_turn
and arestriction:bicycle=only_right_turn
, if therestriction=no_turn
is looped over last, the relation will be understood as a restricted turn, even if it's actually a valid turn for bicycles.Solution would be to holistically consider tags on a relation to determine a restriction for the given profile.
The text was updated successfully, but these errors were encountered: