Main categories of OpenStreetBrowser
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.

76 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": "Services d'urgence",
  13. "it": "Servizi d'emergenza",
  14. "ja": "緊急サービス",
  15. "nl": "Hulpdiensten",
  16. "pt-br": "Emergência",
  17. "ro": "Servicii urgenta",
  18. "ru": "Экстренные службы",
  19. "uk": "Швидка допомога"
  20. },
  21. "query": {
  22. "11": [
  23. "(",
  24. "node[amenity~\"^(fire_station|hospital)$\"];",
  25. "way[amenity~\"^(fire_station|hospital)$\"];",
  26. "relation[amenity~\"^(fire_station|hospital)$\"];",
  27. ")"
  28. ],
  29. "13": [
  30. "(",
  31. "node[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
  32. "way[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
  33. "relation[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
  34. ")"
  35. ]
  36. },
  37. "feature": {
  38. "description": "{{ tagTrans('amenity', tags.amenity) }}",
  39. "markerSign": [
  40. "{% set data = const[tags.amenity] %}",
  41. "{% if data %}",
  42. "{{ data.sign }}",
  43. "{% endif %}"
  44. ]
  45. },
  46. "info": [
  47. "<table>",
  48. "{% for value, data in const %}",
  49. "{% if data.zoom <= map.zoom %}",
  50. " <tr>",
  51. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign }}</div></td>",
  52. " <td>{{ tagTrans('amenity', value) }}</td>",
  53. " </tr>",
  54. "{% endif %}",
  55. "{% endfor %}",
  56. "</table>"
  57. ],
  58. "const": {
  59. "fire_station": {
  60. "zoom": "11",
  61. "sign": "🔥"
  62. },
  63. "hospital": {
  64. "zoom": "11",
  65. "sign": "🏥"
  66. },
  67. "police": {
  68. "zoom": "13",
  69. "sign": "👮"
  70. },
  71. "emergency_phone": {
  72. "zoom": "13",
  73. "sign": "📞"
  74. }
  75. }
  76. }