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.

109 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": "Educação",
  16. "pt-br": "Educação",
  17. "ro": "Servicii educatie",
  18. "ru": "Образование",
  19. "uk": "Освіта"
  20. },
  21. "query": {
  22. "11": [
  23. "(",
  24. "node[amenity~'^(college|university|library)$'];",
  25. "way[amenity~'^(college|university|library)$'];",
  26. "relation[amenity~'^(college|university|library)$'];",
  27. ")"
  28. ],
  29. "14": [
  30. "(",
  31. "node[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
  32. "way[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
  33. "relation[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
  34. ")"
  35. ],
  36. "16": [
  37. "(",
  38. "node[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
  39. "way[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
  40. "relation[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
  41. ")"
  42. ]
  43. },
  44. "feature": {
  45. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  46. "body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
  47. "markerSign": [
  48. "{% set data = const[tags.amenity] %}",
  49. "{% if data %}",
  50. "{{ data.sign }}",
  51. "{% endif %}"
  52. ],
  53. "priority": [
  54. "{% set data = const[tags.amenity] %}",
  55. "{% if data %}",
  56. "{{ data.priority }}",
  57. "{% endif %}"
  58. ]
  59. },
  60. "info": [
  61. "<table>",
  62. "{% for value, data in const %}",
  63. "{% if data.zoom <= map.zoom %}",
  64. " <tr>",
  65. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign }}</div></td>",
  66. " <td>{{ tagTrans('amenity', value) }}</td>",
  67. " </tr>",
  68. "{% endif %}",
  69. "{% endfor %}",
  70. "</table>"
  71. ],
  72. "const": {
  73. "university": {
  74. "priority": 0,
  75. "sign": "🎓",
  76. "zoom": 11
  77. },
  78. "college": {
  79. "priority": 1,
  80. "sign": "🎓",
  81. "zoom": 11
  82. },
  83. "library": {
  84. "priority": 2,
  85. "sign": "🕮",
  86. "zoom": 11
  87. },
  88. "school": {
  89. "priority": 3,
  90. "sign": "🏫",
  91. "zoom": 14
  92. },
  93. "language_school": {
  94. "priority": 3,
  95. "sign": "🏫",
  96. "zoom": 14
  97. },
  98. "kindergarten": {
  99. "priority": 4,
  100. "sign": "⛹",
  101. "zoom": 14
  102. },
  103. "public_bookcase": {
  104. "priority": 5,
  105. "sign": "📚",
  106. "zoom": 16
  107. }
  108. }
  109. }