Browse Source

walk_amenities, walk_amenities_qa: include waste_basket and drinking_water

sidewalks-category
Stephan Bösch-Plepelits 10 months ago
parent
commit
e77c07b8b3
  1. 10
      walk_amenities.yaml
  2. 22
      walk_amenities_qa.yaml

10
walk_amenities.yaml

@ -14,7 +14,7 @@ query:
node[information]; node[information];
node[tourism~"^(viewpoint)$"]; node[tourism~"^(viewpoint)$"];
node[man_made~"^(cairn)$"]; node[man_made~"^(cairn)$"];
nwr[amenity~"^(bench|shelter)$"];
nwr[amenity~"^(bench|shelter|waste_basket|drinking_water)$"];
node[leisure~"^(picnic_table)$"]; node[leisure~"^(picnic_table)$"];
way[highway~'^(footway|steps)$'][conveying]; way[highway~'^(footway|steps)$'][conveying];
) )
@ -23,7 +23,7 @@ feature:
{% if tags.information %} {% if tags.information %}
{% set key = 'information' %} {% set key = 'information' %}
{% set value = tags.information %} {% set value = tags.information %}
{% elseif tags.amenity in [ 'bench', 'shelter' ] %}
{% elseif tags.amenity in [ 'bench', 'shelter', 'waste_basket', 'drinking_water' ] %}
{% set key = 'amenity' %} {% set key = 'amenity' %}
{% set value = tags.amenity %} {% set value = tags.amenity %}
{% elseif tags.leisure in [ 'picnic_table' ] %} {% elseif tags.leisure in [ 'picnic_table' ] %}
@ -91,6 +91,12 @@ const:
amenity=shelter: amenity=shelter:
priority: 1 priority: 1
sign: <img data-src='maki:shelter'> sign: <img data-src='maki:shelter'>
amenity=waste_basket:
priority: 2
sign: 🗑
amenity=drinking_water:
priority: 3
sign: <img data-src='maki:drinking-water'>
highway=steps conveying: highway=steps conveying:
sign: / sign: /
query: way[highway=steps][conveying] query: way[highway=steps][conveying]

22
walk_amenities_qa.yaml

@ -14,7 +14,7 @@ query:
node[information]; node[information];
node[tourism~"^(viewpoint)$"]; node[tourism~"^(viewpoint)$"];
node[man_made~"^(cairn)$"]; node[man_made~"^(cairn)$"];
nwr[amenity~"^(bench|shelter)$"];
nwr[amenity~"^(bench|shelter|waste_basket|drinking_water)$"];
node[leisure~"^(picnic_table)$"]; node[leisure~"^(picnic_table)$"];
way[highway~'^(footway|steps)$'][conveying]; way[highway~'^(footway|steps)$'][conveying];
) )
@ -23,7 +23,7 @@ feature:
{% if tags.information %} {% if tags.information %}
{% set key = 'information' %} {% set key = 'information' %}
{% set value = tags.information %} {% set value = tags.information %}
{% elseif tags.amenity in [ 'bench', 'shelter' ] %}
{% elseif tags.amenity in [ 'bench', 'shelter', 'waste_basket', 'drinking_water' ] %}
{% set key = 'amenity' %} {% set key = 'amenity' %}
{% set value = tags.amenity %} {% set value = tags.amenity %}
{% elseif tags.leisure in [ 'picnic_table' ] %} {% elseif tags.leisure in [ 'picnic_table' ] %}
@ -205,6 +205,24 @@ const:
- picnic_table - picnic_table
- access - access
- lockable - lockable
amenity=waste_basket:
priority: 2
sign: 🗑
require:
- waste
optional:
- drive_through
amenity=drinking_water:
priority: 3
sign: <img data-src='maki:drinking-water'>
require:
optional:
- man_made
- fountain
- dog
- pump
- fee
- bottle
highway=steps conveying: highway=steps conveying:
sign: / sign: /
query: nwr[highway=steps][conveying] query: nwr[highway=steps][conveying]

Loading…
Cancel
Save