Browse Source

Health: include defibrillators

master
parent
commit
069fe4b5a0
  1. 8
      health.json

8
health.json

@ -17,16 +17,18 @@
}, },
"query": { "query": {
"11": "(\nnode[amenity~\"^(hospital)$\"];\nway[amenity~\"^(hospital)$\"];\nrelation[amenity~\"^(hospital)$\"]\n)", "11": "(\nnode[amenity~\"^(hospital)$\"];\nway[amenity~\"^(hospital)$\"];\nrelation[amenity~\"^(hospital)$\"]\n)",
"14": "(\nnode[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];\nway[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];\nrelation[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"]\n)"
"14": "(\nnode[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];\nnode[emergency=defibrillator];\nway[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];\nrelation[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"]\n)"
}, },
"feature": { "feature": {
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"markerSign": "{{ const[tags.amenity] }}"
"pre": "{% if tags.emergency in [ 'defibrillator' ] %}\n {% set key = 'emergency' %}\n {% set value = tags.emergency %}\n{% else %}\n {% set key = 'amenity' %}\n {% set value = tags.amenity %}\n{% endif %}\n",
"description": "{{ tagTrans(key, value) }}",
"markerSign": "{{ const[value] }}"
}, },
"const": { "const": {
"baby_hatch": "🚼", "baby_hatch": "🚼",
"clinic": "🏥", "clinic": "🏥",
"dentist": "☤", "dentist": "☤",
"defibrillator": "❤",
"doctors": "☤", "doctors": "☤",
"hospital": "🏥", "hospital": "🏥",
"nursing_home": "", "nursing_home": "",

Loading…
Cancel
Save