Browse Source

waste: include amenity=waste_disposal and amenity=waste_transfer_station

pedestrian
parent
commit
26dd50f65d
  1. 19
      waste.json

19
waste.json

@ -26,6 +26,7 @@
"relation[landuse=landfill];", "relation[landuse=landfill];",
"relation[man_made~\"^(wastewater_plant|incinerator)$\"];", "relation[man_made~\"^(wastewater_plant|incinerator)$\"];",
"relation[amenity=recycling][recycling_type=centre];", "relation[amenity=recycling][recycling_type=centre];",
"nwr[amenity=waste_transfer_station];",
"nwr[power=generator][\"generator:source\"~\"^(.*;|)waste(;.*|)$\"];", "nwr[power=generator][\"generator:source\"~\"^(.*;|)waste(;.*|)$\"];",
")" ")"
], ],
@ -33,13 +34,13 @@
"(", "(",
"node[landuse=landfill];", "node[landuse=landfill];",
"node[man_made~\"^(wastewater_plant|incinerator)$\"];", "node[man_made~\"^(wastewater_plant|incinerator)$\"];",
"node[amenity=recycling];",
"node[amenity~\"^(recycling|waste_disposal|waste_transfer_station)$\"];",
"way[landuse=landfill];", "way[landuse=landfill];",
"way[man_made~\"^(wastewater_plant|incinerator)$\"];", "way[man_made~\"^(wastewater_plant|incinerator)$\"];",
"way[amenity=recycling];",
"way[amenity~\"^(recycling|waste_disposal|waste_transfer_station)$\"];",
"relation[landuse=landfill];", "relation[landuse=landfill];",
"relation[man_made~\"^(wastewater_plant|incinerator)$\"];", "relation[man_made~\"^(wastewater_plant|incinerator)$\"];",
"relation[amenity=recycling];",
"relation[amenity~\"^(recycling|waste_disposal|waste_transfer_station)$\"];",
"nwr[power=generator][\"generator:source\"~\"^(.*;|)waste(;.*|)$\"];", "nwr[power=generator][\"generator:source\"~\"^(.*;|)waste(;.*|)$\"];",
")" ")"
], ],
@ -47,13 +48,13 @@
"(", "(",
"node[landuse=landfill];", "node[landuse=landfill];",
"node[man_made~\"^(wastewater_plant|incinerator)$\"];", "node[man_made~\"^(wastewater_plant|incinerator)$\"];",
"node[amenity~\"^(recycling|waste_basket)$\"];",
"node[amenity~\"^(recycling|waste_basket|waste_disposal|waste_transfer_station)$\"];",
"way[landuse=landfill];", "way[landuse=landfill];",
"way[man_made~\"^(wastewater_plant|incinerator)$\"];", "way[man_made~\"^(wastewater_plant|incinerator)$\"];",
"way[amenity=recycling];",
"way[amenity~\"^(recycling|waste_basket|waste_disposal|waste_transfer_station)$\"];",
"relation[landuse=landfill];", "relation[landuse=landfill];",
"relation[man_made~\"^(wastewater_plant|incinerator)$\"];", "relation[man_made~\"^(wastewater_plant|incinerator)$\"];",
"relation[amenity=recycling];",
"relation[amenity~\"^(recycling|waste_basket|waste_disposal|waste_transfer_station)$\"];",
"nwr[power=generator][\"generator:source\"~\"^(.*;|)waste(;.*|)$\"];", "nwr[power=generator][\"generator:source\"~\"^(.*;|)waste(;.*|)$\"];",
")" ")"
] ]
@ -67,7 +68,7 @@
"{% elseif tags.man_made in [ 'incinerator', 'wastewater_plant' ] %}", "{% elseif tags.man_made in [ 'incinerator', 'wastewater_plant' ] %}",
" {% set key = 'man_made' %}", " {% set key = 'man_made' %}",
" {% set value = tags.man_made %}", " {% set value = tags.man_made %}",
"{% elseif tags.amenity == 'recycling' or tags.amenity == 'waste_basket' %}",
"{% elseif tags.amenity in [ 'recycling', 'waste_basket', 'waste_disposal', 'waste_transfer_station' ] %}",
" {% set key = 'amenity' %}", " {% set key = 'amenity' %}",
" {% set value = tags.amenity %}", " {% set value = tags.amenity %}",
"{% elseif tags.power == 'generator' %}", "{% elseif tags.power == 'generator' %}",
@ -125,6 +126,10 @@
"sign": "<i class='fas fa-bolt'></i>", "sign": "<i class='fas fa-bolt'></i>",
"add": "tag:generator:source=waste" "add": "tag:generator:source=waste"
}, },
"amenity=waste_disposal": {
"minZoom": 15,
"sign": "<img data-src='maki:waste-basket'>"
},
"amenity=waste_basket": { "amenity=waste_basket": {
"minZoom": 18, "minZoom": 18,
"sign": "<img data-src='maki:waste-basket'>" "sign": "<img data-src='maki:waste-basket'>"

Loading…
Cancel
Save