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.
39 lines
1.2 KiB
39 lines
1.2 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Sitios d'obres",
|
|
"cs": "Staveniště",
|
|
"de": "Baustellen",
|
|
"en": "Construction Sites",
|
|
"fr": "Constructions",
|
|
"it": "Cantieri",
|
|
"ja": "工事中",
|
|
"nl": "Bouwterrein",
|
|
"pt-br": "Terrenos 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.highway %}",
|
|
"{% else %}",
|
|
"{% set key = 'landuse' %}",
|
|
"{% set value = tags.landuse %}",
|
|
"{% endif %}"
|
|
],
|
|
"description": "{{ tagTrans(key, value) }}"
|
|
}
|
|
}
|