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.
88 lines
3.0 KiB
88 lines
3.0 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Salú",
|
|
"cs": "Zdravotnictví",
|
|
"de": "Gesundheitsdienste",
|
|
"el": "Υγεία",
|
|
"en": "Health",
|
|
"fr": "Santé",
|
|
"it": "Sanità",
|
|
"ja": "健康",
|
|
"nl": "Gezondheid",
|
|
"pl": "Zdrowie",
|
|
"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 %}",
|
|
"{% else %}",
|
|
" {% set key = 'amenity' %}",
|
|
" {% set value = tags.amenity %}",
|
|
"{% endif %}"
|
|
],
|
|
"description": [
|
|
"{{ tagTrans(key, value) }}",
|
|
"{% if attribute(tags, 'healthcare:speciality') %}",
|
|
"-",
|
|
"{{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}",
|
|
"{% endif %}"
|
|
],
|
|
"markerSign": "{{ const[value]|raw }}"
|
|
},
|
|
"info": [
|
|
"<table>",
|
|
"{% for value, sign in const %}",
|
|
" <tr>",
|
|
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
|
|
" <td>{{ tagTrans('amenity', value) }}</td>",
|
|
" </tr>",
|
|
"{% endfor %}",
|
|
"</table>"
|
|
],
|
|
"const": {
|
|
"baby_hatch": "🚼",
|
|
"blood_bank": "<img src='maki:blood-bank'>",
|
|
"blood_donation": "<img src='maki:blood-bank'>",
|
|
"clinic": "🏥",
|
|
"defibrillator": "<img src='maki:defibrillator'>",
|
|
"dentist": "<img src='maki:dentist'>",
|
|
"doctor": "<img src='maki:doctor'>",
|
|
"doctors": "<img src='maki:doctor'>",
|
|
"hospital": "🏥",
|
|
"nursing_home": "",
|
|
"pharmacy": "<img src='maki:pharmacy'>",
|
|
"social_facility": "",
|
|
"veterinary": "<img src='maki:veterinary'>"
|
|
}
|
|
}
|