diff --git a/docs/profiles.md b/docs/profiles.md index c66eb81c2..bcd0136f7 100644 --- a/docs/profiles.md +++ b/docs/profiles.md @@ -12,6 +12,12 @@ When running OSRM preprocessing commands you specify the profile with the --prof `osrm-extract --profile ../profiles/car.lua planet-latest.osm.pbf` +### Profiles for Country differences +Some countries have differing access rules for different transport types. (https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access_restrictions). Profiles countrycar, countrybicycle and countryfoot may be used as starting points for country support. Country Specific location data (geojson geometry) should be provided to the osrm-extract for example: + +osrm-extract --profile ../profiles/countryfoot.lua --location-dependent-data ../data/osmb.geojson +osrm-extract --profile ../profiles/countrybicycle.lua --location-dependent-data ../mygeojson/Netherlands.geojson + ## Processing flow It's important to understand that profiles are used when preprocessing the OSM data, NOT at query time when routes are computed.