From 3d72f17f5bcbaf81b58a1a5ffa40dd006b76229c Mon Sep 17 00:00:00 2001 From: animesh-007 Date: Sat, 9 May 2020 19:25:27 +0530 Subject: [PATCH 1/2] added automated field --- data/presets.yaml | 3 +++ data/presets/fields.json | 1 + data/presets/fields/automated.json | 5 +++++ data/presets/presets.json | 2 +- data/presets/presets/amenity/car_wash.json | 4 +++- data/taginfo.json | 1 + dist/locales/en.json | 3 +++ 7 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 data/presets/fields/automated.json diff --git a/data/presets.yaml b/data/presets.yaml index ad66a7856e..5cf3cf9113 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -235,6 +235,9 @@ en: attraction: # attraction=* label: Type + automated: + # automated=* + label: automated baby_feeding: # baby_feeding=* label: Baby Nursing Area diff --git a/data/presets/fields.json b/data/presets/fields.json index 5ef6625915..368c0a3eac 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -26,6 +26,7 @@ "artwork_type": {"key": "artwork_type", "type": "combo", "label": "Type"}, "atm": {"key": "atm", "type": "check", "label": "ATM"}, "attraction": {"key": "attraction", "type": "typeCombo", "label": "Type"}, + "automated": {"key": "automated", "type": "check", "label": "automated"}, "baby_feeding": {"key": "baby_feeding", "type": "combo", "label": "Baby Nursing Area", "strings": {"options": {"room": "Dedicated Room", "yes": "Marked Space", "no": "None"}}, "terms": ["baby feeding", "breastfeeding", "lactation", "mothers", "nursing"]}, "baby_seat": {"key": "baby", "type": "check", "label": "Baby Seat"}, "backcountry": {"key": "backcountry", "type": "check", "label": "Backcountry"}, diff --git a/data/presets/fields/automated.json b/data/presets/fields/automated.json new file mode 100644 index 0000000000..837d586415 --- /dev/null +++ b/data/presets/fields/automated.json @@ -0,0 +1,5 @@ +{ + "key": "automated", + "type": "check", + "label": "automated" +} \ No newline at end of file diff --git a/data/presets/presets.json b/data/presets/presets.json index f687563d34..929e308899 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -84,7 +84,7 @@ "amenity/car_pooling": {"icon": "temaki-car_pool", "fields": ["name", "operator", "operator/type", "capacity", "address", "opening_hours", "opening_hours/covid19", "lit"], "moreFields": ["email", "fax", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"amenity": "car_pooling"}, "terms": ["car sharing", "carpooling", "lift sharing", "ride sharing"], "name": "Car Pooling Station"}, "amenity/car_rental": {"icon": "maki-car-rental", "fields": ["name", "operator", "address", "opening_hours", "opening_hours/covid19", "payment_multi"], "moreFields": ["brand", "email", "fax", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"amenity": "car_rental"}, "name": "Car Rental"}, "amenity/car_sharing": {"icon": "temaki-sign_and_car", "fields": ["name", "operator", "operator/type", "capacity", "address", "payment_multi", "supervised"], "moreFields": ["brand", "email", "fax", "lit", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"amenity": "car_sharing"}, "name": "Car Sharing Station"}, - "amenity/car_wash": {"icon": "temaki-car_wash", "fields": ["name", "operator", "address", "building_area", "opening_hours", "opening_hours/covid19", "payment_multi", "self_service"], "moreFields": ["email", "fax", "gnis/feature_id", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"amenity": "car_wash"}, "name": "Car Wash"}, + "amenity/car_wash": {"icon": "temaki-car_wash", "fields": ["name", "operator", "address", "building_area", "opening_hours", "opening_hours/covid19", "payment_multi", "self_service", "automated"], "moreFields": ["email", "fax", "gnis/feature_id", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"amenity": "car_wash"}, "name": "Car Wash"}, "amenity/casino": {"icon": "maki-casino", "fields": ["name", "operator", "address", "building_area", "opening_hours", "opening_hours/covid19", "gambling", "smoking"], "moreFields": ["air_conditioning", "email", "fax", "gnis/feature_id", "internet_access", "internet_access/fee", "internet_access/ssid", "level", "min_age", "payment_multi", "phone", "ref/vatin", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["gambling", "roulette", "craps", "poker", "blackjack"], "tags": {"amenity": "casino"}, "name": "Casino"}, "amenity/charging_station": {"icon": "fas-charging-station", "fields": ["name", "operator", "capacity", "access_simple", "fee", "payment_multi_fee", "charge_fee"], "moreFields": ["brand", "covered", "level", "manufacturer"], "geometry": ["point"], "tags": {"amenity": "charging_station"}, "terms": ["EV", "Electric Vehicle", "Supercharger"], "name": "Charging Station"}, "amenity/childcare": {"icon": "fas-child", "fields": ["name", "operator", "operator/type", "address", "building_area", "opening_hours", "opening_hours/covid19", "website"], "moreFields": ["baby_feeding", "email", "fax", "gnis/feature_id", "internet_access", "internet_access/fee", "internet_access/ssid", "level", "max_age", "min_age", "not/name", "payment_multi", "phone", "wheelchair"], "geometry": ["point", "area"], "terms": ["daycare", "orphanage", "playgroup"], "tags": {"amenity": "childcare"}, "name": "Nursery/Childcare"}, diff --git a/data/presets/presets/amenity/car_wash.json b/data/presets/presets/amenity/car_wash.json index 4e72b780b3..318d52acb2 100644 --- a/data/presets/presets/amenity/car_wash.json +++ b/data/presets/presets/amenity/car_wash.json @@ -8,7 +8,9 @@ "opening_hours", "opening_hours/covid19", "payment_multi", - "self_service" + "self_service", + "automated" + ], "moreFields": [ "email", diff --git a/data/taginfo.json b/data/taginfo.json index ba6c46c649..253cc3b1d9 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1344,6 +1344,7 @@ {"key": "artist_name", "description": "🄵 Artist"}, {"key": "artwork_type", "description": "🄵 Type"}, {"key": "atm", "description": "🄵 ATM"}, + {"key": "automated", "description": "🄵 automated"}, {"key": "baby_feeding", "value": "room", "description": "🄵 Baby Nursing Area"}, {"key": "baby_feeding", "value": "yes", "description": "🄵 Baby Nursing Area"}, {"key": "baby_feeding", "value": "no", "description": "🄵 Baby Nursing Area"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index b749ca7157..6ac7862e3d 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -2798,6 +2798,9 @@ "attraction": { "label": "Type" }, + "automated": { + "label": "automated" + }, "baby_feeding": { "label": "Baby Nursing Area", "terms": "baby feeding,breastfeeding,lactation,mothers,nursing", From dfa274b3ab5893bd1855b8112366dd9d23e85705 Mon Sep 17 00:00:00 2001 From: animesh-007 Date: Wed, 20 May 2020 20:27:22 +0530 Subject: [PATCH 2/2] made requested changes --- data/presets.yaml | 2 +- data/presets/fields.json | 2 +- data/presets/fields/automated.json | 2 +- data/taginfo.json | 2 +- dist/locales/en.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/presets.yaml b/data/presets.yaml index 43e32f4fe0..976252f1df 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -237,7 +237,7 @@ en: label: Type automated: # automated=* - label: automated + label: Automated baby_feeding: # baby_feeding=* label: Baby Nursing Area diff --git a/data/presets/fields.json b/data/presets/fields.json index 8b9a62111b..f081b15509 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -26,7 +26,7 @@ "artwork_type": {"key": "artwork_type", "type": "combo", "label": "Type"}, "atm": {"key": "atm", "type": "check", "label": "ATM"}, "attraction": {"key": "attraction", "type": "typeCombo", "label": "Type"}, - "automated": {"key": "automated", "type": "check", "label": "automated"}, + "automated": {"key": "automated", "type": "check", "label": "Automated"}, "baby_feeding": {"key": "baby_feeding", "type": "combo", "label": "Baby Nursing Area", "strings": {"options": {"room": "Dedicated Room", "yes": "Marked Space", "no": "None"}}, "terms": ["baby feeding", "breastfeeding", "lactation", "mothers", "nursing"]}, "baby_seat": {"key": "baby", "type": "check", "label": "Baby Seat"}, "backcountry": {"key": "backcountry", "type": "check", "label": "Backcountry"}, diff --git a/data/presets/fields/automated.json b/data/presets/fields/automated.json index 837d586415..8846ca813b 100644 --- a/data/presets/fields/automated.json +++ b/data/presets/fields/automated.json @@ -1,5 +1,5 @@ { "key": "automated", "type": "check", - "label": "automated" + "label": "Automated" } \ No newline at end of file diff --git a/data/taginfo.json b/data/taginfo.json index b6661c5c22..29027a34b0 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1348,7 +1348,7 @@ {"key": "artist_name", "description": "🄵 Artist"}, {"key": "artwork_type", "description": "🄵 Type"}, {"key": "atm", "description": "🄵 ATM"}, - {"key": "automated", "description": "🄵 automated"}, + {"key": "automated", "description": "🄵 Automated"}, {"key": "baby_feeding", "value": "room", "description": "🄵 Baby Nursing Area"}, {"key": "baby_feeding", "value": "yes", "description": "🄵 Baby Nursing Area"}, {"key": "baby_feeding", "value": "no", "description": "🄵 Baby Nursing Area"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index b46cc6ce03..7aa2f6b875 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -2819,7 +2819,7 @@ "label": "Type" }, "automated": { - "label": "automated" + "label": "Automated" }, "baby_feeding": { "label": "Baby Nursing Area",