Browse Source

walk_amenities: include amenity=bench and leisure=picnic_table

pedestrian
parent
commit
95989560da
  1. 22
      walk_amenities.json

22
walk_amenities.json

@ -14,20 +14,17 @@
"node[information];", "node[information];",
"node[tourism~\"^(viewpoint)$\"];", "node[tourism~\"^(viewpoint)$\"];",
"node[man_made~\"^(cairn)$\"];", "node[man_made~\"^(cairn)$\"];",
"node[amenity~\"^(shelter)$\"];",
"way[amenity~\"^(shelter)$\"];",
"relation[amenity~\"^(shelter)$\"];",
"nwr[amenity~\"^(shelter)$\"];",
")" ")"
], ],
"17": [
"16": [
"(", "(",
"node[highway~\"^(crossing|elevator)$\"];", "node[highway~\"^(crossing|elevator)$\"];",
"node[information];", "node[information];",
"node[tourism~\"^(viewpoint)$\"];", "node[tourism~\"^(viewpoint)$\"];",
"node[man_made~\"^(cairn)$\"];", "node[man_made~\"^(cairn)$\"];",
"node[amenity~\"^(shelter)$\"];",
"way[amenity~\"^(shelter)$\"];",
"relation[amenity~\"^(shelter)$\"];",
"nwr[amenity~\"^(bench|shelter)$\"];",
"node[leisure~\"^(picnic_table)$\"];",
")" ")"
] ]
}, },
@ -39,6 +36,9 @@
"{% elseif tags.amenity in [ 'bench', 'shelter' ] %}", "{% elseif tags.amenity in [ 'bench', 'shelter' ] %}",
" {% set key = 'amenity' %}", " {% set key = 'amenity' %}",
" {% set value = tags.amenity %}", " {% set value = tags.amenity %}",
"{% elseif tags.leisure in [ 'picnic_table' ] %}",
" {% set key = 'leisure' %}",
" {% set value = tags.picnic_table%}",
"{% elseif tags.man_made in [ 'cairn' ] %}", "{% elseif tags.man_made in [ 'cairn' ] %}",
" {% set key = 'man_made' %}", " {% set key = 'man_made' %}",
" {% set value = tags.man_made %}", " {% set value = tags.man_made %}",
@ -82,6 +82,14 @@
"priority": 1, "priority": 1,
"sign": "<i class='fa fa-info-circle' aria-hidden='true'></i>" "sign": "<i class='fa fa-info-circle' aria-hidden='true'></i>"
}, },
"bench": {
"priority": 3,
"sign": "<img data-src='temaki:bench'>"
},
"picnic_table": {
"priority": 3,
"sign": "<img data-src='maki:picnic-site'>"
},
"cairn": { "cairn": {
"priority": 2, "priority": 2,
"sign": "" "sign": ""

Loading…
Cancel
Save