Browse Source

Still experimenting.

master
Nathan Hartley 2 years ago
parent
commit
820b9af91c
  1. 19
      paddlecraft.yaml

19
paddlecraft.yaml

@ -6,4 +6,21 @@ query:
'7': relation[type=route][route~"^(|.*;)canoe(|;.*)$"][network~'^(|.*;)(ipn|npn)(|;.*)$']
'8': relation[type=route][route~"^(|.*;)canoe(|;.*)$"][network~'^(|.*;)(ipn|npn|rpn)(|;.*)$']
'9': (relation[type=route][route~"^(|.*;)canoe(|;.*)$"];node["canoe"="put_in"];node["leisure"="slipway"];way["canoe"="portage"];)
feature:
body: |-
<dl>
<dt>Surface</dt>
<dd>{% if attribute(tags, 'surface') %}{{ tagTrans('surface', tags.surface) }}{% endif %}</dd>
<dt>Description</dt>
<dd>{{ tags.description }}</dd>
</dl>
{% if attribute(tags, 'mapillary') %}
<div><a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary Photo</a><div>
{% endif %}
markerSign: |-
{% if tags.canoe == 'put_in' %}
🛶
{% elseif tags.leisure == 'slipway' %}
🚣🏻
{% endif %}
Loading…
Cancel
Save