Add preset for emergency=siren

(closes #5100)
This commit is contained in:
Bryan Housel
2018-06-21 12:27:58 -04:00
parent b238d442a6
commit 2786974210
9 changed files with 90 additions and 0 deletions
+18
View File
@@ -1332,6 +1332,19 @@ en:
shop:
# shop=*
label: Type
siren/purpose:
# 'siren:purpose=*'
label: Purpose
siren/type:
# 'siren:type=*'
label: Type
options:
# 'siren:type=electronic'
electronic: Electronic
# 'siren:type=other'
other: Other
# 'siren:type=pneumatic'
pneumatic: Pneumatic
site:
# site=*
label: Type
@@ -3097,6 +3110,11 @@ en:
emergency/private:
# emergency=private
name: Emergency Access Private
emergency/siren:
# emergency=siren
name: Siren
# 'terms: air raid,loud,noise,storm,tornado,warning'
terms: '<translate with synonyms or related terms for ''Siren'', separated by commas>'
emergency/water_tank:
# emergency=water_tank
name: Emergency Water Tank
+2
View File
@@ -236,6 +236,8 @@
"shelter_type": {"key": "shelter_type", "type": "combo", "label": "Type"},
"shelter": {"key": "shelter", "type": "check", "label": "Shelter"},
"shop": {"key": "shop", "type": "typeCombo", "label": "Type"},
"siren/purpose": {"key": "siren:purpose", "type": "combo", "label": "Purpose"},
"siren/type": {"key": "siren:type", "type": "combo", "label": "Type", "strings": {"options": {"pneumatic": "Pneumatic", "electronic": "Electronic", "other": "Other"}}},
"site": {"key": "site", "type": "combo", "label": "Type"},
"smoking": {"key": "smoking", "type": "combo", "label": "Smoking", "placeholder": "No, Separated, Yes...", "strings": {"options": {"no": "No smoking anywhere", "separated": "In smoking areas, not physically isolated", "isolated": "In smoking areas, physically isolated", "outside": "Allowed outside", "yes": "Allowed everywhere", "dedicated": "Dedicated to smokers (e.g. smokers' club)"}}},
"smoothness": {"key": "smoothness", "type": "combo", "label": "Smoothness", "placeholder": "Thin Rollers, Wheels, Off-Road...", "strings": {"options": {"excellent": "Thin Rollers: rollerblade, skateboard", "good": "Thin Wheels: racing bike", "intermediate": "Wheels: city bike, wheelchair, scooter", "bad": "Robust Wheels: trekking bike, car, rickshaw", "very_bad": "High Clearance: light duty off-road vehicle", "horrible": "Off-Road: heavy duty off-road vehicle", "very_horrible": "Specialized off-road: tractor, ATV", "impassable": "Impassable / No wheeled vehicle"}}},
+5
View File
@@ -0,0 +1,5 @@
{
"key": "siren:purpose",
"type": "combo",
"label": "Purpose"
}
+12
View File
@@ -0,0 +1,12 @@
{
"key": "siren:type",
"type": "combo",
"label": "Type",
"strings": {
"options": {
"pneumatic": "Pneumatic",
"electronic": "Electronic",
"other": "Other"
}
}
}
+1
View File
@@ -317,6 +317,7 @@
"emergency/first_aid": {"icon": "fas-medkit", "fields": ["indoor", "ref", "operator"], "geometry": ["point", "vertex"], "terms": ["bandage", "first aid", "med", "med kit", "medic*", "medkit"], "tags": {"emergency": "first_aid"}, "name": "First Aid Kit"},
"emergency/life_ring": {"icon": "fas-life-ring", "fields": ["ref", "operator"], "geometry": ["point", "vertex"], "terms": ["life buoy", "kisby ring", "kisbie ring", "perry buoy"], "tags": {"emergency": "life_ring"}, "name": "Life Ring"},
"emergency/phone": {"icon": "maki-emergency-phone", "fields": ["indoor", "ref", "operator"], "geometry": ["point", "vertex"], "tags": {"emergency": "phone"}, "name": "Emergency Phone"},
"emergency/siren": {"icon": "fas-volume-up", "fields": ["siren/purpose", "siren/type", "ref", "operator"], "geometry": ["point", "vertex"], "terms": ["air raid", "loud", "noise", "storm", "tornado", "warning"], "tags": {"emergency": "siren"}, "name": "Siren"},
"emergency/water_tank": {"icon": "maki-water", "fields": ["name", "ref", "operator"], "geometry": ["point", "vertex"], "terms": ["water tank", "cistern", "reservoir"], "tags": {"emergency": "water_tank"}, "name": "Emergency Water Tank"},
"entrance": {"icon": "maki-entrance-alt1", "geometry": ["vertex"], "tags": {"entrance": "*"}, "fields": ["entrance", "access_simple", "address"], "name": "Entrance/Exit"},
"footway/crossing-raised": {"fields": ["crossing", "access", "surface", "kerb", "tactile_paving"], "geometry": ["line"], "tags": {"highway": "footway", "footway": "crossing", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "terms": ["flat top", "hump", "speed", "slow"], "name": "Raised Street Crossing"},
+25
View File
@@ -0,0 +1,25 @@
{
"icon": "fas-volume-up",
"fields": [
"siren/purpose",
"siren/type",
"ref",
"operator"
],
"geometry": [
"point",
"vertex"
],
"terms": [
"air raid",
"loud",
"noise",
"storm",
"tornado",
"warning"
],
"tags": {
"emergency": "siren"
},
"name": "Siren"
}
+11
View File
@@ -2164,6 +2164,13 @@
"object_types": ["node"],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/emergency-phone-15.svg?sanitize=true"
},
{
"key": "emergency",
"value": "siren",
"description": "Siren",
"object_types": ["node"],
"icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/fontawesome/fas-volume-up.svg?sanitize=true"
},
{
"key": "emergency",
"value": "water_tank",
@@ -6867,6 +6874,10 @@
{"key": "service:vehicle:", "description": "Services"},
{"key": "shelter_type", "description": "Type"},
{"key": "shelter", "description": "Shelter"},
{"key": "siren:purpose", "description": "Purpose"},
{"key": "siren:type", "value": "pneumatic", "description": "Type"},
{"key": "siren:type", "value": "electronic", "description": "Type"},
{"key": "siren:type", "value": "other", "description": "Type"},
{"key": "site", "description": "Type"},
{"key": "smoking", "value": "no", "description": "Smoking"},
{"key": "smoking", "value": "separated", "description": "Smoking"},
+15
View File
@@ -2492,6 +2492,17 @@
"shop": {
"label": "Type"
},
"siren/purpose": {
"label": "Purpose"
},
"siren/type": {
"label": "Type",
"options": {
"pneumatic": "Pneumatic",
"electronic": "Electronic",
"other": "Other"
}
},
"site": {
"label": "Type"
},
@@ -4084,6 +4095,10 @@
"name": "Emergency Phone",
"terms": ""
},
"emergency/siren": {
"name": "Siren",
"terms": "air raid,loud,noise,storm,tornado,warning"
},
"emergency/water_tank": {
"name": "Emergency Water Tank",
"terms": "water tank,cistern,reservoir"
+1
View File
@@ -0,0 +1 @@
<svg aria-hidden="true" data-prefix="fas" data-icon="volume-up" class="svg-inline--fa fa-volume-up fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB