Main categories of OpenStreetBrowser with public transport zoom level
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.

31 lines
2.1 KiB

8 years ago
  1. {
  2. "name": {
  3. "ast": "Servicios educativos",
  4. "cs": "Vzdělávací služby",
  5. "de": "Bildungseinrichtungen",
  6. "el": "Υπηρεσίες Εκπαίδευσης",
  7. "en": "Educational Services",
  8. "et": "Haridusteenused",
  9. "fr": "Service d'Éducation",
  10. "it": "Istruzione",
  11. "ja": "教育サービス",
  12. "nl": "Onderwijs",
  13. "pl": "Edukacyjne",
  14. "ro": "Servicii educatie",
  15. "ru": "Образование",
  16. "uk": "Освіта"
  17. },
  18. "type": "overpass",
  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. "minZoom": 11,
  25. "feature": {
  26. "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 %}",
  27. "body": "{{ tagTrans('amenity', tags.amenity) }}<br/>{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
  28. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  29. "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 %}"
  30. }
  31. }