-
Notifications
You must be signed in to change notification settings - Fork 11
/
tourism_attractions.json
77 lines (77 loc) · 2.7 KB
/
tourism_attractions.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
{
"type": "overpass",
"name": {
"ast": "Turismu",
"ca": "Turisme",
"cs": "Turistika",
"de": "Tourismus",
"el": "Τουρισμός",
"en": "Tourism",
"es": "Turismo",
"et": "Turism",
"fr": "Tourisme",
"gl": "Turismo",
"hu": "Látnivalók",
"it": "Turismo",
"ja": "観光",
"nb": "Turisme",
"nl": "Toerisme",
"oc": "Torisme",
"pl": "Turystyka",
"pt": "Turismo",
"pt-br": "Turismo",
"ro": "Turism",
"ru": "Туризм",
"sr": "Туризам",
"tr": "Turizm",
"uk": "Туризм"
},
"query": {
"13": [
"(",
"node[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut|trail_riding_station)$\"];",
"way[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut|trail_riding_station)$\"];",
"relation[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut|trail_riding_station)$\"];",
")"
]
},
"feature": {
"description": "{{ tagTrans('tourism', tags.tourism) }}",
"markerSign": "{{ const[tags.tourism]|raw }}"
},
"info": [
"<table>",
"{% for value, sign in const %}",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
" <td>{{ tagTrans('tourism', value) }}</td>",
" </tr>",
"{% endfor %}",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'></div></td>",
" <td>{{ trans('other') }}</td>",
" </tr>",
"</table>"
],
"const": {
"aquarium": "🐟",
"artwork": "🎨 ",
"attraction": "<img data-src='maki:attraction'>",
"gallery": "🖼",
"museum": "<img data-src='maki:museum'>",
"picnic_site": "<img data-src='maki:picnic-site'>",
"theme_park": "<img data-src='maki:amusement-park'>",
"viewpoint": "<i class='fas fa-eye' aria-hidden='true'></i>",
"zoo": "🦁"
},
"filter": {
"type": {
"name": "{{ trans('filter:type') }}",
"show_default": "true",
"query": "nwr[tourism^{{ value }}]",
"type": "select",
"key": "tourism",
"values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('tourism', t) }}</option>{% endfor %}"
}
}
}