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.
 
 

40 lines
1.2 KiB

{
"type": "overpass",
"name": {
"ast": "Sitios d'obres",
"cs": "Staveniště",
"de": "Baustellen",
"en": "Construction Sites",
"fr": "Constructions",
"hu": "Építési terület",
"it": "Cantieri",
"ja": "工事中",
"nl": "Bouwterrein",
"pt": "Locais de construção",
"pt-br": "Terrenos vazios e obras",
"ru": "Места строительства"
},
"query": {
"13": [
"(",
"nwr[landuse~\"^(construction)$\"];",
"nwr[highway~\"^(construction)$\"];",
")"
]
},
"feature": {
"pre": [
"{% if tags.highway == 'construction' %}",
"{% set key = 'highway' %}",
"{% set value = tags.construction %}",
"{% elseif tags.landuse == 'construction' and tags.construction %}",
"{% set key = 'landuse' %}",
"{% set value = tags.construction %}",
"{% else %}",
"{% set key = 'landuse' %}",
"{% set value = tags.landuse %}",
"{% endif %}"
],
"description": "{{ tagTrans(key, value) }}"
}
}