Add preset for emergency=fire_alarm_box

This commit is contained in:
Bryan Housel
2018-06-24 12:58:19 -04:00
parent 9f7e55b27d
commit ec6ab6e65d
6 changed files with 33 additions and 0 deletions
+4
View File
@@ -3081,6 +3081,10 @@ en:
emergency/destination:
# emergency=destination
name: Emergency Access Destination
emergency/fire_alarm:
# emergency=fire_alarm_box
name: Fire Alarm Call Box
terms: '<translate with synonyms or related terms for ''Fire Alarm Call Box'', separated by commas>'
emergency/fire_extinguisher:
# emergency=fire_extinguisher
name: Fire Extinguisher
+1
View File
@@ -312,6 +312,7 @@
"emergency/yes": {"fields": [], "geometry": ["line"], "tags": {"emergency": "yes"}, "terms": [], "name": "Emergency Access Yes", "searchable": false, "matchScore": 0.01},
"emergency/ambulance_station": {"icon": "fas-ambulance", "fields": ["name", "operator", "building_area", "address"], "geometry": ["point", "area"], "terms": ["EMS", "EMT", "rescue"], "tags": {"emergency": "ambulance_station"}, "name": "Ambulance Station"},
"emergency/defibrillator": {"icon": "maki-defibrillator", "fields": ["indoor", "ref", "operator"], "geometry": ["point", "vertex"], "terms": ["AED"], "tags": {"emergency": "defibrillator"}, "name": "Defibrillator"},
"emergency/fire_alarm": {"icon": "fas-bell", "fields": ["indoor", "ref", "operator"], "geometry": ["point", "vertex"], "tags": {"emergency": "fire_alarm_box"}, "name": "Fire Alarm Call Box"},
"emergency/fire_extinguisher": {"icon": "fas-fire-extinguisher", "fields": ["indoor", "ref", "operator"], "geometry": ["point", "vertex"], "tags": {"emergency": "fire_extinguisher"}, "name": "Fire Extinguisher"},
"emergency/fire_hydrant": {"icon": "temaki-fire_hydrant", "fields": ["fire_hydrant/type", "fire_hydrant/position", "ref", "operator"], "geometry": ["point", "vertex"], "terms": ["fire plug"], "tags": {"emergency": "fire_hydrant"}, "name": "Fire Hydrant"},
"emergency/first_aid_kit": {"icon": "fas-medkit", "fields": ["indoor", "ref", "operator"], "geometry": ["point", "vertex"], "terms": ["bandage", "first aid", "med", "med kit", "medic*", "medkit"], "tags": {"emergency": "first_aid_kit"}, "name": "First Aid Kit"},
@@ -0,0 +1,16 @@
{
"icon": "fas-bell",
"fields": [
"indoor",
"ref",
"operator"
],
"geometry": [
"point",
"vertex"
],
"tags": {
"emergency": "fire_alarm_box"
},
"name": "Fire Alarm Call Box"
}
+7
View File
@@ -2129,6 +2129,13 @@
"object_types": ["node"],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/defibrillator-15.svg?sanitize=true"
},
{
"key": "emergency",
"value": "fire_alarm_box",
"description": "Fire Alarm Call Box",
"object_types": ["node"],
"icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/fontawesome/fas-bell.svg?sanitize=true"
},
{
"key": "emergency",
"value": "fire_extinguisher",
+4
View File
@@ -4079,6 +4079,10 @@
"name": "Defibrillator",
"terms": "AED"
},
"emergency/fire_alarm": {
"name": "Fire Alarm Call Box",
"terms": ""
},
"emergency/fire_extinguisher": {
"name": "Fire Extinguisher",
"terms": ""
+1
View File
@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="bell" class="svg-inline--fa fa-bell fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M433.884 366.059C411.634 343.809 384 316.118 384 208c0-79.394-57.831-145.269-133.663-157.83A31.845 31.845 0 0 0 256 32c0-17.673-14.327-32-32-32s-32 14.327-32 32c0 6.75 2.095 13.008 5.663 18.17C121.831 62.731 64 128.606 64 208c0 108.118-27.643 135.809-49.893 158.059C-16.042 396.208 5.325 448 48.048 448H160c0 35.346 28.654 64 64 64s64-28.654 64-64h111.943c42.638 0 64.151-51.731 33.941-81.941zM224 472a8 8 0 0 1 0 16c-22.056 0-40-17.944-40-40h16c0 13.234 10.766 24 24 24z"></path></svg>

After

Width:  |  Height:  |  Size: 681 B