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

com.graphhopper.custom_models.car4wd.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: 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"
    }
  ]

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy