|
|
@ -52,12 +52,14 @@ feature: |
|
|
{% set informal_value = tags.informal %} |
|
|
{% set informal_value = tags.informal %} |
|
|
{% endif %} |
|
|
{% 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'] %} |
|
|
{% elseif tags.access and tags.access in ['no','private','discouraged','unknown'] %} |
|
|
{% set restricted_access_value = tags.access %} |
|
|
{% 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 %} |
|
|
{% endif %} |
|
|
title: |- |
|
|
title: |- |
|
|
{{ localizedTag(tags, 'name') }} |
|
|
{{ localizedTag(tags, 'name') }} |
|
|
@ -74,12 +76,11 @@ feature: |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{{ tagTrans(key, value) }} |
|
|
{{ tagTrans(key, value) }} |
|
|
body: |- |
|
|
body: |- |
|
|
{% if key not in ['shop'] %} |
|
|
|
|
|
<ul> |
|
|
<ul> |
|
|
{% if attribute(tags, 'waterbody:name') %} |
|
|
{% if attribute(tags, 'waterbody:name') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class="fas fa-water"></i> |
|
|
<i class="fas fa-water"></i> |
|
|
{{ tagTrans('natural', 'water') }}: |
|
|
|
|
|
|
|
|
<span class='key'>{{ tagTrans('natural', 'water') }}:</span> |
|
|
<span class='value'>{{ localizedTag(tags, 'waterbody:name') }}</span> |
|
|
<span class='value'>{{ localizedTag(tags, 'waterbody:name') }}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
@ -87,7 +88,7 @@ feature: |
|
|
{% if attribute(tags, 'surface') %} |
|
|
{% if attribute(tags, 'surface') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-window-minimize'></i> |
|
|
<i class='fa fa-window-minimize'></i> |
|
|
{{ keyTrans('Surface') }}: |
|
|
|
|
|
|
|
|
<span class='key'>{{ keyTrans('surface') }}:</span> |
|
|
<span class='value'>{{ attribute(tags, 'surface') ? tagTrans('surface', attribute(tags, 'surface')) : '' }}</span> |
|
|
<span class='value'>{{ attribute(tags, 'surface') ? tagTrans('surface', attribute(tags, 'surface')) : '' }}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
@ -95,7 +96,7 @@ feature: |
|
|
{% if attribute(tags, 'operator') %} |
|
|
{% if attribute(tags, 'operator') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-drivers-license-o'></i> |
|
|
<i class='fa fa-drivers-license-o'></i> |
|
|
{{ keyTrans('operator') }}: |
|
|
|
|
|
|
|
|
<span class='key'>{{ keyTrans('operator') }}:</span> |
|
|
<span class='value'>{{ tagTrans('operator', attribute(tags, 'operator')) }}</span> |
|
|
<span class='value'>{{ tagTrans('operator', attribute(tags, 'operator')) }}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
@ -103,62 +104,103 @@ feature: |
|
|
{% if attribute(tags, 'informal') %} |
|
|
{% if attribute(tags, 'informal') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-unlock'></i> |
|
|
<i class='fa fa-unlock'></i> |
|
|
{{ keyTrans('informal') }}: |
|
|
|
|
|
|
|
|
<span class='key'>{{ keyTrans('informal') }}:</span> |
|
|
<span class='value'>{{ tagTrans('informal', attribute(tags, 'informal'))}}</span> |
|
|
<span class='value'>{{ tagTrans('informal', attribute(tags, 'informal'))}}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'access') %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'canoe') %} |
|
|
|
|
|
{% if tags.canoe != 'portage' %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-unlock'></i> |
|
|
<i class='fa fa-unlock'></i> |
|
|
{{ keyTrans('access') }}: |
|
|
|
|
|
<span class='value'>{{ tagTrans('access', attribute(tags, 'access'))}}</span> |
|
|
|
|
|
|
|
|
<span class='key'>{{ keyTrans('canoe') }}:</span> |
|
|
|
|
|
<span class='value'>{{ tagTrans('access', attribute(tags, 'canoe')) }}</span> |
|
|
|
|
|
</li> |
|
|
|
|
|
{% elseif type == 'way' and attribute(tags, 'highway') and tags.canoe == 'portage' %} |
|
|
|
|
|
<li class='hasSymbol'> |
|
|
|
|
|
<i class='fa fa-unlock'></i> |
|
|
|
|
|
<span class='key'>{{ keyTrans('portage') }}:</span> |
|
|
|
|
|
<span class='value'>{{ tagTrans('access', 'yes') }}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'canoe') and tags.canoe in ['yes','designated','permissive','permit','discouraged','private','no'] %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'portage') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-unlock'></i> |
|
|
<i class='fa fa-unlock'></i> |
|
|
{{ keyTrans('canoe') }}: |
|
|
|
|
|
<span class='value'>{{ attribute(tags, 'canoe') ? tagTrans('access', attribute(tags, 'canoe')) : '' }}</span> |
|
|
|
|
|
|
|
|
<span class='key'>{{ keyTrans('portage') }}:</span> |
|
|
|
|
|
<span class='value'>{{ tagTrans('access', attribute(tags, 'portage')) }}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'portage') and tags.portage in ['yes','designated','permissive','permit','discouraged','private','no'] %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'access') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-unlock'></i> |
|
|
<i class='fa fa-unlock'></i> |
|
|
{{ keyTrans('portage') }}: |
|
|
|
|
|
<span class='value'>{{ attribute(tags, 'portage') ? tagTrans('access', attribute(tags, 'portage')) : '' }}</span> |
|
|
|
|
|
|
|
|
<span class='key'>{{ keyTrans('access') }}:</span> |
|
|
|
|
|
<span class='value'>{{ tagTrans('access', attribute(tags, 'access'))}}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'fee') %} |
|
|
{% if attribute(tags, 'fee') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-money'></i> |
|
|
<i class='fa fa-money'></i> |
|
|
{{ keyTrans('Fee') }}: |
|
|
|
|
|
<span class='value'>{{ attribute(tags, 'fee') ? tagTrans('fee', attribute(tags, 'fee')) : '' }}</span> |
|
|
|
|
|
|
|
|
<span class='key'>{{ keyTrans('fee') }}:</span> |
|
|
|
|
|
<span class='value'>{{ tagTrans('fee', attribute(tags, 'fee')) }}</span> |
|
|
|
|
|
</li> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if attribute(tags, 'tidal') %} |
|
|
|
|
|
<li class='hasSymbol'> |
|
|
|
|
|
<i class="fa fa-arrow-up-from-water-pump"></i> |
|
|
|
|
|
<span class='key'>{{ keyTrans('tidal') }}:</span> |
|
|
|
|
|
<span class='value'>{{ tagTrans('tidal', attribute(tags, 'tidal')) }}</span> |
|
|
|
|
|
</li> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if attribute(tags, 'intermittent') %} |
|
|
|
|
|
<li class='hasSymbol'> |
|
|
|
|
|
<i class='fa fa-percentage'></i> |
|
|
|
|
|
<span class='key'>{{ keyTrans('intermittent') }}:</span> |
|
|
|
|
|
<span class='value'>{{ tagTrans('intermittent', attribute(tags, 'intermittent')) }}</span> |
|
|
|
|
|
</li> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% if attribute(tags, 'seasonal') %} |
|
|
|
|
|
<li class='hasSymbol'> |
|
|
|
|
|
<i class='fa fa-leaf'></i> |
|
|
|
|
|
<span class='key'>{{ keyTrans('seasonal') }}:</span> |
|
|
|
|
|
<span class='seasonal'>{{ tagTrans('seasonal', attribute(tags, 'seasonal')) }}</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if attribute(tags, 'mapillary') %} |
|
|
{% if attribute(tags, 'mapillary') %} |
|
|
<li class='hasSymbol'> |
|
|
<li class='hasSymbol'> |
|
|
<i class='fa fa-camera'></i> |
|
|
<i class='fa fa-camera'></i> |
|
|
{{ trans('Photos') }}: |
|
|
|
|
|
|
|
|
<span class='key'>{{ trans('Photos') }}:</span> |
|
|
<span class='value'> |
|
|
<span class='value'> |
|
|
<a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary</a> |
|
|
<a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary</a> |
|
|
</span> |
|
|
</span> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
|
{% if attribute(tags,'canoe:description') %} |
|
|
|
|
|
<li class='hasSymbol'> |
|
|
|
|
|
<img data-src="temaki:canoe"> |
|
|
|
|
|
<span class='value'>{{ localizedTag(tags, 'canoe:description') }}</span> |
|
|
|
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
{% if attribute(tags,'wheelchair:description') %} |
|
|
|
|
|
<li class='hasSymbol'> |
|
|
|
|
|
<i class='fa fa-wheelchair'></i> |
|
|
|
|
|
<span class='value'>{{ localizedTag(tags, 'wheelchair:description') }}</span> |
|
|
|
|
|
</li> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</ul> |
|
|
markerSign: '{{ item[''sign''] | raw }}' |
|
|
markerSign: '{{ item[''sign''] | raw }}' |
|
|
markerSymbol: |- |
|
|
markerSymbol: |- |
|
|
{% if item.symbol=='pointer' %} |
|
|
{% if item.symbol=='pointer' %} |
|
|
{% if restricted_access_value %} |
|
|
{% if restricted_access_value %} |
|
|
{{ markerPointer({ fillColor: const.marker.style.color_restricted }) }} |
|
|
{{ markerPointer({ fillColor: const.marker.style.color_restricted }) }} |
|
|
{% elseif informal_value %} |
|
|
|
|
|
{{ markerPointer({ fillColor: const.marker.style.color_informal }) }} |
|
|
|
|
|
{% else %} |
|
|
{% else %} |
|
|
{{ markerPointer({ fillColor: const.marker.style.color }) }} |
|
|
{{ markerPointer({ fillColor: const.marker.style.color }) }} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
@ -167,8 +209,6 @@ feature: |
|
|
{% if item.symbol=='pointer' %} |
|
|
{% if item.symbol=='pointer' %} |
|
|
{% if restricted_access_value %} |
|
|
{% if restricted_access_value %} |
|
|
{{ markerCircle({ fillColor: const.marker.style.color_restricted }) }} |
|
|
{{ markerCircle({ fillColor: const.marker.style.color_restricted }) }} |
|
|
{% elseif informal_value %} |
|
|
|
|
|
{{ markerCircle({ fillColor: const.marker.style.color_informal }) }} |
|
|
|
|
|
{% else %} |
|
|
{% else %} |
|
|
{{ markerCircle({ fillColor: const.marker.style.color }) }} |
|
|
{{ markerCircle({ fillColor: const.marker.style.color }) }} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
@ -189,9 +229,6 @@ feature: |
|
|
{% else %} |
|
|
{% else %} |
|
|
{{ item.style.color }} |
|
|
{{ item.style.color }} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
style:casing: |
|
|
|
|
|
width: '{{item.style.casing.width}}' |
|
|
|
|
|
pane: casing |
|
|
|
|
|
text: |- |
|
|
text: |- |
|
|
{% if item.text %} |
|
|
{% if item.text %} |
|
|
{% if attribute(tags, "piste:name") %} |
|
|
{% if attribute(tags, "piste:name") %} |
|
|
@ -201,9 +238,13 @@ feature: |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
textRepeat: '1' |
|
|
textRepeat: '1' |
|
|
|
|
|
textOffset: -8 |
|
|
lineCap: round |
|
|
lineCap: round |
|
|
dashArray: |- |
|
|
dashArray: |- |
|
|
{% if restricted_access_value %}5,5{% endif %} |
|
|
{% if restricted_access_value %}5,5{% endif %} |
|
|
|
|
|
style:casing: |
|
|
|
|
|
width: '{{item.style.casing.width}}' |
|
|
|
|
|
pane: casing |
|
|
priority: |- |
|
|
priority: |- |
|
|
{% if item is defined %} |
|
|
{% if item is defined %} |
|
|
{{ item['priority'] }} |
|
|
{{ item['priority'] }} |
|
|
@ -213,12 +254,11 @@ feature: |
|
|
const: |
|
|
const: |
|
|
marker: |
|
|
marker: |
|
|
style: |
|
|
style: |
|
|
color: '#FFFFFF' |
|
|
|
|
|
color_informal: '#BFBFBF' |
|
|
|
|
|
|
|
|
color: '#B3D2FF' |
|
|
color_restricted: '#7F7F7F' |
|
|
color_restricted: '#7F7F7F' |
|
|
portage=portage: |
|
|
portage=portage: |
|
|
symbol: line |
|
|
symbol: line |
|
|
priority: 2 |
|
|
|
|
|
|
|
|
priority: 4 |
|
|
text: true |
|
|
text: true |
|
|
style: |
|
|
style: |
|
|
width: 4 |
|
|
width: 4 |
|
|
@ -257,6 +297,7 @@ const: |
|
|
sign: <i class="fas fa-store-alt"></i> |
|
|
sign: <i class="fas fa-store-alt"></i> |
|
|
priority: 3 |
|
|
priority: 3 |
|
|
shop=rental: |
|
|
shop=rental: |
|
|
|
|
|
symbol: pointer |
|
|
sign: <i class="fas fa-store"></i> |
|
|
sign: <i class="fas fa-store"></i> |
|
|
priority: 3 |
|
|
priority: 3 |
|
|
|
|
|
|