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.

163 lines
4.3 KiB

  1. type: overpass
  2. name:
  3. ast: Salú
  4. ca: Sanitat
  5. cs: Zdravotnictví
  6. de: Gesundheitsdienste
  7. el: Υγεία
  8. en: Health
  9. es: Salud
  10. fr: Santé
  11. gl: Saúde
  12. hu: Egészségügy
  13. it: Salute
  14. ja: 健康
  15. nb: Helse
  16. nl: Gezondheid
  17. oc: Santat
  18. pl: Zdrowie
  19. pt: Saúde
  20. pt-br: Saúde e assistência
  21. ro: Sanatate
  22. ru: Медицина
  23. sr: Здравље
  24. tr: Sağlık
  25. uk: Здоров'я
  26. query:
  27. 11: |-
  28. (
  29. node[amenity~"^(hospital)$"];
  30. way[amenity~"^(hospital)$"];
  31. relation[amenity~"^(hospital)$"];
  32. node[healthcare~"^(hospital|clinic)$"];
  33. way[healthcare~"^(hospital|clinic)$"];
  34. relation[healthcare~"^(hospital|clinic)$"];
  35. )
  36. 14: |-
  37. (
  38. node[amenity~"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$"];
  39. way[amenity~"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$"];
  40. relation[amenity~"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$"];
  41. node[healthcare];
  42. way[healthcare];
  43. relation[healthcare];
  44. )
  45. feature:
  46. pre: |-
  47. {% if tags.healthcare %}
  48. {% set key = 'healthcare' %}
  49. {% set value = tags.healthcare|split(';')[0] %}
  50. {% else %}
  51. {% set key = 'amenity' %}
  52. {% set value = tags.amenity %}
  53. {% endif %}
  54. {% set kv = key ~ '=' ~ value %}
  55. {% set found = { sign: '' } %}
  56. {% for data in const %}
  57. {% if kv in data.types %}{% set found = data %}{% endif %}
  58. {% endfor %}
  59. description: |-
  60. {{ tagTransList(key, attribute(tags, key)) }}
  61. {% if attribute(tags, 'healthcare:speciality') %}
  62. -
  63. {{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}
  64. {% endif %}
  65. markerSign: '{{ found.sign|raw }}'
  66. info: |-
  67. <table>
  68. {% for data in const %}
  69. <tr>
  70. <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>
  71. <td>{{ tagTrans(data.types[0]|split('=')[0], data.types[0]|split('=')[1]) }}</td>
  72. </tr>
  73. {% endfor %}
  74. </table>
  75. const:
  76. - types:
  77. - amenity=hospital
  78. - healthcare=hospital
  79. sign: <i class="fas fa-hospital-alt"></i>
  80. - types:
  81. - healthcare=clinic
  82. sign: <i class="fas fa-hospital"></i>
  83. - types:
  84. - healthcare=centre
  85. sign: <i class="far fa-hospital"></i>
  86. - types:
  87. - healthcare=doctor
  88. - amenity=doctors
  89. sign: <img data-src='maki:doctor'>
  90. - types:
  91. - amenity=pharmacy
  92. - healthcare=pharmacy
  93. sign: <img data-src='maki:pharmacy'>
  94. - types:
  95. - healthcare=dentist
  96. - amenity=dentist
  97. sign: <img data-src='maki:dentist'>
  98. - types:
  99. - amenity=baby_hatch
  100. sign: 🚼
  101. - types:
  102. - healthcare=blood_bank
  103. sign: <img data-src='maki:blood-bank'>
  104. - types:
  105. - healthcare=blood_donation
  106. sign: <img data-src='maki:blood-bank'>
  107. - types:
  108. - amenity=nursing_home
  109. - types:
  110. - amenity=social_facility
  111. sign: <i class="fas fa-users"></i>
  112. - types:
  113. - amenity=veterinary
  114. sign: <img data-src='maki:veterinary'>
  115. - types:
  116. - healthcare=physiotherapist
  117. sign: <i class="fas fa-user-injured"></i>
  118. - types:
  119. - healthcare=psychotherapist
  120. sign: <i class="fas fa-couch"></i>
  121. - types:
  122. - healthcare=alternative
  123. sign: ''
  124. - types:
  125. - healthcare=audiologist
  126. sign: <i class="fas fa-headphones-alt"></i>
  127. - types:
  128. - healthcare=birthing_centre
  129. - healthcare=birthing_center
  130. sign: <i class="fas fa-baby"></i>
  131. - types:
  132. - healthcare=dialysis
  133. sign: ''
  134. - types:
  135. - healthcare=laboratory
  136. sign: <i class="fas fa-vials"></i>
  137. - types:
  138. - healthcare=midwife
  139. sign: ''
  140. - types:
  141. - healthcare=nutrition_counseling
  142. sign: <i class="fas fa-carrot"></i>
  143. - types:
  144. - healthcare=occupational_therapist
  145. sign: ''
  146. - types:
  147. - healthcare=optometrist
  148. sign: <i class="fas fa-eye"></i>
  149. - types:
  150. - healthcare=podiatrist
  151. sign: ''
  152. - types:
  153. - healthcare=rehabilitation
  154. sign: <i class="fas fa-crutch"></i>
  155. - types:
  156. - healthcare=speech_therapist
  157. sign: ''
  158. filter:
  159. type:
  160. name: '{{ trans("filter:type") }}'
  161. show_default: 'true'
  162. type: select
  163. values: '{% for data in const %}<option value="{{ data.types[0] }}" query="({% for t in data.types %}nwr[{{ t }}];{% endfor %})" minzoom="{{ data.zoom }}">{{ tagTrans(data.types[0]) }}</option>{% endfor %}'