com.graphhopper.custom_models.foot.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphhopper-core Show documentation
Show all versions of graphhopper-core Show documentation
GraphHopper is a fast and memory efficient Java road routing engine
working seamlessly with OpenStreetMap data.
// to use this custom model you need to set the following option in the config.yml
// graph.elevation.provider: srtm # enables elevation
// profiles:
// - name: foot
// custom_model_files: [foot.json, foot_elevation.json]
{
"priority": [
{ "if": "!foot_access || hike_rating >= 2", "multiply_by": "0" },
{ "else": "", "multiply_by": "foot_priority"}
],
"speed": [
{ "if": "true", "limit_to": "foot_average_speed" }
]
}