Browse Source

Merge remote-tracking branch 'origin/master'

sidewalks-category
Stephan Bösch-Plepelits 10 months ago
parent
commit
b0416c9e53
  1. 10
      walk_amenities.yaml
  2. 26
      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]

26
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' ] %}
@ -98,7 +98,7 @@ filter:
const: const:
highway=crossing: highway=crossing:
priority: 10 priority: 10
sign: <i class='fa fa-bars' aria-hidden='true'></i>
sign: <img data-src='temaki:pedestrian_crosswalk'>
require: require:
- crossing - crossing
optional: optional:
@ -107,7 +107,7 @@ const:
- lit - lit
highway=elevator: highway=elevator:
priority: 2 priority: 2
sign: <i class='fa fa-caret-square-o-up' aria-hidden='true'></i>
sign: <img data-src='maki:elevator'>
require: require:
- level - level
- wheelchair - wheelchair
@ -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