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.

43 lines
2.0 KiB

{
"type": "overpass",
"name": {
"ast": "Cultura",
"ca": "Cultura",
"cs": "Kultura",
"de": "Kultur",
"el": "Πολιτισμός",
"en": "Culture",
"es": "Cultura",
"et": "Kultuur",
"fr": "Culture",
"hu": "Kultúra",
"it": "Cultura",
"ja": "文化",
"nl": "Cultuur",
"pl": "Kultura",
"ro": "Cultura",
"ru": "Культура",
"uk": "Культура "
},
"query": {
"13": "(\nnode[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];\nway[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];\nrelation[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];\nnode[tourism~\"^(artwork|gallery|museum|theme_park)$\"];\nway[tourism~\"^(artwork|gallery|museum|theme_park)$\"];\nrelation[tourism~\"^(artwork|gallery|museum|theme_park)$\"];\n)"
},
"feature": {
"pre": "{% if tags.amenity in [ 'arts_centre', 'cinema', 'community_centre', 'fountain', 'studio', 'theatre' ] %}\n{% set key = 'amenity' %}\n{% set value = tags.amenity %}\n{% elseif tags.tourism %}\n{% set key = 'tourism' %}\n{% set value = tags.tourism %}\n{% endif %}",
"description": "{{ tagTrans(key, value) }}",
"markerSign": "{{ attribute(const, key ~ '=' ~ value) }}"
},
"const": {
"amenity=arts_centre": "🎨",
"amenity=cinema": "🎦",
"amenity=community_centre": "",
"amenity=fountain": "⛲",
"amenity=studio": "",
"amenity=theatre": "🎭",
"tourism=artwork": "🎨 ",
"tourism=gallery": "🖼",
"tourism=museum": "🏛 ",
"tourism=theme_park": ""
},
"info": "<table>\n{% for value, sign in const %}\n <tr>\n <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign }}</div></td>\n <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>\n </tr>\n{% endfor %}\n</table>"
}