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.

161 lines
4.0 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)(;.*|)$"];
  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. - healthcare=blood_bank
  95. sign: <img data-src='maki:blood-bank'>
  96. - types:
  97. - healthcare=blood_donation
  98. sign: <img data-src='maki:blood-bank'>
  99. - types:
  100. - amenity=nursing_home
  101. - types:
  102. - amenity=social_facility
  103. sign: <i class="fas fa-users"></i>
  104. - types:
  105. - amenity=veterinary
  106. sign: <img data-src='maki:veterinary'>
  107. - types:
  108. - healthcare=physiotherapist
  109. sign: <i class="fas fa-user-injured"></i>
  110. - types:
  111. - healthcare=psychotherapist
  112. sign: <i class="fas fa-couch"></i>
  113. - types:
  114. - healthcare=alternative
  115. sign: ''
  116. - types:
  117. - healthcare=audiologist
  118. sign: <i class="fas fa-headphones-alt"></i>
  119. - types:
  120. - healthcare=birthing_centre
  121. - healthcare=birthing_center
  122. sign: <i class="fas fa-baby"></i>
  123. - types:
  124. - healthcare=dialysis
  125. sign: ''
  126. - types:
  127. - healthcare=laboratory
  128. sign: <i class="fas fa-vials"></i>
  129. - types:
  130. - healthcare=midwife
  131. sign: ''
  132. - types:
  133. - healthcare=nutrition_counseling
  134. sign: <i class="fas fa-carrot"></i>
  135. - types:
  136. - healthcare=occupational_therapist
  137. sign: ''
  138. - types:
  139. - healthcare=optometrist
  140. sign: <i class="fas fa-eye"></i>
  141. - types:
  142. - healthcare=podiatrist
  143. sign: ''
  144. - types:
  145. - healthcare=rehabilitation
  146. sign: <i class="fas fa-crutch"></i>
  147. - types:
  148. - healthcare=speech_therapist
  149. sign: ''
  150. filter:
  151. type:
  152. name: '{{ trans("filter:type") }}'
  153. show_default: 'true'
  154. type: select
  155. values: |-
  156. {% for data in const %}
  157. <option value="{{ data.types[0] }}" query="({% for t in data.types %}nwr[{{ t|replace({ '=': '^' }) }}];{% endfor %})">
  158. {{ tagTrans(data.types[0]) }}
  159. </option>
  160. {% endfor %}