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.

76 lines
2.5 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Salú",
  5. "cs": "Zdravotnictví",
  6. "de": "Gesundheitsdienste",
  7. "el": "Υγεία",
  8. "en": "Health",
  9. "fr": "Santé",
  10. "it": "Sanità",
  11. "ja": "健康",
  12. "nl": "Gezondheid",
  13. "pl": "Zdrowie",
  14. "ro": "Sanatate",
  15. "ru": "Медицина",
  16. "uk": "Здоров'я"
  17. },
  18. "query": {
  19. "11": [
  20. "(",
  21. "node[amenity~\"^(hospital)$\"];",
  22. "way[amenity~\"^(hospital)$\"];",
  23. "relation[amenity~\"^(hospital)$\"];",
  24. "node[healthcare~\"^(hospital|clinic)$\"];",
  25. "way[healthcare~\"^(hospital|clinic)$\"];",
  26. "relation[healthcare~\"^(hospital|clinic)$\"];",
  27. ")"
  28. ],
  29. "14": [
  30. "(",
  31. "node[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  32. "node[emergency=defibrillator];",
  33. "way[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  34. "relation[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  35. "node[healthcare];",
  36. "way[healthcare];",
  37. "relation[healthcare];",
  38. ")"
  39. ]
  40. },
  41. "feature": {
  42. "pre": [
  43. "{% if tags.emergency in [ 'defibrillator' ] %}",
  44. " {% set key = 'emergency' %}",
  45. " {% set value = tags.emergency %}",
  46. "{% elseif tags.healthcare %}",
  47. " {% set key = 'healthcare' %}",
  48. " {% set value = tags.healthcare %}",
  49. "{% else %}",
  50. " {% set key = 'amenity' %}",
  51. " {% set value = tags.amenity %}",
  52. "{% endif %}"
  53. ],
  54. "description": [
  55. "{{ tagTrans(key, value) }}",
  56. "{% if attribute(tags, 'healthcare:speciality') %}",
  57. "-",
  58. "{{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}",
  59. "{% endif %}"
  60. ],
  61. "markerSign": "{{ const[value] }}"
  62. },
  63. "const": {
  64. "baby_hatch": "🚼",
  65. "clinic": "🏥",
  66. "dentist": "☤",
  67. "defibrillator": "❤",
  68. "doctor": "☤",
  69. "doctors": "☤",
  70. "hospital": "🏥",
  71. "nursing_home": "",
  72. "pharmacy": "",
  73. "social_facility": "",
  74. "veterinary": "🐕"
  75. }
  76. }