-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Car profile should discard construction highways #4230
Comments
@daniel-j-h under-construction highways are tagged as A quick test with
It looks like the Here, I've removed
So the logic is a bit different in each profile. That's probably not ideal, but the good news is that we're not routing cars over |
There’s also an older way to tag roads under construction (example):
or even in the planning stages:
Like most renderers and routers these days, OSRM ignores the Many of these tags were added several years ago, so it’s entirely possible that OSRM gets lucky and the |
just to clarify, the bike profile does not route on way with unknown highway tag values, unless access tags are set. the output above shows the mode is set to 0, which makes it unroutable. we should add 'construction' in the list of things to avoid for cars. and why not improve update the handler to avoid ways tagged the old scheme construction=yes or proposed=yes |
That’s reasonable. At the same time, any occurrence of the old tagging scheme is likely to be outdated and should be double-checked for accuracy. |
right. it's possible it's better to just ignore the old tags |
We check for
avoid.construction
herehttps://github.com/Project-OSRM/osrm-backend/blob/master/profiles/lib/handlers.lua#L475
but do not have it in the car profile's avoid sequence here
https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L107-L114
we have it in the bike profile, though.
The text was updated successfully, but these errors were encountered: