Browse Source

Developments: split planning from construction, create new tree under infrastructure

heritage
parent
commit
065a582c3a
  1. 8
      construction.json
  2. 12
      index.json
  3. 20
      planning.json

8
construction.json

@ -17,12 +17,8 @@
"query": { "query": {
"13": [ "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)$\"];",
")" ")"
] ]
}, },

12
index.json

@ -265,9 +265,21 @@
{ {
"id": "agriculture" "id": "agriculture"
}, },
{
"id": "developments",
"type": "index",
"name": {
"en": "Planning and Construction"
},
"subCategories": [
{ {
"id": "construction" "id": "construction"
}, },
{
"id": "planning"
}
]
},
{ {
"id": "military" "id": "military"
}, },

20
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 }}"
}
}
Loading…
Cancel
Save