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.
22 lines
1013 B
22 lines
1013 B
{
|
|
"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": "(\nnode[landuse~\"^(brownfield|greenfield|construction|)$\"];\nway[landuse~\"^(brownfield|greenfield|construction|)$\"];\nrelation[landuse~\"^(brownfield|greenfield|construction|)$\"];\nnode[highway~\"^(construction)$\"];\nway[highway~\"^(construction)$\"];\nrelation[highway~\"^(construction)$\"];\n)"
|
|
},
|
|
"feature": {
|
|
"pre": "{% if tags.highway == 'construction' %}\n{% set key = 'highway' %}\n{% set value = tags.highway %}\n{% else %}\n{% set key = 'landuse' %}\n{% set value = tags.landuse %}\n{% endif %}",
|
|
"description": "{{ tagTrans(key, value) }}",
|
|
"body": "{{ tagTrans(key, value) }}"
|
|
}
|
|
}
|