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

  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. "pt": "Militar",
  15. "pt-br": "Militar",
  16. "ro": "Militar",
  17. "ru": "Вооружённые силы"
  18. },
  19. "query": {
  20. "11": [
  21. "(",
  22. "node[military~\"^(airfield|danger_area)$\"];",
  23. "node[landuse=military];",
  24. "way[military~\"^(airfield|danger_area)$\"];",
  25. "way[landuse=military];",
  26. "relation[military~\"^(airfield|danger_area)$\"];",
  27. "relation[landuse=military];",
  28. ")"
  29. ],
  30. "14": [
  31. "(",
  32. "node[military];",
  33. "node[landuse=military];",
  34. "way[military];",
  35. "way[landuse=military];",
  36. "relation[military];",
  37. "relation[landuse=military];",
  38. ")"
  39. ]
  40. },
  41. "feature": {
  42. "pre": [
  43. "{% if tags.military %}",
  44. " {% set key = 'military' %}",
  45. " {% set value = tags.military %}",
  46. "{% else %}",
  47. " {% set key = 'landuse' %}",
  48. " {% set value = tags.landuse %}",
  49. "{% endif %}"
  50. ],
  51. "description": "{{ tagTrans(key, value) }}"
  52. }
  53. }