osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

`highway=road` should be excluded from all routing profiles

Open cmoffroad opened this issue 1 year ago • 6 comments

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

  1. Go to: OSM Directions.
  2. Switch between Bicycle (OSRM), Car (OSRM), and Foot (OSRM) profiles.
  3. Notice that the Bicycle and Foot profiles don't exclude the unknown road between the start and end points, whereas the Car profile does.

cmoffroad avatar Sep 27 '24 10:09 cmoffroad