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.

164 lines
4.1 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. nwr[amenity~"^(.*;|)(hospital)(;.*|)$"];
  30. nwr[healthcare~"^(.*;|)(hospital|clinic)(;.*|)$"];
  31. )
  32. 14: |-
  33. (
  34. nwr[amenity~"^(.*;|)(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary|scale)(;.*|)$"];
  35. nwr[healthcare];
  36. )
  37. feature:
  38. pre: |-
  39. {% if tags.healthcare %}
  40. {% set key = 'healthcare' %}
  41. {% set value = tags.healthcare|split(';')[0] %}
  42. {% else %}
  43. {% set key = 'amenity' %}
  44. {% set value = tags.amenity %}
  45. {% endif %}
  46. {% set kv = key ~ '=' ~ value %}
  47. {% set found = { sign: '' } %}
  48. {% for data in const %}
  49. {% if kv in data.types %}{% set found = data %}{% endif %}
  50. {% endfor %}
  51. description: |-
  52. {{ tagTransList(key, attribute(tags, key)) }}
  53. {% if attribute(tags, 'healthcare:speciality') %}
  54. -
  55. {{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}
  56. {% endif %}
  57. markerSign: '{{ found.sign|raw }}'
  58. info: |-
  59. <table>
  60. {% for data in const %}
  61. <tr>
  62. <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>
  63. <td>{{ tagTrans(data.types[0]|split('=')[0], data.types[0]|split('=')[1]) }}</td>
  64. </tr>
  65. {% endfor %}
  66. </table>
  67. const:
  68. - types:
  69. - amenity=hospital
  70. - healthcare=hospital
  71. sign: <i class="fas fa-hospital-alt"></i>
  72. - types:
  73. - healthcare=clinic
  74. sign: <i class="fas fa-hospital"></i>
  75. - types:
  76. - healthcare=centre
  77. sign: <i class="far fa-hospital"></i>
  78. - types:
  79. - healthcare=doctor
  80. - amenity=doctors
  81. sign: <img data-src='maki:doctor'>
  82. - types:
  83. - amenity=pharmacy
  84. - healthcare=pharmacy
  85. sign: <img data-src='maki:pharmacy'>
  86. - types:
  87. - healthcare=dentist
  88. - amenity=dentist
  89. sign: <img data-src='maki:dentist'>
  90. - types:
  91. - amenity=baby_hatch
  92. sign: 🚼
  93. - types:
  94. - amenity=scale
  95. sign: <i class='fa-solid fa-weight-scale'></i>
  96. - types:
  97. - healthcare=blood_bank
  98. sign: <img data-src='maki:blood-bank'>
  99. - types:
  100. - healthcare=blood_donation
  101. sign: <img data-src='maki:blood-bank'>
  102. - types:
  103. - amenity=nursing_home
  104. - types:
  105. - amenity=social_facility
  106. sign: <i class="fas fa-users"></i>
  107. - types:
  108. - amenity=veterinary
  109. sign: <img data-src='maki:veterinary'>
  110. - types:
  111. - healthcare=physiotherapist
  112. sign: <i class="fas fa-user-injured"></i>
  113. - types:
  114. - healthcare=psychotherapist
  115. sign: <i class="fas fa-couch"></i>
  116. - types:
  117. - healthcare=alternative
  118. sign: ''
  119. - types:
  120. - healthcare=audiologist
  121. sign: <i class="fas fa-headphones-alt"></i>
  122. - types:
  123. - healthcare=birthing_centre
  124. - healthcare=birthing_center
  125. sign: <i class="fas fa-baby"></i>
  126. - types:
  127. - healthcare=dialysis
  128. sign: ''
  129. - types:
  130. - healthcare=laboratory
  131. sign: <i class="fas fa-vials"></i>
  132. - types:
  133. - healthcare=midwife
  134. sign: ''
  135. - types:
  136. - healthcare=nutrition_counseling
  137. sign: <i class="fas fa-carrot"></i>
  138. - types:
  139. - healthcare=occupational_therapist
  140. sign: ''
  141. - types:
  142. - healthcare=optometrist
  143. sign: <i class="fas fa-eye"></i>
  144. - types:
  145. - healthcare=podiatrist
  146. sign: ''
  147. - types:
  148. - healthcare=rehabilitation
  149. sign: <i class="fas fa-crutch"></i>
  150. - types:
  151. - healthcare=speech_therapist
  152. sign: ''
  153. filter:
  154. type:
  155. name: '{{ trans("filter:type") }}'
  156. show_default: 'true'
  157. type: select
  158. values: |-
  159. {% for data in const %}
  160. <option value="{{ data.types[0] }}" query="({% for t in data.types %}nwr[{{ t|replace({ '=': '^' }) }}];{% endfor %})">
  161. {{ tagTrans(data.types[0]) }}
  162. </option>
  163. {% endfor %}