All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.graphhopper.custom_models.truck.json Maven / Gradle / Ivy

Go to download

GraphHopper is a fast and memory efficient Java road routing engine working seamlessly with OpenStreetMap data.

There is a newer version: 10.0
Show newest version
// to use this custom model you need to set the following option in the config.yml
// profiles:
//    - name: truck
//      turn_costs:
//        vehicle_types: [hgv, motorcar, motor_vehicle]
//      custom_model_files: [truck.json]

{
  "distance_influence": 1,
  "priority": [
    { "if": "road_access == PRIVATE",  "multiply_by": "0" },
    { "if": "car_access == false || hgv == NO || max_width < 3 || max_height < 4", "multiply_by": "0" }
  ],
  "speed": [
    { "if": "true", "limit_to": "car_average_speed * 0.9" },
    { "if": "true", "limit_to": "95" }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy