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.

51 lines
1.4 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Militar",
  5. "cs": "Vojenské",
  6. "de": "Militär",
  7. "el": "Στρατιωτικό",
  8. "en": "Military",
  9. "fr": "Militaire",
  10. "hu": "Katonai",
  11. "it": "Militare",
  12. "ja": "軍事",
  13. "nl": "Militair",
  14. "ro": "Militar",
  15. "ru": "Вооружённые силы"
  16. },
  17. "query": {
  18. "11": [
  19. "(",
  20. "node[military~\"^(airfield|danger_area)$\"];",
  21. "node[landuse=military];",
  22. "way[military~\"^(airfield|danger_area)$\"];",
  23. "way[landuse=military];",
  24. "relation[military~\"^(airfield|danger_area)$\"];",
  25. "relation[landuse=military];",
  26. ")"
  27. ],
  28. "14": [
  29. "(",
  30. "node[military];",
  31. "node[landuse=military];",
  32. "way[military];",
  33. "way[landuse=military];",
  34. "relation[military];",
  35. "relation[landuse=military];",
  36. ")"
  37. ]
  38. },
  39. "feature": {
  40. "pre": [
  41. "{% if tags.military %}",
  42. " {% set key = 'military' %}",
  43. " {% set value = tags.military %}",
  44. "{% else %}",
  45. " {% set key = 'landuse' %}",
  46. " {% set value = tags.landuse %}",
  47. "{% endif %}"
  48. ],
  49. "description": "{{ tagTrans(key, value) }}"
  50. }
  51. }