Main categories of OpenStreetBrowser with public transport zoom level
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.
 
 

38 lines
1.2 KiB

{
"type": "overpass",
"name": {
"ast": "Sitios d'obres",
"cs": "Staveniště",
"de": "Baustellen",
"en": "Construction Sites",
"fr": "Sites en construction",
"it": "Cantieri",
"ja": "工事中",
"nl": "Bouwterrein",
"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) }}"
}
}