You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
978 B
37 lines
978 B
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"de": "Wanderrouten",
|
|
"en": "Hiking routes",
|
|
"fr": "Itinéraires pédestres"
|
|
},
|
|
"query": {
|
|
"10": "relation[type=route][route=hiking][network~\"^(iwn)$\"]",
|
|
"11": "relation[type=route][route=hiking][network~\"^(iwn|nwn)$\"]",
|
|
"12": "relation[type=route][route=hiking][network~\"^(iwn|nwn|rwn)$\"]",
|
|
"14": "relation[type=route][route=hiking]"
|
|
},
|
|
"feature": {
|
|
"description": "{{ tagTrans('network', tags.network) }}",
|
|
"priority": [
|
|
"{% set network_data = const[tags.network] %}",
|
|
"{% if network_data %}",
|
|
"{{ network_data.priority }}",
|
|
"{% endif %}"
|
|
]
|
|
},
|
|
"const": {
|
|
"iwn": {
|
|
"priority": 1
|
|
},
|
|
"nwn": {
|
|
"priority": 2
|
|
},
|
|
"rwn": {
|
|
"priority": 3
|
|
},
|
|
"lwn": {
|
|
"priority": 4
|
|
}
|
|
}
|
|
}
|