Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.37k stars 3.37k forks source link

Key conveying= is ignored by the foot router #6621

Open bfontaine opened 1 year ago

bfontaine commented 1 year ago

Issue

The key conveying appears to be ignored by the foot router, which advices to take an escalator in the wrong direction because it thinks those are simple two-ways stairs.

Steps to reproduce

Use the Router "OSRM" on the OSM website and ask for an itinerary by foot between somewhere near the top of an escalator that only goes up (highway=steps + incline=up + conveying=forward/backward depending on the direction of the way) and its bottom.

For example: https://www.openstreetmap.org/directions?engine=fossgis_osrm_foot&route=40.84955%2C14.23664%3B40.84989%2C14.24153 This way is an escalator that goes in the opposite way.

Neither Valhalla, nor Graphhopper have this issue.

Specifications

Browser: Google Chrome.

nilsnolde commented 1 year ago

Shouldn't be very hard to add it to the lua.

FWIW, Graphhopper has the same problem. Valhalla doesn't bcs someone (IIRC it was Facebook) implemented indoor routing, incl escalators, elevators etc. (still missing multi-level routing though)