{ "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 value = tags.historic %}", "{% if tags.historic == 'memorial' and tags.memorial %}", " {% set value = tags.historic ~ ' memorial=' ~ tags.memorial %}", "{% elseif tags.historic == 'memorial' and attribute(tags, 'memorial:type') %}", " {% set value = tags.historic ~ ' memorial=' ~ attribute(tags, 'memorial:type') %}", "{% endif %}" ], "description": "{{ tagTransList('historic', value) }}", "body": [ "" ], "markerSign": "{{ const[value].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('historic', value) }}
{{ markerCircle({})|raw }}
{{ trans('other') }}
" ], "const": { "memorial": { "sign": "", "zoom": 14 }, "memorial memorial=plaque": { "sign": "", "zoom": 14 }, "monument": { "sign": "", "zoom": 11 } }, "filter": { "type": { "name": "{{ trans('filter:type') }}", "type": "select", "values": { "monument": { "name": "{{ tagTrans('historic', 'monument') }}", "query": "nwr[historic=monument]" }, "memorial": { "name": "{{ tagTrans('historic', 'memorial') }}", "query": "nwr[historic=memorial]" }, "stolperstein": { "name": "{{ tagTrans('historic', 'memorial memorial=stolperstein') }}", "query": "(nwr[memorial=stolperstein];nwr[\"memorial:type\"=stolperstein];)" } } }, "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) }}" } } }