Project-OSRM / osrm-backend

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

Foot and Bicycle profiles support for Country Access restrictions #7038

Open tombay opened 3 days ago

tombay commented 3 days 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.