Browse Source

Category 'emergency'

master
parent
commit
ad1522be60
  1. 24
      emergency.json
  2. 3
      index.json

24
emergency.json

@ -1,4 +1,5 @@
{ {
"type": "overpass",
"name": { "name": {
"ast": "Servicios d'emerxencia", "ast": "Servicios d'emerxencia",
"ca": "Serveis d'emergència", "ca": "Serveis d'emergència",
@ -15,5 +16,28 @@
"ro": "Servicii urgenta", "ro": "Servicii urgenta",
"ru": "Экстренные службы", "ru": "Экстренные службы",
"uk": "Швидка допомога" "uk": "Швидка допомога"
},
"query": {
"11": "(node[amenity~\"^(fire_station|hospital)$\"];\nway[amenity~\"^(fire_station|hospital)$\"];\nrelation[amenity~\"^(fire_station|hospital)$\"])",
"13": "(node[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];\nway[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];\nrelation[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"])"
},
"feature": {
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"body": "{{ tagTrans('amenity', tags.amenity) }}",
"markerSign": "{% set data = const[tags.amenity] %}\n{% if data %}\n{{ data.sign }}\n{% endif %}"
},
"const": {
"fire_station": {
"sign": "🔥"
},
"hospital": {
"sign": "🏥"
},
"police": {
"sign": "👮"
},
"emergency_phone": {
"sign": "📞"
}
} }
} }

3
index.json

@ -64,6 +64,9 @@
"id": "services", "id": "services",
"type": "index", "type": "index",
"subCategories": [ "subCategories": [
{
"id": "emergency"
},
{ {
"id": "education" "id": "education"
}, },

Loading…
Cancel
Save