Add booth field to telephone presets

(closes #5088)
This commit is contained in:
Bryan Housel
2018-06-24 12:11:56 -04:00
parent a5b8e4b8bd
commit b1252d43ff
9 changed files with 23 additions and 6 deletions
+3
View File
@@ -241,6 +241,9 @@ en:
board_type:
# board_type=*
label: Type
booth:
# booth=*
label: Booth
boules:
# boules=*
label: Type
+1
View File
@@ -33,6 +33,7 @@
"bin": {"key": "bin", "type": "check", "label": "Waste Bin"},
"blood_components": {"key": "blood:", "type": "multiCombo", "label": "Blood Components", "strings": {"options": {"whole": "whole blood", "plasma": "plasma", "platelets": "platelets", "stemcells": "stem cell samples"}}},
"board_type": {"key": "board_type", "type": "typeCombo", "label": "Type"},
"booth": {"key": "booth", "type": "combo", "label": "Booth", "caseSensitive": true},
"boules": {"key": "boules", "type": "typeCombo", "label": "Type"},
"boundary": {"key": "boundary", "type": "combo", "label": "Type"},
"brand": {"key": "brand", "type": "text", "label": "Brand"},
+6
View File
@@ -0,0 +1,6 @@
{
"key": "booth",
"type": "combo",
"label": "Booth",
"caseSensitive": true
}
+2 -2
View File
@@ -137,7 +137,7 @@
"amenity/social_facility/nursing_home": {"icon": "maki-wheelchair", "fields": ["name", "operator", "address", "building_area", "social_facility", "social_facility_for", "opening_hours", "wheelchair"], "geometry": ["point", "area"], "terms": ["elderly", "living", "nursing", "old", "senior", "assisted living"], "tags": {"amenity": "social_facility", "social_facility": "nursing_home", "social_facility:for": "senior"}, "reference": {"key": "social_facility", "value": "nursing_home"}, "name": "Nursing Home"},
"amenity/studio": {"icon": "maki-karaoke", "fields": ["name", "studio", "address", "building_area"], "geometry": ["point", "area"], "terms": ["recording", "radio", "television"], "tags": {"amenity": "studio"}, "name": "Studio"},
"amenity/taxi": {"icon": "fas-taxi", "fields": ["name", "operator", "capacity"], "geometry": ["point", "vertex", "area"], "terms": ["cab"], "tags": {"amenity": "taxi"}, "name": "Taxi Stand"},
"amenity/telephone": {"icon": "maki-telephone", "fields": ["operator", "phone", "fee", "payment_multi", "covered", "indoor"], "geometry": ["point", "vertex"], "tags": {"amenity": "telephone"}, "terms": ["phone"], "name": "Telephone"},
"amenity/telephone": {"icon": "maki-telephone", "fields": ["operator", "phone", "fee", "payment_multi", "covered", "indoor", "booth"], "geometry": ["point", "vertex"], "tags": {"amenity": "telephone"}, "terms": ["phone"], "name": "Telephone"},
"amenity/theatre": {"icon": "maki-theatre", "fields": ["name", "operator", "address", "building_area"], "geometry": ["point", "area"], "terms": ["theatre", "performance", "play", "musical"], "tags": {"amenity": "theatre"}, "name": "Theater"},
"amenity/toilets": {"icon": "maki-toilet", "fields": ["toilets/disposal", "operator", "building_area", "access_simple", "gender", "fee", "diaper"], "geometry": ["point", "vertex", "area"], "terms": ["bathroom", "restroom", "outhouse", "privy", "head", "lavatory", "latrine", "water closet", "WC", "W.C."], "tags": {"amenity": "toilets"}, "name": "Toilets"},
"amenity/townhall": {"icon": "maki-town-hall", "fields": ["name", "operator", "address", "building_area"], "geometry": ["point", "area"], "terms": ["village", "city", "government", "courthouse", "municipal"], "tags": {"amenity": "townhall"}, "name": "Town Hall"},
@@ -316,7 +316,7 @@
"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"},
"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/phone": {"icon": "maki-emergency-phone", "fields": ["ref", "operator", "covered", "indoor", "booth"], "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"},
+2 -1
View File
@@ -6,7 +6,8 @@
"fee",
"payment_multi",
"covered",
"indoor"
"indoor",
"booth"
],
"geometry": [
"point",
+4 -2
View File
@@ -1,9 +1,11 @@
{
"icon": "maki-emergency-phone",
"fields": [
"indoor",
"ref",
"operator"
"operator",
"covered",
"indoor",
"booth"
],
"geometry": [
"point",
+1
View File
@@ -6345,6 +6345,7 @@
{"key": "blood:", "value": "platelets", "description": "Blood Components"},
{"key": "blood:", "value": "stemcells", "description": "Blood Components"},
{"key": "board_type", "description": "Type"},
{"key": "booth", "description": "Booth"},
{"key": "boules", "description": "Type"},
{"key": "boundary", "description": "Type"},
{"key": "brand", "description": "Brand"},
+3
View File
@@ -1572,6 +1572,9 @@
"board_type": {
"label": "Type"
},
"booth": {
"label": "Booth"
},
"boules": {
"label": "Type"
},
+1 -1
View File
@@ -264,7 +264,7 @@ export default {
// A few OSM keys expect values to contain uppercase values (see #3377).
// This is not an exhaustive list (e.g. `name` also has uppercase values)
// but these are the fields where taginfo value lookup is most useful.
var re = /network|taxon|genus|species|brand|grape_variety|rating|:output|_hours|_times/;
var re = /network|taxon|genus|species|brand|grape_variety|booth|rating|:output|_hours|_times/;
var allowUpperCase = (params.key.match(re) !== null);
var f = filterValues(allowUpperCase);