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.

53 lines
1.5 KiB

{
"type": "overpass",
"name": {
"ast": "Militar",
"cs": "Vojenské",
"de": "Militär",
"el": "Στρατιωτικό",
"en": "Military",
"fr": "Équipements et zones militaires",
"hu": "Katonai objektumok",
"it": "Militare",
"ja": "軍事",
"nl": "Militair",
"pt": "Militar",
"pt-br": "Militar",
"ro": "Militar",
"ru": "Вооружённые силы"
},
"query": {
"11": [
"(",
"node[military~\"^(airfield|danger_area)$\"];",
"node[landuse=military];",
"way[military~\"^(airfield|danger_area)$\"];",
"way[landuse=military];",
"relation[military~\"^(airfield|danger_area)$\"];",
"relation[landuse=military];",
")"
],
"14": [
"(",
"node[military];",
"node[landuse=military];",
"way[military];",
"way[landuse=military];",
"relation[military];",
"relation[landuse=military];",
")"
]
},
"feature": {
"pre": [
"{% if tags.military %}",
" {% set key = 'military' %}",
" {% set value = tags.military %}",
"{% else %}",
" {% set key = 'landuse' %}",
" {% set value = tags.landuse %}",
"{% endif %}"
],
"description": "{{ tagTrans(key, value) }}"
}
}