Open Dimitar5555 opened 2 years ago
Normally, if you want foot to force route on the sidewalk, you need to use foot=use_sidepath on the road segment but osrm does not support this tag yet. You need to add it to the foot profile blacklist for this to work:
access_tag_blacklist = Set { 'no', 'agricultural', 'forestry', 'customers', 'private', 'delivery', 'use_sidepath' }
However, make sure that all your sidewalks are correclty connected to each other and to other footpaths, otherwise you will get incorrect results.
This issue seems to be stale. It will be closed in 30 days if no further activity occurs.
Should the main foot profile blacklist use_sidepath and add it as a destination (restricted) access only?
That's an interesting idea. I wonder if there are cases where this could be perceived as obviously wrong.
That is what I am doing in my custom profiles and it works well. It allows access to a house or POI even if there is a missing connection between the POI/house and the sidewalk.
Ok, on the list of things to look at to get a better feel for. 😉
Example route: https://www.openstreetmap.org/directions?engine=fossgis_osrm_foot&route=42.70713%2C23.29988%3B42.70772%2C23.29813#map=19/42.70743/23.29901
The road on the west has
sidewalk:left=no
andsidewalk:right=separate
but OSRM seems to ignore them and routes pedestrians on the road itself.