Main categories of OpenStreetBrowser
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.

25 lines
1.1 KiB

{
"type": "overpass",
"name": {
"ast": "Militar",
"cs": "Vojenské",
"de": "Militär",
"el": "Στρατιωτικό",
"en": "Military",
"fr": "Militaire",
"hu": "Katonai",
"it": "Militare",
"ja": "軍事",
"nl": "Militair",
"ro": "Militar",
"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) }}"
}
}