Main categories of OpenStreetBrowser with public transport zoom level
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.
 
 

77 lines
2.5 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] }}"
},
"const": {
"baby_hatch": "🚼",
"clinic": "🏥",
"dentist": "☤",
"defibrillator": "❤",
"doctor": "☤",
"doctors": "☤",
"hospital": "🏥",
"nursing_home": "",
"pharmacy": "",
"social_facility": "",
"veterinary": "🐕"
}
}