Main categories of OpenStreetBrowser with support for whitewater
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

62 lines
2.1 KiB

{
"type": "overpass",
"name": {
"ast": "Basures",
"cs": "Nakládání s odpady",
"de": "Entsorgung",
"en": "Disposal",
"fr": "Rebuts",
"it": "Smaltimento",
"ja": "処理場",
"nl": "Afvalverwijdering",
"ru": "Переработка отходов"
},
"query": {
"13": [
"(",
"node[landuse=landfill];",
"node[man_made=wastewater_plant];",
"node[amenity=recycling][recycling_type=centre];",
"way[landuse=landfill];",
"way[man_made=wastewater_plant];",
"way[amenity=recycling][recycling_type=centre];",
"relation[landuse=landfill];",
"relation[man_made=wastewater_plant];",
"relation[amenity=recycling][recycling_type=centre];",
")"
],
"15": [
"(",
"node[landuse=landfill];",
"node[man_made=wastewater_plant];",
"node[amenity=recycling];",
"way[landuse=landfill];",
"way[man_made=wastewater_plant];",
"way[amenity=recycling];",
"relation[landuse=landfill];",
"relation[man_made=wastewater_plant];",
"relation[amenity=recycling];",
")"
]
},
"feature": {
"pre": [
"{% if tags.landuse == 'landfill' %}",
" {% set key = 'landuse' %}",
" {% set value = tags.landuse %}",
"{% elseif tags.man_made == 'wastewater_plant' %}",
" {% set key = 'man_made' %}",
" {% set value = tags.man_made %}",
"{% elseif tags.amenity == 'recycling' %}",
" {% set key = 'amenity' %}",
" {% set value = tags.amenity %}",
"{% endif %}"
],
"description": "{{ tagTrans(key, value) }}",
"body": [
"{% if tags.recycling_type %}",
"{{ keyTrans('recycling_type') }}: {{ tagTrans('recycling_type', tags.recycling_type) }}",
"{% endif %}"
]
}
}