|
@ -17,7 +17,10 @@ query: |
|
|
) |
|
|
) |
|
|
feature: |
|
|
feature: |
|
|
pre: |- |
|
|
pre: |- |
|
|
{% if tags.canoe %} |
|
|
|
|
|
|
|
|
{% if tags.canoe == 'portage' (and not attribute(tags, 'surface') or attribute(tags, 'surface') == 'water') %} |
|
|
|
|
|
{% set key = 'waterway' %} |
|
|
|
|
|
{% set value = 'portage' %} |
|
|
|
|
|
{% elseif tags.canoe %} |
|
|
{% set key = 'canoe' %} |
|
|
{% set key = 'canoe' %} |
|
|
{% set value = tags.canoe %} |
|
|
{% set value = tags.canoe %} |
|
|
{% elseif tags.leisure %} |
|
|
{% elseif tags.leisure %} |
|
@ -33,7 +36,6 @@ feature: |
|
|
|
|
|
|
|
|
{% set constIndex = (key ~ "=" ~ value) %} |
|
|
{% set constIndex = (key ~ "=" ~ value) %} |
|
|
{% set item = const[constIndex] %} |
|
|
{% set item = const[constIndex] %} |
|
|
|
|
|
|
|
|
title: | |
|
|
title: | |
|
|
{{ localizedTag(tags, 'name') }} |
|
|
{{ localizedTag(tags, 'name') }} |
|
|
{% if attribute(tags, 'ref') %} |
|
|
{% if attribute(tags, 'ref') %} |
|
@ -73,15 +75,20 @@ feature: |
|
|
</dl> |
|
|
</dl> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
markerSign: '{{ item[''sign''] }}' |
|
|
markerSign: '{{ item[''sign''] }}' |
|
|
|
|
|
|
|
|
|
|
|
markerSymbol: | |
|
|
|
|
|
{% if item['sign'] %}{{ markerPointer({ fillColor: '#DDDDDD' }) }}{% endif %} |
|
|
|
|
|
listMarkerSymbol: | |
|
|
|
|
|
{% if item['sign'] %}{{ markerCircle({ fillColor: '#FFFFFF' }) }}{% endif %} |
|
|
priority: |- |
|
|
priority: |- |
|
|
{% if item is defined %} |
|
|
{% if item is defined %} |
|
|
{{ item['priority'] }} |
|
|
{{ item['priority'] }} |
|
|
{% else %} |
|
|
{% else %} |
|
|
10 |
|
|
10 |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
const: |
|
|
const: |
|
|
|
|
|
waterway=portage: |
|
|
|
|
|
sign: |
|
|
|
|
|
priority: 2 |
|
|
canoe=put_in: |
|
|
canoe=put_in: |
|
|
sign: 🛶 |
|
|
sign: 🛶 |
|
|
priority: 0 |
|
|
priority: 0 |
|
|