Project-OSRM / osrm-backend

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

Foot and Bicycle profiles support for Country Access restrictions #7038

Open tombay opened 1 month ago

tombay commented 1 month ago

Feature

The openstreetmap wiki describes different access restrictions for some countries (See https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions) The profiles for foot and bicycle can provide incorrect routes due to this. The profiles should be changed to support per country "highway access" tables. this can be addressed via the use of the osrm-extract location-dependent-data option. PR #7022 provides a solution.