osrm-backend
osrm-backend copied to clipboard
`highway=road` should be excluded from all routing profiles
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
- Go to: OSM Directions.
- Switch between Bicycle (OSRM), Car (OSRM), and Foot (OSRM) profiles.
- Notice that the Bicycle and Foot profiles don't exclude the unknown road between the start and end points, whereas the Car profile does.