Update profiles.md
This commit is contained in:
parent
5de04792e6
commit
b969f13e14
@ -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`
|
`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
|
## Processing flow
|
||||||
It's important to understand that profiles are used when preprocessing the OSM data, NOT at query time when routes are computed.
|
It's important to understand that profiles are used when preprocessing the OSM data, NOT at query time when routes are computed.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user