You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
{
|
|
"type": "overpass",
|
|
"query": {
|
|
"8": "nwr[heritage~\"^(|.*;)1(|;.*)$\"];",
|
|
"11": "nwr[heritage~\"^(|.*;)(1|2)(|;.*)$\"];",
|
|
"13": "nwr[heritage];"
|
|
},
|
|
"feature": {
|
|
"description": [
|
|
"{% for op in attribute(tags, 'heritage:operator')|split(';') %}",
|
|
"{% if const[op].url and attribute(tags, const[op].key) %}<a target=\"_blank\" href=\"{{ const[op].url|replace({\"$1\": attribute(tags, const[op].key)}) }}\">{% endif -%}",
|
|
"{{- tagTrans('heritage:operator', op) -}}",
|
|
"{%- if attribute(tags, const[op].key) %}: {{ attribute(tags, const[op].key) }}{% endif %}",
|
|
"{% if const[op].url and attribute(tags, const[op].key) %}</a>{% endif -%}",
|
|
"<br/>",
|
|
"{% endfor %}"
|
|
],
|
|
"priority": "{{ min(tags.heritage|split(\";\")) }}"
|
|
},
|
|
"const": {
|
|
"whc": {
|
|
"key": "ref:whc"
|
|
},
|
|
"bda": {
|
|
"key": "ref:at:bda",
|
|
"url": "https://tools.wmflabs.org/denkmalliste/index.php?action=EinzelID&ID=$1"
|
|
}
|
|
}
|
|
}
|