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
1.5 KiB

8 years ago
  1. {
  2. "name": {
  3. "ast": "Comunicaciones",
  4. "ca": "Comunicacions",
  5. "cs": "Komunikace",
  6. "de": "Kommunikation",
  7. "el": "Επικοινωνίες",
  8. "en": "Communication",
  9. "et": "Kommunikatsioon",
  10. "fr": "Communication",
  11. "hu": "Kommunikácó",
  12. "it": "Communicazioni",
  13. "ja": "交流",
  14. "nl": "Communicatie",
  15. "ro": "Comunicatii",
  16. "ru": "Услуги связи",
  17. "uk": "Телекомунікації"
  18. },
  19. "type": "overpass",
  20. "query": {
  21. "13": "(node[amenity~'^(post_office|internet_cafe)$'];way[amenity~'^(post_office|internet_cafe)$'];relation[amenity~'^(post_office|internet_cafe)$'];);",
  22. "16": "(node[amenity~'^(post_office|internet_cafe|post_box|telephone)$'];way[amenity~'^(post_office|internet_cafe)$'];relation[amenity~'^(post_office|internet_cafe)$'];);"
  23. },
  24. "minZoom": 13,
  25. "feature": {
  26. "title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) |default(tagTrans('amenity', tags.amenity)) }}",
  27. "markerSign": "{% if tags.amenity=='post_office' %}🏤{% elseif tags.amenity=='post_box'%}📮{% elseif tags.amenity=='internet_cafe' %}💻{% elseif tags.amenity=='telephone' %}✆{% endif %}",
  28. "body": "{{ tagTrans('amenity', tags.amenity) }}<br/>{% if tags.operator %}{{ keyTrans('operator') }}: {{ localizedTag(tags, 'operator') }}<br/>{% endif %}",
  29. "description": "{{ tagTrans('amenity', tags.amenity) }}"
  30. }
  31. }