Main categories of OpenStreetBrowser
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.
 
 

75 lines
2.2 KiB

{
"type": "overpass",
"name": {
"ast": "Servicios d'emerxencia",
"ca": "Serveis d'emergència",
"cs": "Pohotovostní služby",
"de": "Notfalldienste",
"el": "Υπηρεσίες Έκτακτης Ανάγκης",
"en": "Emergency Services",
"es": "Servicios de emergencia",
"et": "Hädaabi teenused",
"fr": "Service d'urgence",
"it": "Servizi d'emergenza",
"ja": "緊急サービス",
"nl": "Hulpdiensten",
"ro": "Servicii urgenta",
"ru": "Экстренные службы",
"uk": "Швидка допомога"
},
"query": {
"11": [
"(",
"node[amenity~\"^(fire_station|hospital)$\"];",
"way[amenity~\"^(fire_station|hospital)$\"];",
"relation[amenity~\"^(fire_station|hospital)$\"];",
")"
],
"13": [
"(",
"node[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
"way[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
"relation[amenity~\"^(fire_station|hospital|police|emergency_phone)$\"];",
")"
]
},
"feature": {
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"markerSign": [
"{% set data = const[tags.amenity] %}",
"{% if data %}",
"{{ data.sign }}",
"{% endif %}"
]
},
"info": [
"<table>",
"{% for value, data in const %}",
"{% if data.zoom <= map.zoom %}",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign }}</div></td>",
" <td>{{ tagTrans('amenity', value) }}</td>",
" </tr>",
"{% endif %}",
"{% endfor %}",
"</table>"
],
"const": {
"fire_station": {
"zoom": "11",
"sign": "🔥"
},
"hospital": {
"zoom": "11",
"sign": "🏥"
},
"police": {
"zoom": "13",
"sign": "👮"
},
"emergency_phone": {
"zoom": "13",
"sign": "📞"
}
}
}