Created
February 6, 2025 17:52
-
-
Save mrlnc/961ca56a5b6da6e92e6e97806e3d8a4f to your computer and use it in GitHub Desktop.
Graphhopper: Stick to EuroVelo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"distance_influence": 15, | |
"priority": [ | |
{ | |
"if": "bike_network == INTERNATIONAL", | |
"multiply_by": "10" | |
}, | |
{ | |
"if": "bike_network == NATIONAL", | |
"multiply_by": "10" | |
}, | |
{ | |
"if": "bike_network == REGIONAL", | |
"multiply_by": "3" | |
}, | |
{ | |
"if": "bike_network == MISSING", | |
"multiply_by": "0.5" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Directly encoded in GraphHopper URL:
https://graphhopper.com/maps/?point=50.166718%2C7.242773&point=49.916009%2C7.065613&profile=bike&layer=OpenStreetMap&custom_model=%7B%22distance_influence%22%3A15%2C%22priority%22%3A%5B%7B%22if%22%3A%22bike_network%3D%3DINTERNATIONAL%22%2C%22multiply_by%22%3A%2211%22%7D%2C%7B%22if%22%3A%22bike_network%3D%3DNATIONAL%22%2C%22multiply_by%22%3A%2210%22%7D%2C%7B%22if%22%3A%22bike_network%3D%3DREGIONAL%22%2C%22multiply_by%22%3A%223%22%7D%2C%7B%22if%22%3A%22bike_network%3D%3DLOCAL%22%2C%22multiply_by%22%3A%221%22%7D%2C%7B%22if%22%3A%22bike_network%3D%3DMISSING%22%2C%22multiply_by%22%3A%220.2%22%7D%5D%2C%22speed%22%3A%5B%5D%2C%22areas%22%3A%7B%22type%22%3A%22FeatureCollection%22%2C%22features%22%3A%5B%5D%7D%7D