diff --git a/construction.json b/construction.json index 289d2dc..617eee2 100644 --- a/construction.json +++ b/construction.json @@ -17,12 +17,8 @@ "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)$\"];", + "nwr[landuse~\"^(construction)$\"];", + "nwr[highway~\"^(construction)$\"];", ")" ] }, diff --git a/index.json b/index.json index 4f651ef..53e4b8a 100644 --- a/index.json +++ b/index.json @@ -266,7 +266,19 @@ "id": "agriculture" }, { - "id": "construction" + "id": "developments", + "type": "index", + "name": { + "en": "Planning and Construction" + }, + "subCategories": [ + { + "id": "construction" + }, + { + "id": "planning" + } + ] }, { "id": "military" diff --git a/planning.json b/planning.json new file mode 100644 index 0000000..8e961e1 --- /dev/null +++ b/planning.json @@ -0,0 +1,20 @@ +{ + "type": "overpass", + "name": { + "en": "Planning", + }, + "query": { + "13": [ + "(", + "nwr[landuse~\"^(brownfield|greenfield)$\"];", + ")" + ] + }, + "feature": { + "pre": [ + "{% set key = 'landuse' %}", + "{% set value = tags.landuse %}" + ], + "description": "{{ tagTrans(key, value) }} {{ key}} {{ value }}" + } +}