Main categories of OpenStreetBrowser with public transport zoom level
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.
 
 

39 lines
1.0 KiB

{
"type": "overpass",
"name": {
"de": "Wanderrouten",
"en": "Hiking routes",
"fr": "Itinéraires pédestres",
"pt": "Rotas de caminhada",
"pt-br": "Rotas de Caminhada"
},
"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
}
}
}