name: ca: Riscos de Rem en: Paddling Hazards fr: Risques en pagayage it: Pericoli per la navigazione a remo pl: Zagrożenia związane z wiosłowaniem pt-br: Riscos tr: Kürek Tehlikeleri type: overpass query: '12': |- ( nwr[waterway~"^(dam|weir|waterfall|rapids|lock|lock_gate|sluice_gate)$"]; nwr["seamark:restricted_area:restriction"~"no_entry|restricted_entry"]; node["seamark:bridge:clearance_height"]; ) feature: pre: |- {% if tags.waterway %} {% set key = 'waterway' %} {% set value = tags.waterway %} {% elseif attribute(tags, 'seamark:restricted_area:restriction') %} {% set key = 'seamark:restricted_area:restriction' %} {% set value = '' %} {% elseif attribute(tags, 'seamark:bridge:clearance_height') %} {% set key = 'seamark:bridge:clearance_height' %} {% set value = attribute(tags, 'seamark:bridge:clearance_height') | round %} {% if value > 4 %} {% set value = 4 %} {% endif %} {% endif %} {% set constIndex = (key ~ "=" ~ value) %} {% set item = const[constIndex] %} title: | {{ item['sign'] | raw }} {{ localizedTag(tags, 'name') | default(localizedTag(tags, 'key')) | default(localizedTag(tags, 'ref')) }} description: | {% if key == 'seamark:restricted_area:restriction' %} {{ attribute(tags, 'seamark:restricted_area:restriction') }} {% elseif key == 'seamark:bridge:clearance_height' %} {{ attribute(tags, 'seamark:bridge:clearance_height') }} Meters {% else %} {{ tagTrans(key, value) }} {% endif %} body: |-