Main categories of OpenStreetBrowser with support for whitewater
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
1.4 KiB

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