{ "type": "overpass", "name": { "de": "Denkmäler", "en": "Memorials", "fr": "Mémoriaux", "hu": "Emlékművek", "pt-br": "Memoriais" }, "query": { "11": [ "(", "node[historic~\"^(monument)$\"];", "way[historic~\"^(monument)$\"];", "relation[historic~\"^(monument)$\"];", ")" ], "14": [ "(", "node[historic~\"^(memorial|monument)$\"];", "way[historic~\"^(memorial|monument)$\"];", "relation[historic~\"^(memorial|monument)$\"];", ")" ] }, "feature": { "pre": [ "{% set memtype = 'yes' %}", "{% if tags.memorial %}", " {% set memtype = tags.memorial %}", "{% elseif attribute(tags, 'memorial:type') %}", " {% set memtype = attribute(tags, 'memorial:type') %}", "{% elseif attribute(tags, 'monument') %}", " {% set memtype = attribute(tags, 'monument') %}", "{% elseif attribute(tags, 'memorial_type') %}", " {% set memtype = attribute(tags, 'memorial_type') %}", "{% endif %}", "", "{% set memgroup = memtype %}", "{% for value, data in const %}", "{% if memtype in data.alias %}", "{% set memgroup = value %}", "{% endif %}", "{% endfor %}" ], "description": [ "{% if memtype != 'yes' and tags.historic == 'monument' %}", " {{ tagTrans('historic', 'monument') }}", "{% endif %}", "", "{% if memtype == 'yes' %}", " {{ tagTrans('historic', tags.historic) }}", "{% else %}", " {{ tagTrans('memorial', memtype) }}", "{% endif %}" ], "priority": [ "{% if tags.historic == 'monument' %}0[% else %}1{% endif %}" ], "body": [ "
{{ markerCircle({})|raw }} {{ data.sign|raw }} | ",
" {{ tagTrans('memorial', value) }}{% for alias in data.alias %}, {{ tagTrans('memorial', alias) }}{% endfor %} | ", "
{{ markerCircle({})|raw }} | ", "{{ trans('other') }} | ", "