type: overpass name: en: Paddling Hazards query: '12': |- ( nwr[waterway~"^(dam|weir)$"]; ) feature: pre: |- {% if tags.waterway %} {% set key = 'waterway' %} {% set value = tags.waterway %} {% endif %} {% set constIndex = (key ~ "=" ~ value) %} {% set item = const[constIndex] %} title: | {{ item['sign'] }} {{ localizedTag(tags, 'name') | default(localizedTag(tags, 'key')) | default(localizedTag(tags, 'ref')) }} description: | {{ tagTrans(key, value) }} body: |-
{{ keyTrans('Description') }}
{{ localizedTag(tags, 'description') }}
{% if attribute(tags, 'mapillary') %}
Mapillary Photo
{% endif %} markerSign: '⚠️' priority: |- {% if const[constIndex] is defined %} {{ const[constIndex]['priority'] }} {% else %} 10 {% endif %} const: waterway=dam: sign: '🦫' priority: 0 waterway=weir: sign: '🦫' priority: 0