forked from OpenStreetBrowser/main
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.
44 lines
1.5 KiB
44 lines
1.5 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": [
|
|
"(",
|
|
"node[landuse~\"^(brownfield|greenfield|construction|)$\"];",
|
|
"way[landuse~\"^(brownfield|greenfield|construction|)$\"];",
|
|
"relation[landuse~\"^(brownfield|greenfield|construction|)$\"];",
|
|
"node[highway~\"^(construction)$\"];",
|
|
"way[highway~\"^(construction)$\"];",
|
|
"relation[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) }}"
|
|
}
|
|
}
|