type: overpass name: ast: Cultura ca: Cultura cs: Kultura de: Kultur el: Πολιτισμός en: Culture es: Cultura et: Kultuur fr: Culture gl: Cultura hu: Kultúra it: Cultura ja: 文化 nb: Kultur nl: Cultuur oc: Cultura pl: Kultura pt: Cultura pt-br: Cultura ro: Cultura ru: Культура sr: Култура tr: Kültür uk: 'Культура ' query: 13: |- ( nwr[amenity~"^(.*;|)(arts_centre|cinema|community_centre|fountain|studio|theatre)(;.*|)$"]; nwr[tourism~"^(.*;|)(artwork|gallery|museum|theme_park)(;.*|)$"]; nwr[amenity~"^(.*;|)clock(;.*|)$"][display~"^(sundial|unorthodox)$"]; nwr[amenity~"^(.*;|)clock(;.*|)$"]["display:sundial"]; nwr[amenity~"^(.*;|)clock(;.*|)$"]["display:unorthodox"]; nwr[shop~"^(.*;|)(art)$"]; ) feature: pre: |- {% if tags.amenity in [ 'arts_centre', 'cinema', 'community_centre', 'fountain', 'studio', 'theatre', 'clock' ] %} {% set key = 'amenity' %} {% set value = tags.amenity %} {% elseif tags.tourism %} {% set key = 'tourism' %} {% set value = tags.tourism %} {% elseif tags.shop %} {% set key = 'shop' %} {% set value = tags.shop %} {% endif %} description: |- {% if key == 'shop' %} {{ keyTrans(key) }} ({{ tagTrans(key, value) }}) {% elseif tags.amenity matches "/^(.*;|)clock(;.*|)$/" %} {% if tags.display == 'sundial' or attribute(tags, 'display:sundial') %}{{ tagTrans('amenity', 'clock display=sundial') }}{% endif %} {% if tags.display == 'unorthodox' or attribute(tags, 'display:unorthodox') %}{{ tagTrans('amenity', 'clock display=unorthodox') }}{% endif %} {% else %} {{ tagTransList(key, value) }} {% endif %} {% if tags.tourism matches "/^(.*;|)museum(;.*|)$/" and tags.museum %} ({{ tagTransList('museum', tags.museum) }}) {% endif %} {% if tags.amenity matches "/^(.*;|)theatre(;.*|)$/" and attribute(tags, 'theatre:genre') %} ({{ tagTransList('theatre:genre', attribute(tags, 'theatre:genre')) }}) {% endif %} {% if tags.amenity matches "/^(.*;|)community_centre(;.*|)$/" and tags.community_centre %} ({{ tagTransList('community_centre', tags.community_centre) }}) {% endif %} body: |- markerSign: '{{ attribute(const, key ~ "=" ~ value)|raw }}' const: amenity=arts_centre: 🎨 amenity=cinema: 🎦 amenity=clock: amenity=community_centre: amenity=fountain: ⛲ amenity=studio: amenity=theatre: 🎭 tourism=artwork: '🎨 ' tourism=gallery: 🖼 tourism=museum: '🏛 ' tourism=theme_park: shop=art: info: |- {% for value, sign in const %} {% endfor %}
{{ markerCircle({})|raw }}
{{ sign|raw }}
{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}
filter: type: name: '{{ trans("filter:type") }}' show_default: 'true' query: |- nwr[{{ value|replace({ '=': '^' }) }}] type: select values: '{% for k, v in const %}{% endfor %}' valueName: '{{ trans("tag:" ~ value) }}'