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.

56 lines
2.2 KiB

8 years ago
8 years ago
8 years ago
8 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Serviciu Públicu",
  5. "cs": "Veřejné služby",
  6. "de": "Öffentliche Dienste",
  7. "el": "Δημόσιες Υπηρεσίες",
  8. "en": "Public Services",
  9. "et": "Kommunaalteenused",
  10. "fr": "Services Publics",
  11. "it": "Servizi pubblici",
  12. "ja": "公共サービス",
  13. "nl": "Openbare diensten",
  14. "ro": "Servicii publice",
  15. "ru": "Общественные места",
  16. "uk": "Громадські місця"
  17. },
  18. "query": {
  19. "12": [
  20. "(",
  21. "node[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
  22. "way[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
  23. "relation[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
  24. "node[amenity=recycling][recyling_type=centre];",
  25. "way[amenity=recycling][recyling_type=centre];",
  26. "relation[amenity=recycling][recyling_type=centre];",
  27. ");"
  28. ],
  29. "16": [
  30. "(",
  31. "node[amenity~'^(courthouse|embassy|public_building|townhall|clock|drinking_water|recycling)$'];",
  32. "way[amenity~'^(courthouse|embassy|public_building|townhall|recycling)$'];",
  33. "relation[amenity~'^(courthouse|embassy|public_building|townhall|recycling)$'];",
  34. "node[drinking_water];",
  35. ");"
  36. ]
  37. },
  38. "feature": {
  39. "title": "{{ tags.name|default(tags.operator)|default(tagTrans('amenity', tags.amenity)) }}",
  40. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  41. "body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
  42. "markerSign": [
  43. "{% if const[tags.amenity] %}",
  44. "{{ attribute(const, tags.amenity)|raw }}",
  45. "{% endif %}"
  46. ]
  47. },
  48. "const": {
  49. "courthouse": "⚖",
  50. "clock": "<i class='fa fa-clock-o' aria-hidden='true'></i>",
  51. "drinking_water": "<img src='maki:drinking-water'>",
  52. "embassy": "<img src='maki:embassy'>",
  53. "public_building": "<img src='maki:building'>",
  54. "recycling": "<img src='maki:recycling'>",
  55. "townhall": "<img src='maki:town-hall'>"
  56. }
  57. }