|
|
{ "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": [ "(", "node[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];", "way[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];", "relation[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];", "node[tourism~\"^(artwork|gallery|museum|theme_park)$\"];", "way[tourism~\"^(artwork|gallery|museum|theme_park)$\"];", "relation[tourism~\"^(artwork|gallery|museum|theme_park)$\"];", ")" ] }, "feature": { "pre": [ "{% if tags.amenity in [ 'arts_centre', 'cinema', 'community_centre', 'fountain', 'studio', 'theatre' ] %}", "{% set key = 'amenity' %}", "{% set value = tags.amenity %}", "{% elseif tags.tourism %}", "{% set key = 'tourism' %}", "{% set value = tags.tourism %}", "{% 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>", "{% for value, sign in const %}", " <tr>", " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign }}</div></td>", " <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>", " </tr>", "{% endfor %}", "</table>" ] }
|