{ "type": "overpass", "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": [ "{{ tagTrans('historic', tags.historic) }}", "", "{% if memtype != 'yes' %}", " ({{ tagTrans('memorial', memtype) }})", "{% endif %}" ], "priority": [ "{% if tags.historic == 'monument' %}0[% else %}1{% endif %}" ], "body": [ "" ], "markerSign": "{{ const[memgroup].sign|raw }}" }, "info": [ "", "{% for value, data in const %}", "{% if data.zoom <= map.zoom %}", " ", " ", " ", " ", "{% endif %}", "{% endfor %}", "{% if 14 <= map.zoom %}", " ", " ", " ", " ", "{% endif %}", "
{{ markerCircle({})|raw }}
{{ data.sign|raw }}
{{ tagTrans('memorial', value) }}
{{ markerCircle({})|raw }}
{{ trans('other') }}
" ], "const": { "plaque": { "alias": [ "plate" ], "sign": "", "zoom": 14 }, "blue_plaque": { "sign": "", "zoom": 14 }, "statue": { "sign": "", "zoom": 14 }, "war_memorial": { "alias": [ "war_monument" ], "sign": "", "zoom": 14 }, "stolperstein": { "sign": "", "zoom": 14 }, "stone": { "sign": "", "zoom": 14 }, "bust": { "alias": [ "person", "public_person" ], "sign": "", "zoom": 14 }, "stele": { "sign": "", "zoom": 14 }, "obelisk": { "sign": "", "zoom": 14 }, "sculpture": { "sign": "", "zoom": 14 }, "ghost_bike": { "sign": "", "zoom": 14 }, "vehicle": { "alias": [ "tank" ], "sign": "", "zoom": 14 }, "cross": { "sign": "", "zoom": 14 } }, "filter": { "type": { "name": "{{ trans('filter:type') }}", "show_default": "true", "type": "select", "values": "{% for k, v in const %}{% endfor %}" }, "size": { "name": "{{ keyTrans('memorial') }} | {{ keyTrans('monument') }}", "type": "radio", "values": "\n\n", "default": "*" }, "conflict": { "key": "memorial:conflict", "op": "has", "name": "{{ keyTrans('memorial:conflict') }}", "type": "select", "values": [ "WW1", "WW2" ], "valueName": "{{ tagTrans('memorial:conflict', value) }}" }, "civilization": { "key": "historic:civilization", "op": "has", "name": "{{ keyTrans('historic:civilization') }}", "type": "select", "values": [ "ancient_egyptian", "ancient_greek", "ancient_roman", "byzantine", "celtic", "etruscan", "imperial_chinese", "korean", "medieval", "modern", "neolithic", "nuragic", "ottoman", "prehistoric", "roman", "western_roman" ], "valueName": "{{ tagTrans('historic:civilization', value) }}" } } }