diff --git a/paddling_amenities.yaml b/paddling_amenities.yaml
index 112d341..f138994 100644
--- a/paddling_amenities.yaml
+++ b/paddling_amenities.yaml
@@ -52,12 +52,14 @@ feature:
{% set informal_value = tags.informal %}
{% endif %}
- {% if tags.ice_skates and tags.ice_skates in ['no','private','discouraged','unknown'] %}
- {% set restricted_access_value = tags.ice_skates %}
+ {% 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 %}
- {% elseif type == 'way' and tags.waterway and tags.waterway != 'access_point' and tags.ice_skates and tags.ice_skates == 'kluning' %}
- {% set restricted_access_value = tags.ice_skates %}
{% endif %}
title: |-
{{ localizedTag(tags, 'name') }}
@@ -74,91 +76,131 @@ feature:
{% endif %}
{{ tagTrans(key, value) }}
body: |-
- {% if key not in ['shop'] %}
-
- {% if attribute(tags, 'waterbody:name') %}
+
+ {% if attribute(tags, 'waterbody:name') %}
-
- {{ tagTrans('natural', 'water') }}:
+ {{ tagTrans('natural', 'water') }}:
{{ localizedTag(tags, 'waterbody:name') }}
- {% endif %}
+ {% endif %}
- {% if attribute(tags, 'surface') %}
- -
-
- {{ keyTrans('Surface') }}:
- {{ attribute(tags, 'surface') ? tagTrans('surface', attribute(tags, 'surface')) : '' }}
-
- {% 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, 'operator') %}
+ -
+
+ {{ keyTrans('operator') }}:
+ {{ tagTrans('operator', attribute(tags, 'operator')) }}
+
+ {% endif %}
- {% if attribute(tags, 'informal') %}
- -
-
- {{ keyTrans('informal') }}:
- {{ tagTrans('informal', attribute(tags, 'informal'))}}
-
- {% endif %}
+ {% if attribute(tags, 'informal') %}
+ -
+
+ {{ keyTrans('informal') }}:
+ {{ tagTrans('informal', attribute(tags, 'informal'))}}
+
+ {% endif %}
- {% if attribute(tags, 'access') %}
+ {% if attribute(tags, 'canoe') %}
+ {% if tags.canoe != 'portage' %}
-
- {{ keyTrans('access') }}:
- {{ tagTrans('access', attribute(tags, 'access'))}}
+ {{ keyTrans('canoe') }}:
+ {{ tagTrans('access', attribute(tags, 'canoe')) }}
- {% endif %}
-
- {% if attribute(tags, 'canoe') and tags.canoe in ['yes','designated','permissive','permit','discouraged','private','no'] %}
+ {% elseif type == 'way' and attribute(tags, 'highway') and tags.canoe == 'portage' %}
-
- {{ keyTrans('canoe') }}:
- {{ attribute(tags, 'canoe') ? tagTrans('access', attribute(tags, 'canoe')) : '' }}
+ {{ keyTrans('portage') }}:
+ {{ tagTrans('access', 'yes') }}
- {% endif %}
+ {% endif %}
+ {% endif %}
- {% if attribute(tags, 'portage') and tags.portage in ['yes','designated','permissive','permit','discouraged','private','no'] %}
- -
-
- {{ keyTrans('portage') }}:
- {{ attribute(tags, 'portage') ? tagTrans('access', attribute(tags, 'portage')) : '' }}
-
- {% endif %}
+ {% if attribute(tags, 'portage') %}
+ -
+
+ {{ keyTrans('portage') }}:
+ {{ tagTrans('access', attribute(tags, 'portage')) }}
+
+ {% endif %}
- {% if attribute(tags, 'fee') %}
- -
-
- {{ keyTrans('Fee') }}:
- {{ attribute(tags, 'fee') ? tagTrans('fee', attribute(tags, 'fee')) : '' }}
-
- {% endif %}
+ {% if attribute(tags, 'access') %}
+ -
+
+ {{ keyTrans('access') }}:
+ {{ tagTrans('access', attribute(tags, 'access'))}}
+
+ {% endif %}
- {% if attribute(tags, 'mapillary') %}
- -
-
- {{ trans('Photos') }}:
-
- Mapillary
-
-
- {% 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 }) }}
- {% elseif informal_value %}
- {{ markerPointer({ fillColor: const.marker.style.color_informal }) }}
{% else %}
{{ markerPointer({ fillColor: const.marker.style.color }) }}
{% endif %}
@@ -167,8 +209,6 @@ feature:
{% if item.symbol=='pointer' %}
{% if restricted_access_value %}
{{ markerCircle({ fillColor: const.marker.style.color_restricted }) }}
- {% elseif informal_value %}
- {{ markerCircle({ fillColor: const.marker.style.color_informal }) }}
{% else %}
{{ markerCircle({ fillColor: const.marker.style.color }) }}
{% endif %}
@@ -189,21 +229,22 @@ feature:
{% 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
- text: |-
- {% if item.text %}
- {% if attribute(tags, "piste:name") %}
- {{ localizedTag(tags, 'piste:name') }}
- {% elseif attribute(tags, "name") %}
- {{ localizedTag(tags, 'name') }}
- {% endif %}
- {% endif %}
- textRepeat: '1'
- lineCap: round
- dashArray: |-
- {% if restricted_access_value %}5,5{% endif %}
priority: |-
{% if item is defined %}
{{ item['priority'] }}
@@ -213,12 +254,11 @@ feature:
const:
marker:
style:
- color: '#FFFFFF'
- color_informal: '#BFBFBF'
+ color: '#B3D2FF'
color_restricted: '#7F7F7F'
portage=portage:
symbol: line
- priority: 2
+ priority: 4
text: true
style:
width: 4
@@ -257,6 +297,7 @@ const:
sign:
priority: 3
shop=rental:
+ symbol: pointer
sign:
priority: 3
\ No newline at end of file