{ "type": "overpass", "name": { "ast": "Servicios educativos", "cs": "Vzdělávací služby", "de": "Bildungseinrichtungen", "el": "Υπηρεσίες Εκπαίδευσης", "en": "Educational Services", "et": "Haridusteenused", "fr": "Éducation", "hu": "Oktatás", "it": "Istruzione", "ja": "教育サービス", "nl": "Onderwijs", "pl": "Edukacyjne", "pt": "Educação", "pt-br": "Educação", "ro": "Servicii educatie", "ru": "Образование", "uk": "Освіта" }, "query": { "11": [ "(", "node[amenity~'^(college|university|library)$'];", "way[amenity~'^(college|university|library)$'];", "relation[amenity~'^(college|university|library)$'];", ")" ], "14": [ "(", "nwr[amenity~'^(college|university|library|school|kindergarten|language_school)$'];", "nwr[office~\"^(educational_institution|research)$\"];", ")" ], "16": [ "(", "nwr[amenity~'^(college|university|library|school|kindergarten|language_school|public_bookcase)$'];", "nwr[office~\"^(educational_institution|research)$\"];", ")" ] }, "feature": { "pre": [ "{% if tags.office == 'educational_institution' or tags.office == 'research' %}", " {% set key = 'office' %}", " {% set value = tags.office %}", "{% else %}", " {% set key = 'amenity' %}", " {% set value = tags.amenity %}", "{% endif %}" ], "description": "{{ tagTrans(key, value) }}", "body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}
{% endif %}", "markerSign": [ "{% set data = const[key ~ '=' ~ value] %}", "{% if data %}", "{{ data.sign|raw }}", "{% endif %}" ], "priority": [ "{% set data = const[key ~ '=' ~ value] %}", "{% if data %}", "{{ data.priority }}", "{% endif %}" ] }, "info": [ "", "{% for kv, data in const %}", "{% if data.zoom <= map.zoom %}", " ", " ", " ", " ", "{% endif %}", "{% endfor %}", "
{{ markerCircle({})|raw }}
{{ data.sign|raw }}
", " {{ tagTrans(kv|split('=')[0], kv|split('=')[1]) }}", "
" ], "const": { "amenity=university": { "priority": 0, "sign": "🎓", "zoom": 11 }, "amenity=college": { "priority": 1, "sign": "🎓", "zoom": 11 }, "amenity=library": { "priority": 2, "sign": "🕮", "zoom": 11 }, "amenity=school": { "priority": 3, "sign": "🏫", "zoom": 14 }, "amenity=language_school": { "priority": 3, "sign": "🏫", "zoom": 14 }, "amenity=kindergarten": { "priority": 4, "sign": "⛹", "zoom": 14 }, "amenity=public_bookcase": { "priority": 5, "sign": "📚", "zoom": 16 }, "office=educational_institution": { "priority": 3, "sign": "🏢", "zoom": 14 }, "office=research": { "priority": 3, "sign": "", "zoom": 14 } }, "filter": { "type": { "name": "{{ trans('filter:type') }}", "show_default": "true", "type": "select", "values": "{% for k, v in const %}{% endfor %}" } } }