name:
ca: Instal·lacions de Rem
en: Paddling Amenities
fr: Équipements de pagayage
it: Equipaggiamento per la navigazione a remo
pl: Udogodnienia związane z wiosłowaniem
pt-br: Equipamentos
tr: Kürek Tesisleri
type: overpass
query:
'12': |-
(
node["canoe"~"^(put_in|egress|put_in;egress)$"];
node["waterway"="access_point"];
node["leisure"="slipway"];
way["canoe"="portage"];
way[highway][portage];
nwr[shop~"^(boat)$"]["boat:type"~"^(.*;|)canoe|kayak|standup_paddleboard|dinghy|pedalboat(|;.*)$"];
nwr[rental~"^(boat)$"]["boat:type"~"^(.*;|)canoe|kayak|standup_paddleboard|dinghy|pedalboat(|;.*)$"];
nwr["canoe_rental"="yes"];
nwr["kayak_rental"="yes"];
nwr["standup_paddleboard_rental"="yes"];
nwr["dinghy_rental"="yes"];
nwr["pedalboat_rental"="yes"];
)
feature:
pre: |-
{% if type == 'way' and (tags.canoe == 'portage' or attribute(tags, 'portage')) %}
{% set key = 'portage' %}
{% set value = 'portage' %}
{% elseif type == 'node' and tags.waterway and tags.waterway == 'access_point' %}
{% set key = 'waterway' %}
{% set value = tags.waterway %}
{% elseif tags.leisure %}
{% set key = 'leisure' %}
{% set value = tags.leisure %}
{% elseif tags.shop %}
{% set key = 'shop' %}
{% set value = 'shop' %}
{% elseif tags.rental or tags.canoe_rental or tags.kayak_rental or tags.standup_paddleboard_rental or tags.dingy_rental or tags.pedalboat_rental %}
{% set key = 'shop' %}
{% set value = 'rental' %}
{% elseif type == 'node' and tags.canoe and tags.canoe in ['put_in','egress','put_in;egress'] %}
{% set key = 'canoe' %}
{% set value = tags.canoe %}
{% endif %}
{% set constIndex = (key ~ "=" ~ value) %}
{% set item = const[constIndex] %}
{% if tags.informal and tags.informal in ['yes','unknown'] %}
{% set informal_value = tags.informal %}
{% endif %}
{% if tags.canoe and tags.canoe in ['no','private','discouraged','unknown'] %}
{% set restricted_access_value = tags.canoe %}
{% set restricted_canoe_value = tags.canoe %}
{% elseif tags.portage and tags.portage in ['no','private','discouraged','unknown'] %}
{% set restricted_access_value = tags.portage %}
{% set restricted_portage_value = tags.canoe %}
{% elseif tags.access and tags.access in ['no','private','discouraged','unknown'] %}
{% set restricted_access_value = tags.access %}
{% endif %}
title: |-
{{ localizedTag(tags, 'name') }}
{% if attribute(tags, 'ref') %}
( {{ localizedTag(tags, 'ref') }} )
{% endif %}
listDetails: |-
{%if attribute(tags, 'waterbody:name')%}
{{ localizedTag(tags, 'waterbody:name') }}
{% endif %}
description: |-
{% if item.detailSign %}
{{ item.detailSign | raw }}
{% endif %}
{{ tagTrans(key, value) }}
body: |-
{% if attribute(tags, 'waterbody:name') %}
-
{{ tagTrans('natural', 'water') }}:
{{ localizedTag(tags, 'waterbody:name') }}
{% endif %}
{% if attribute(tags, 'surface') %}
-
{{ keyTrans('surface') }}:
{{ attribute(tags, 'surface') ? tagTrans('surface', attribute(tags, 'surface')) : '' }}
{% endif %}
{% if attribute(tags, 'operator') %}
-
{{ keyTrans('operator') }}:
{{ tagTrans('operator', attribute(tags, 'operator')) }}
{% endif %}
{% if attribute(tags, 'informal') %}
-
{{ keyTrans('informal') }}:
{{ tagTrans('informal', attribute(tags, 'informal'))}}
{% endif %}
{% if attribute(tags, 'canoe') %}
{% if tags.canoe != 'portage' %}
-
{{ keyTrans('canoe') }}:
{{ tagTrans('access', attribute(tags, 'canoe')) }}
{% elseif type == 'way' and attribute(tags, 'highway') and tags.canoe == 'portage' %}
-
{{ keyTrans('portage') }}:
{{ tagTrans('access', 'yes') }}
{% endif %}
{% endif %}
{% if attribute(tags, 'portage') %}
-
{{ keyTrans('portage') }}:
{{ tagTrans('access', attribute(tags, 'portage')) }}
{% endif %}
{% if attribute(tags, 'access') %}
-
{{ keyTrans('access') }}:
{{ tagTrans('access', attribute(tags, 'access'))}}
{% endif %}
{% if attribute(tags, 'fee') %}
-
{{ keyTrans('fee') }}:
{{ tagTrans('fee', attribute(tags, 'fee')) }}
{% endif %}
{% if attribute(tags, 'tidal') %}
-
{{ keyTrans('tidal') }}:
{{ tagTrans('tidal', attribute(tags, 'tidal')) }}
{% endif %}
{% if attribute(tags, 'intermittent') %}
-
{{ keyTrans('intermittent') }}:
{{ tagTrans('intermittent', attribute(tags, 'intermittent')) }}
{% endif %}
{% if attribute(tags, 'seasonal') %}
-
{{ keyTrans('seasonal') }}:
{{ tagTrans('seasonal', attribute(tags, 'seasonal')) }}
{% endif %}
{% if attribute(tags, 'mapillary') %}
-
{{ trans('Photos') }}:
Mapillary
{% endif %}
{% if attribute(tags,'canoe:description') %}
-
{{ localizedTag(tags, 'canoe:description') }}
{% endif %}
{% if attribute(tags,'wheelchair:description') %}
-
{{ localizedTag(tags, 'wheelchair:description') }}
{% endif %}
markerSign: '{{ item[''sign''] | raw }}'
markerSymbol: |-
{% if item.symbol=='pointer' %}
{% if restricted_access_value %}
{{ markerPointer({ fillColor: const.marker.style.color_restricted }) }}
{% else %}
{{ markerPointer({ fillColor: const.marker.style.color }) }}
{% endif %}
{% endif %}
listMarkerSymbol: |-
{% if item.symbol=='pointer' %}
{% if restricted_access_value %}
{{ markerCircle({ fillColor: const.marker.style.color_restricted }) }}
{% else %}
{{ markerCircle({ fillColor: const.marker.style.color }) }}
{% endif %}
{% elseif item.symbol == 'polygon' %}
polygon
{% elseif item.symbol == 'line' %}
line
{% endif %}
styles : |
default{% if item.symbol == 'line' %},casing{% endif %}
style:
width: '{{ item.style.width }}'
color: |-
{% if restricted_access_value %}
{{ item.style.color_restricted }}
{% elseif informal_value %}
{{ item.style.color_informal }}
{% else %}
{{ item.style.color }}
{% endif %}
text: |-
{% if item.text %}
{% if attribute(tags, "piste:name") %}
{{ localizedTag(tags, 'piste:name') }}
{% elseif attribute(tags, "name") %}
{{ localizedTag(tags, 'name') }}
{% endif %}
{% endif %}
textRepeat: '1'
textOffset: -8
lineCap: round
dashArray: |-
{% if restricted_access_value %}5,5{% endif %}
style:casing:
width: '{{item.style.casing.width}}'
pane: casing
priority: |-
{% if item is defined %}
{{ item['priority'] }}
{% else %}
10
{% endif %}
const:
marker:
style:
color: '#B3D2FF'
color_restricted: '#7F7F7F'
portage=portage:
symbol: line
priority: 4
text: true
style:
width: 4
color: '#B3D2FF'
color_informal: '#99A9BF'
color_restricted: '#7F7F7F'
casing:
width: 10
waterway=access_point:
symbol: pointer
sign:
detailSign:
priority: 0
canoe=put_in:
symbol: pointer
sign:
detailSign:
priority: 0
canoe=egress:
symbol: pointer
sign:
detailSign:
priority: 0
canoe=put_in;egress:
symbol: pointer
sign:
detailSign:
priority: 0
leisure=slipway:
symbol: pointer
sign:
detailSign:
priority: 1
shop=shop:
symbol: pointer
sign:
priority: 3
shop=rental:
symbol: pointer
sign:
priority: 3