Browse Source

Added support for canoe=egress and canoe=put_in;egress.

master
Nathan Hartley 7 months ago
parent
commit
50fd06df15
  1. 12
      paddling_amenities.yaml

12
paddling_amenities.yaml

@ -2,7 +2,7 @@ type: overpass
query: query:
'14': |- '14': |-
( (
node["canoe"="put_in"];
node["canoe"~"^put_in|egress|put_in;egress$"];
node["leisure"="slipway"]; node["leisure"="slipway"];
way["canoe"="portage"]; way["canoe"="portage"];
nwr[shop~"^(boat)$"]["boat:type"~"^(.*;|)canoe|kayak|standup_paddleboard|dinghy|pedalboat(|;.*)$"]; nwr[shop~"^(boat)$"]["boat:type"~"^(.*;|)canoe|kayak|standup_paddleboard|dinghy|pedalboat(|;.*)$"];
@ -42,7 +42,7 @@ feature:
description: | description: |
{{ tagTrans(key, value) }} {{ tagTrans(key, value) }}
body: |- body: |-
{% if constIndex in ['canoe=put_in', 'leisure=slipway','canoe=portage'] %}
{% if constIndex in ['canoe=put_in', 'canoe=egress', 'canoe=put_in;egress', 'leisure=slipway','canoe=portage'] %}
<dl> <dl>
<dt>{{ keyTrans('Description') }}</dt> <dt>{{ keyTrans('Description') }}</dt>
<dd>{{ localizedTag(tags, 'description') }}</dd> <dd>{{ localizedTag(tags, 'description') }}</dd>
@ -88,7 +88,13 @@ const:
sign: <i class="fas fa-walking"></i> sign: <i class="fas fa-walking"></i>
priority: 2 priority: 2
canoe=put_in: canoe=put_in:
sign: <i class="fas fa-expand-alt"></i>
sign: <i class="fa-solid fa-down-long"></i>
priority: 0
canoe=egress:
sign: <i class="fa-solid fa-up-long"></i>
priority: 0
canoe=put_in;egress:
sign: <i class="fa-solid fa-up-down"></i>
priority: 0 priority: 0
leisure=slipway: leisure=slipway:
sign: <i class="fas fa-ship"></i> sign: <i class="fas fa-ship"></i>

Loading…
Cancel
Save