Browse Source

Categories in 'agriculture_industry'

fossil
parent
commit
718b0d8def
  1. 8
      agriculture.json
  2. 9
      construction.json
  3. 15
      index.json
  4. 13
      landfill.json
  5. 10
      military.json
  6. 9
      resources.json
  7. 23
      waste.json

8
agriculture.json

@ -1,4 +1,5 @@
{ {
"type": "overpass",
"name": { "name": {
"ast": "Agricultura", "ast": "Agricultura",
"cs": "Zemědělství", "cs": "Zemědělství",
@ -13,5 +14,12 @@
"nl": "Landbouw", "nl": "Landbouw",
"ro": "Agricultura", "ro": "Agricultura",
"ru": "Сельское хозяйство" "ru": "Сельское хозяйство"
},
"query": {
"13": "(\nnode[landuse~\"^(allotments|farm|farmland|farmyard|greenhouse_horticulture|orchard|vineyard)$\"];\nway[landuse~\"^(allotments|farm|farmland|farmyard|greenhouse_horticulture|orchard|vineyard)$\"];\nrelation[landuse~\"^(allotments|farm|farmland|farmyard|greenhouse_horticulture|orchard|vineyard)$\"];\n)"
},
"feature": {
"description": "{{ tagTrans('landuse', tags.landuse) }}",
"body": "{{ tagTrans('landuse', tags.landuse) }}"
} }
} }

9
construction.json

@ -1,4 +1,5 @@
{ {
"type": "overpass",
"name": { "name": {
"ast": "Sitios d'obres", "ast": "Sitios d'obres",
"cs": "Staveniště", "cs": "Staveniště",
@ -9,5 +10,13 @@
"ja": "工事中", "ja": "工事中",
"nl": "Bouwterrein", "nl": "Bouwterrein",
"ru": "Места строительства" "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) }}"
} }
} }

15
index.json

@ -198,12 +198,27 @@
"id": "agriculture_industry", "id": "agriculture_industry",
"type": "index", "type": "index",
"subCategories": [ "subCategories": [
{
"id": "agriculture"
},
{
"id": "construction"
},
{
"id": "military"
},
{ {
"id": "power" "id": "power"
}, },
{ {
"id": "railway" "id": "railway"
}, },
{
"id": "resources"
},
{
"id": "waste"
},
{ {
"id": "works" "id": "works"
} }

13
landfill.json

@ -1,13 +0,0 @@
{
"name": {
"ast": "Basures",
"cs": "Nakládání s odpady",
"de": "Entsorgung",
"en": "Disposal",
"fr": "Rebuts",
"it": "Smaltimento",
"ja": "処理場",
"nl": "Afvalverwijdering",
"ru": "Переработка отходов"
}
}

10
military.json

@ -1,4 +1,5 @@
{ {
"type": "overpass",
"name": { "name": {
"ast": "Militar", "ast": "Militar",
"cs": "Vojenské", "cs": "Vojenské",
@ -12,5 +13,14 @@
"nl": "Militair", "nl": "Militair",
"ro": "Militar", "ro": "Militar",
"ru": "Вооружённые силы" "ru": "Вооружённые силы"
},
"query": {
"11": "(\nnode[military~\"^(airfield|danger_area)$\"];\nnode[landuse=military];\nway[military~\"^(airfield|danger_area)$\"];\nway[landuse=military];\nrelation[military~\"^(airfield|danger_area)$\"];\nrelation[landuse=military];\n)",
"14": "(\nnode[military];\nnode[landuse=military];\nway[military];\nway[landuse=military];\nrelation[military];\nrelation[landuse=military];\n)"
},
"feature": {
"pre": "{% if tags.military %}\n {% set key = 'military' %}\n {% set value = tags.military %}\n{% else %}\n {% set key = 'landuse' %}\n {% set value = tags.landuse %}\n{% endif %}",
"description": "{{ tagTrans(key, value) }}",
"body": "{{ tagTrans(key, value) }}"
} }
} }

9
resources.json

@ -1,4 +1,5 @@
{ {
"type": "overpass",
"name": { "name": {
"ast": "Estraición de recursos", "ast": "Estraición de recursos",
"cs": "Těžba surovin", "cs": "Těžba surovin",
@ -8,5 +9,13 @@
"it": "Areee estrattive", "it": "Areee estrattive",
"nl": "Grondstoffenwinning", "nl": "Grondstoffenwinning",
"ru": "Добыча ресурсов" "ru": "Добыча ресурсов"
},
"query": {
"11": "(\nnode[landuse~\"^(quarry|salt_pond)$\"];\nnode[man_made~\"^(mineshaft)$\"];\nway[landuse~\"^(quarry|salt_pond)$\"];\nway[man_made~\"^(mineshaft)$\"];\nrelation[landuse~\"^(quarry|salt_pond)$\"];\nrelation[man_made~\"^(mineshaft)$\"];\n)"
},
"feature": {
"pre": "{% if tags.landuse in [ 'quarry', 'salt_pond' ] %}\n {% set key = 'landuse' %}\n {% set value = tags.landuse %}\n{% else %}\n {% set key = 'man_made' %}\n {% set value = tags.man_made %}\n{% endif %}",
"description": "{{ tagTrans(key, value) }}",
"body": "{{ tagTrans(key, value) }}"
} }
} }

23
waste.json

@ -0,0 +1,23 @@
{
"type": "overpass",
"name": {
"ast": "Basures",
"cs": "Nakládání s odpady",
"de": "Entsorgung",
"en": "Disposal",
"fr": "Rebuts",
"it": "Smaltimento",
"ja": "処理場",
"nl": "Afvalverwijdering",
"ru": "Переработка отходов"
},
"query": {
"13": "(\nnode[landuse=landfill];\nnode[man_made=wastewater_plant];\nnode[amenity=recycling][recycling_type=centre];\nway[landuse=landfill];\nway[man_made=wastewater_plant];\nway[amenity=recycling][recycling_type=centre];\nrelation[landuse=landfill];\nrelation[man_made=wastewater_plant];\nrelation[amenity=recycling][recycling_type=centre];\n)",
"15": "(\nnode[landuse=landfill];\nnode[man_made=wastewater_plant];\nnode[amenity=recycling];\nway[landuse=landfill];\nway[man_made=wastewater_plant];\nway[amenity=recycling];\nrelation[landuse=landfill];\nrelation[man_made=wastewater_plant];\nrelation[amenity=recycling];\n)"
},
"feature": {
"pre": "{% if tags.landuse == 'landfill' %}\n {% set key = 'landuse' %}\n {% set value = tags.landuse %}\n{% elseif tags.man_made == 'wastewater_plant' %}\n {% set key = 'man_made' %}\n {% set value = tags.man_made %}\n{% elseif tags.amenity == 'recycling' %}\n {% set key = 'amenity' %}\n {% set value = tags.amenity %}\n{% endif %}",
"description": "{{ tagTrans(key, value) }}",
"body": "{{ tagTrans(key, value) }}\n{% if tags.recycling_type %}\n<br/>\n{{ keyTrans('recycling_type') }}: {{ tagTrans('recycling_type', tags.recycling_type) }}\n{% endif %}"
}
}
Loading…
Cancel
Save