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.

75 lines
2.2 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Servicios d'emerxencia",
  5. "ca": "Serveis d'emergència",
  6. "cs": "Pohotovostní služby",
  7. "de": "Notfalldienste",
  8. "el": "Υπηρεσίες Έκτακτης Ανάγκης",
  9. "en": "Emergency Services",
  10. "es": "Servicios de emergencia",
  11. "et": "Hädaabi teenused",
  12. "fr": "Service d'urgence",
  13. "it": "Servizi d'emergenza",
  14. "ja": "緊急サービス",
  15. "nl": "Hulpdiensten",
  16. "ro": "Servicii urgenta",
  17. "ru": "Экстренные службы",
  18. "uk": "Швидка допомога"
  19. },
  20. "query": {
  21. "11": [
  22. "(",
  23. "node[amenity~\"^(fire_station|hospital)$\"];",
  24. "way[amenity~\"^(fire_station|hospital)$\"];",
  25. "relation[amenity~\"^(fire_station|hospital)$\"];",
  26. ")"
  27. ],
  28. "13": [
  29. "(",
  30. "node[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
  31. "way[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
  32. "relation[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
  33. ")"
  34. ]
  35. },
  36. "feature": {
  37. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  38. "markerSign": [
  39. "{% set data = const[tags.amenity] %}",
  40. "{% if data %}",
  41. "{{ data.sign }}",
  42. "{% endif %}"
  43. ]
  44. },
  45. "info": [
  46. "<table>",
  47. "{% for value, data in const %}",
  48. "{% if data.zoom <= map.zoom %}",
  49. " <tr>",
  50. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign }}</div></td>",
  51. " <td>{{ tagTrans('amenity', value) }}</td>",
  52. " </tr>",
  53. "{% endif %}",
  54. "{% endfor %}",
  55. "</table>"
  56. ],
  57. "const": {
  58. "fire_station": {
  59. "zoom": "11",
  60. "sign": "🔥"
  61. },
  62. "hospital": {
  63. "zoom": "11",
  64. "sign": "🏥"
  65. },
  66. "police": {
  67. "zoom": "13",
  68. "sign": "👮"
  69. },
  70. "emergency_phone": {
  71. "zoom": "13",
  72. "sign": "📞"
  73. }
  74. }
  75. }