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.

108 lines
3.2 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Servicios educativos",
  5. "cs": "Vzdělávací služby",
  6. "de": "Bildungseinrichtungen",
  7. "el": "Υπηρεσίες Εκπαίδευσης",
  8. "en": "Educational Services",
  9. "et": "Haridusteenused",
  10. "fr": "Éducation",
  11. "it": "Istruzione",
  12. "ja": "教育サービス",
  13. "nl": "Onderwijs",
  14. "pl": "Edukacyjne",
  15. "pt-br": "Educação",
  16. "ro": "Servicii educatie",
  17. "ru": "Образование",
  18. "uk": "Освіта"
  19. },
  20. "query": {
  21. "11": [
  22. "(",
  23. "node[amenity~'^(college|university|library)$'];",
  24. "way[amenity~'^(college|university|library)$'];",
  25. "relation[amenity~'^(college|university|library)$'];",
  26. ")"
  27. ],
  28. "14": [
  29. "(",
  30. "node[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
  31. "way[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
  32. "relation[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
  33. ")"
  34. ],
  35. "16": [
  36. "(",
  37. "node[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
  38. "way[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
  39. "relation[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
  40. ")"
  41. ]
  42. },
  43. "feature": {
  44. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  45. "body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
  46. "markerSign": [
  47. "{% set data = const[tags.amenity] %}",
  48. "{% if data %}",
  49. "{{ data.sign }}",
  50. "{% endif %}"
  51. ],
  52. "priority": [
  53. "{% set data = const[tags.amenity] %}",
  54. "{% if data %}",
  55. "{{ data.priority }}",
  56. "{% endif %}"
  57. ]
  58. },
  59. "info": [
  60. "<table>",
  61. "{% for value, data in const %}",
  62. "{% if data.zoom <= map.zoom %}",
  63. " <tr>",
  64. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign }}</div></td>",
  65. " <td>{{ tagTrans('amenity', value) }}</td>",
  66. " </tr>",
  67. "{% endif %}",
  68. "{% endfor %}",
  69. "</table>"
  70. ],
  71. "const": {
  72. "university": {
  73. "priority": 0,
  74. "sign": "🎓",
  75. "zoom": 11
  76. },
  77. "college": {
  78. "priority": 1,
  79. "sign": "🎓",
  80. "zoom": 11
  81. },
  82. "library": {
  83. "priority": 2,
  84. "sign": "🕮",
  85. "zoom": 11
  86. },
  87. "school": {
  88. "priority": 3,
  89. "sign": "🏫",
  90. "zoom": 14
  91. },
  92. "language_school": {
  93. "priority": 3,
  94. "sign": "🏫",
  95. "zoom": 14
  96. },
  97. "kindergarten": {
  98. "priority": 4,
  99. "sign": "⛹",
  100. "zoom": 14
  101. },
  102. "public_bookcase": {
  103. "priority": 5,
  104. "sign": "📚",
  105. "zoom": 16
  106. }
  107. }
  108. }