forked from plepe/openstreetbrowser-categories-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhiking_routes.json
36 lines (36 loc) · 937 Bytes
/
hiking_routes.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"type": "overpass",
"name": {
"de": "Wanderrouten",
"en": "Hiking routes"
},
"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
}
}
}