-
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
highway=road
should be excluded from all routing profiles
#7039
Comments
#1980 discusses the justification for omitting osrm-backend/features/foot/way.feature Line 24 in 4f1c62a
osrm-backend/features/bicycle/way.feature Line 28 in 4f1c62a
If I had to guess, the assumption might be the same as for any other roadway without an explicit
In other words, while the wiki says you shouldn’t expect a router to tell someone to walk on this road, it doesn’t say the router shouldn’t tell them to walk beside the road. This isn’t a very good assumption for |
I see that https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions |
It should probably not be there. Multiple countries have already explained that: "Common rule about routing along highway=road can not be determined, because highway=road is a line which can be a road or not, and if it is a road, it is a road with unknown status. The recommendation is to exclude highway=road from routing or to give such lines the lower status in roads' graph." |
You’re assuming that |
In any event, the reason I disagree with the profile’s assumption is not that the road itself might be inaccessible. Rather, the router shouldn’t assume that an inaccessible road has an accessible sidewalk or verge, even without any tag saying so. That would be especially nonsensical for something as ambiguous as |
However, |
Issue
According to the OpenStreetMap
highway=road
wiki, roads with an unknown classification should be considered errors and shouldn't be routable.Currently, on the OSM site, the OSRM demo shows that while the car profile correctly excludes such roads, the foot and bicycle profiles still include them.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: