com.graphhopper.custom_models.car.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: car
// turn_costs:
// vehicle_types: [motorcar, motor_vehicle]
// custom_model_files: [car.json]
{
"distance_influence": 90,
"priority": [
{ "if": "!car_access", "multiply_by": "0" }
],
"speed": [
{ "if": "true", "limit_to": "car_average_speed" }
]
}