type: overpass name: en: Paddling Amenities query: '12': |- ( node["canoe"="put_in"]; node["leisure"="slipway"]; way["canoe"="portage"]; nwr[shop~"^(boat)$"]["boat:type"~"^(.*;|)canoe|kayak|sup(|;.*)$"]; ) feature: pre: |- {% if tags.canoe %} {% set key = 'canoe' %} {% set value = tags.canoe %} {% elseif tags.leisure %} {% set key = 'leisure' %} {% set value = tags.leisure %} {% elseif tags.shop %} {% set key = 'shop' %} {% set value = tags.shop %} {% endif %} {% set constIndex = (key ~ "=" ~ value) %} {% set amenity = const[constIndex] %} title: | {{ localizedTag(tags, 'name') | default(localizedTag(tags, 'operator')) | default(localizedTag(tags, 'ref')) }} description: | {{ tagTrans(key, value) }} body: |- {% if constIndex in ['canoe=put_in', 'leisure=slipway','canoe=portage'] %}
Surface
{% if attribute(tags, 'surface') %}{{ tagTrans('surface', tags.surface) }}{% endif %}
{{ keyTrans('description') }}
{{ localizedTag(tags, 'description') }}
{{ keyKey('access') }}
{{ tagTrans('access', tags.access) }}
{{ keyTrans('fee') }}
{{ tagTrans('fee', tags.fee) }}
{% if attribute(tags, 'mapillary') %}
Mapillary Photo
{% endif %} {% endif %} markerSign: '{{ const[constIndex][''sign''] }}' priority: |- {% if const[constIndex] is defined %} {{ const[constIndex]['priority'] }} {% else %} 10 {% endif %} const: canoe=put_in: sign: πŸ›Ά priority: 0 leisure=slipway: sign: 🚣🏻 priority: 1 canoe=portage: sign: 🚢🏻 priority: 2 shop=boat: sign: πŸ›’ priority: 3