{ "type": "overpass", "name": { "ast": "Salú", "cs": "Zdravotnictví", "de": "Gesundheitsdienste", "el": "Υγεία", "en": "Health", "fr": "Santé", "hu": "Egészségügy", "it": "Sanità", "ja": "健康", "nl": "Gezondheid", "pl": "Zdrowie", "pt": "Saúde", "pt-br": "Saúde e assistência", "ro": "Sanatate", "ru": "Медицина", "uk": "Здоров'я" }, "query": { "11": [ "(", "node[amenity~\"^(hospital)$\"];", "way[amenity~\"^(hospital)$\"];", "relation[amenity~\"^(hospital)$\"];", "node[healthcare~\"^(hospital|clinic)$\"];", "way[healthcare~\"^(hospital|clinic)$\"];", "relation[healthcare~\"^(hospital|clinic)$\"];", ")" ], "14": [ "(", "node[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];", "node[emergency=defibrillator];", "way[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];", "relation[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];", "node[healthcare];", "way[healthcare];", "relation[healthcare];", ")" ] }, "feature": { "pre": [ "{% if tags.emergency in [ 'defibrillator' ] %}", " {% set key = 'emergency' %}", " {% set value = tags.emergency %}", "{% elseif tags.healthcare %}", " {% set key = 'healthcare' %}", " {% set value = tags.healthcare|split(';')[0] %}", "{% else %}", " {% set key = 'amenity' %}", " {% set value = tags.amenity %}", "{% endif %}", "{% set kv = key ~ '=' ~ value %}", "{% set found = { sign: '' } %}", "{% for data in const %}", " {% if kv in data.types %}{% set found = data %}{% endif %}", "{% endfor %}" ], "description": [ "{{ tagTransList(key, attribute(tags, key)) }}", "{% if attribute(tags, 'healthcare:speciality') %}", "-", "{{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}", "{% endif %}" ], "markerSign": "{{ found.sign|raw }}" }, "info": [ "", "{% for data in const %}", " ", " ", " ", " ", "{% endfor %}", "
{{ markerCircle({})|raw }}
{{ data.sign|raw }}
{{ tagTrans(data.types[0]|split('=')[0], data.types[0]|split('=')[1]) }}
" ], "const": [ { "types": [ "amenity=hospital", "healthcare=hospital" ], "sign": "" }, { "types": [ "healthcare=clinic" ], "sign": "" }, { "types": [ "healthcare=centre" ], "sign": "" }, { "types": [ "healthcare=doctor", "amenity=doctors" ], "sign": "" }, { "types": [ "amenity=pharmacy", "healthcare=pharmacy" ], "sign": "" }, { "types": [ "emergency=defibrillator" ], "sign": "" }, { "types": [ "healthcare=dentist", "amenity=dentist" ], "sign": "" }, { "types": [ "amenity=baby_hatch" ], "sign": "🚼" }, { "types": [ "healthcare=blood_bank" ], "sign": "" }, { "types": [ "healthcare=blood_donation" ], "sign": "" }, { "types": [ "amenity=nursing_home" ] }, { "types": [ "amenity=social_facility" ], "sign": "" }, { "types": [ "amenity=veterinary" ], "sign": "" }, { "types": [ "healthcare=physiotherapist" ], "sign": "" }, { "types": [ "healthcare=psychotherapist" ], "sign": "" }, { "types": [ "healthcare=alternative" ], "sign": "" }, { "types": [ "healthcare=audiologist" ], "sign": "" }, { "types": [ "healthcare=birthing_center" ], "sign": "" }, { "types": [ "healthcare=dialysis" ], "sign": "" }, { "types": [ "healthcare=laboratory" ], "sign": "" }, { "types": [ "healthcare=midwife" ], "sign": "" }, { "types": [ "healthcare=nutrition_counseling" ], "sign": "" }, { "types": [ "healthcare=occupational_therapist" ], "sign": "" }, { "types": [ "healthcare=optometrist" ], "sign": "" }, { "types": [ "healthcare=podiatrist" ], "sign": "" }, { "types": [ "healthcare=rehabilitation" ], "sign": "" }, { "types": [ "healthcare=speech_therapist" ], "sign": "" } ], "filter": { "type": { "name": "{{ trans('filter:type') }}", "show_default": "true", "type": "select", "values": "{% for data in const %}{% endfor %}" } } }