58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"name": "bicycle",
|
|
"description": "Profile for a normal bicycle",
|
|
|
|
"vehicletypes":["vehicle","bicycle"],
|
|
"metadata":["name",
|
|
"bridge",
|
|
"tunnel",
|
|
"colour",
|
|
"cycle_network_colour",
|
|
"cycle_network_ref",
|
|
"ref",
|
|
"status",
|
|
"network" ],
|
|
|
|
"defaults": {
|
|
"#defaultSpeed": 15,
|
|
"#timeNeeded": 0,
|
|
"#distance": 0,
|
|
"#comfort": 0
|
|
},
|
|
|
|
"access": "$bicycle.legal_access",
|
|
"oneway": "$bicycle.oneway",
|
|
"speed": {
|
|
"$min": [
|
|
"$legal_maxspeed_be",
|
|
"#defaultSpeed"
|
|
]
|
|
},
|
|
|
|
"behaviours": {
|
|
"fastest": {
|
|
"description": "The fastest route to your destination",
|
|
"#timeNeeded": 1
|
|
},
|
|
"shortest": {
|
|
"description": "The shortest route, independent of of speed",
|
|
"#distance": 1
|
|
},
|
|
"comfort": {
|
|
"description": "A comfortable route preferring well-paved roads, smaller roads and a bit of scenery at the cost of speed",
|
|
"#comfort": 1
|
|
},
|
|
"electric":{
|
|
"description": "An electrical bicycle",
|
|
"#defaultSpeed": 25,
|
|
"#comfort":1,
|
|
"#timeNeeded": 5
|
|
}
|
|
},
|
|
|
|
"priority": {
|
|
"#comfort": "$bicycle.comfort",
|
|
"#timeNeeded": "$speed",
|
|
"#distance": "$distance"
|
|
}
|
|
}
|