Main categories of OpenStreetBrowser
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.
 
 

71 lines
2.5 KiB

{
"type": "overpass",
"name": {
"ast": "Turismu",
"cs": "Turistika",
"de": "Tourismus",
"el": "Τουρισμός",
"en": "Tourism",
"et": "Turism",
"fr": "Tourisme",
"hu": "Látnivalók",
"it": "Turismo",
"ja": "観光",
"nl": "Toerisme",
"pl": "Turystyka",
"pt": "Turismo",
"pt-br": "Turismo",
"ro": "Turism",
"ru": "Туризм",
"uk": "Туризм"
},
"query": {
"13": [
"(",
"node[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"way[tourism][tourism!~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"relation[tourism][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]|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[{{ 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 %}",
"op": "has"
}
}
}