forked from plepe/openstreetbrowser-categories-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tourism_services.json
98 lines (98 loc) · 2.85 KB
/
tourism_services.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"type": "overpass",
"name": {
"ast": "Turismu",
"cs": "Turistika",
"de": "Tourismus",
"el": "Τουρισμός",
"en": "Tourism",
"et": "Turism",
"fr": "Tourisme",
"hu": "Túrizmus",
"it": "Turismo",
"ja": "観光",
"nl": "Toerisme",
"pl": "Turystyka",
"ro": "Turism",
"ru": "Туризм",
"uk": "Туризм"
},
"query": {
"13": [
"(",
"node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
"way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
"relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"]",
")"
],
"16": [
"(",
"node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"]",
")"
]
},
"feature": {
"description": "{{ tagTrans('tourism', tags.tourism) }}",
"markerSign": "{{ const[tags.tourism].sign|raw }}"
},
"info": [
"<table>",
"{% for value, data in const %}",
"{% if data.zoom <= map.zoom %}",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>",
" <td>{{ tagTrans('tourism', value) }}</td>",
" </tr>",
"{% endif %}",
"{% endfor %}",
"</table>"
],
"const": {
"alpine_hut": {
"sign": "🛌",
"zoom": 13
},
"apartment": {
"sign": "🛌",
"zoom": 13
},
"camp_site": {
"sign": "⛺",
"zoom": 13
},
"caravan_site": {
"sign": "⛺",
"zoom": 13
},
"chalet": {
"sign": "🛌",
"zoom": 13
},
"guest_house": {
"sign": "🛌",
"zoom": 13
},
"hostel": {
"sign": "🛌",
"zoom": 13
},
"hotel": {
"sign": "🛌",
"zoom": 13
},
"motel": {
"sign": "🛌",
"zoom": 13
},
"wilderness_hut": {
"sign": "",
"zoom": 13
},
"information": {
"sign": "ℹ️",
"zoom": 16
}
}
}