com.graphhopper.custom_models.car4wd.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
// profiles:
// - name: car4wd
// custom_model_files: [car4wd.json]
{
"distance_influence": 1,
"priority": [
{ "if": "track_type != GRADE4 && track_type != GRADE5 && car_access == false", "multiply_by": "0" }
],
"speed": [
{
"if": "track_type == GRADE4 || track_type == GRADE5",
"limit_to": 5
},
{
"else": "",
"limit_to": "car_average_speed"
}
]
}