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.

30 lines
2.1 KiB

8 years ago
  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": "(node[amenity~'^(college|university|library)$'];way[amenity~'^(college|university|library)$'];relation[amenity~'^(college|university|library)$'];)",
  21. "14": "(node[amenity~'^(college|university|library|school|kindergarten|language_school)$'];way[amenity~'^(college|university|library|school|kindergarten|language_school)$'];relation[amenity~'^(college|university|library|school|kindergarten|language_school)$'];)",
  22. "16": "(node[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];way[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];relation[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];)"
  23. },
  24. "feature": {
  25. "markerSign": "{% if tags.amenity == 'university' or tags.amenity == 'college' %}🎓{% elseif tags.amenity == 'library' %}🕮{% elseif tags.amenity == 'school' or tags.amenity == 'language_school' %}🏫{% elseif tags.amenity == 'kindergarten' %}⛹{% elseif tags.amenity == 'public_bookcase' %}📚{% endif %}",
  26. "body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
  27. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  28. "priority": "{% if tags.amenity == 'university' %}0{% elseif tags.amenity == 'college' %}1{% elseif tags.amenity == 'library' %}2{% elseif tags.amenity == 'school' or tags.amenity == 'language_school' %}3{% elseif tags.amenity == 'kindergarten' %}4{% elseif tags.amenity == 'public_bookcase' %}5{% endif %}"
  29. }
  30. }