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

com.graphhopper.custom_models.racingbike.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 set the following option in the config.yml:
// graph.elevation.provider: srtm   # enables elevation
// profiles:
//    - name: racingbike
//      custom_model_files: [racingbike.json, bike_elevation.json]

{
"priority": [
{ "if": "true",  "multiply_by": "racingbike_priority" },
{ "if": "!racingbike_access && (!backward_racingbike_access || roundabout)",  "multiply_by": "0" },
{ "else_if": "!racingbike_access && backward_racingbike_access",  "multiply_by": "0.2" }
],
"speed": [
{ "if": "true", "limit_to": "racingbike_average_speed" },
{ "if": "!racingbike_access && backward_racingbike_access && !roundabout", "limit_to": "5" }
]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy