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.

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