From d79d2f4d735eb466b1ad195dae530de913b1d09c Mon Sep 17 00:00:00 2001 From: animesh-007 Date: Tue, 29 Sep 2020 03:59:28 +0530 Subject: [PATCH 1/2] added new preset --- data/presets.yaml | 4 ++++ data/presets/presets.json | 1 + data/presets/presets/amenity/boat_storage.json | 17 +++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 ++++ 5 files changed, 27 insertions(+) create mode 100644 data/presets/presets/amenity/boat_storage.json diff --git a/data/presets.yaml b/data/presets.yaml index ff04b7e76..05e58f842 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -3212,6 +3212,10 @@ en: # amenity=boat_rental name: Boat Rental terms: '' + amenity/boat_storage: + # amenity=boat_storage + name: Boat Storage + terms: '' amenity/bureau_de_change: # amenity=bureau_de_change name: Currency Exchange diff --git a/data/presets/presets.json b/data/presets/presets.json index a5882d615..d4b310421 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -81,6 +81,7 @@ "amenity/biergarten": {"icon": "fas-beer", "fields": ["name", "address", "opening_hours", "opening_hours/covid19", "outdoor_seating", "brewery"], "moreFields": ["{amenity/bar}", "building_area", "cuisine"], "geometry": ["point", "area"], "tags": {"amenity": "biergarten"}, "terms": ["beer", "bier", "booze"], "name": "Biergarten"}, "amenity/binoculars": {"icon": "temaki-binoculars", "fields": ["operator", "access_simple", "fee", "payment_multi_fee", "charge_fee", "direction", "height", "ele_node"], "moreFields": ["colour", "covered", "indoor", "lit", "manufacturer", "ref"], "geometry": ["point"], "terms": ["observation viewer", "optical ranger", "spotting scope", "sight", "spyglass", "telescope", "tower viewer", "viewfinder", "viewing stand"], "tags": {"amenity": "binoculars"}, "name": "Mounted Binoculars"}, "amenity/boat_rental": {"icon": "temaki-boat_rental", "fields": ["name", "operator", "operator/type", "opening_hours", "opening_hours/covid19", "fee", "payment_multi_fee", "charge_fee"], "moreFields": ["access_simple", "address", "email", "fax", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"amenity": "boat_rental"}, "name": "Boat Rental"}, + "amenity/boat_storage": {"icon": "temaki-boat_rental", "fields": ["name", "building_area", "start_date"], "geometry": ["point", "area"], "tags": {"amenity": "boat_storage"}, "name": "Boat Storage"}, "amenity/bureau_de_change": {"icon": "temaki-money_hand", "fields": ["name", "operator", "payment_multi", "currency_multi", "address", "building_area"], "moreFields": ["email", "fax", "level", "opening_hours", "opening_hours/covid19", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["bureau de change", "money changer"], "tags": {"amenity": "bureau_de_change"}, "name": "Currency Exchange"}, "amenity/cafe": {"icon": "maki-cafe", "fields": ["name", "cuisine", "address", "building_area", "opening_hours", "opening_hours/covid19", "outdoor_seating", "internet_access", "internet_access/fee", "internet_access/ssid", "phone", "website"], "moreFields": ["air_conditioning", "bar", "brand", "capacity", "delivery", "diet_multi", "email", "fax", "gnis/feature_id", "level", "min_age", "not/name", "payment_multi", "ref/vatin", "reservation", "smoking", "takeaway", "wheelchair"], "geometry": ["point", "area"], "terms": ["bistro", "coffee", "tea"], "tags": {"amenity": "cafe"}, "name": "Cafe"}, "amenity/cafe/bubble_tea": {"icon": "temaki-bubble_tea", "geometry": ["point", "area"], "tags": {"amenity": "cafe", "cuisine": "bubble_tea"}, "reference": {"key": "cuisine", "value": "bubble_tea"}, "terms": ["boba", "bubble milk tea", "pearl milk tea", "taiwanese tea drink", "tapioca", "pearl tea", "boba drink"], "name": "Bubble Tea Cafe"}, diff --git a/data/presets/presets/amenity/boat_storage.json b/data/presets/presets/amenity/boat_storage.json new file mode 100644 index 000000000..8335b7696 --- /dev/null +++ b/data/presets/presets/amenity/boat_storage.json @@ -0,0 +1,17 @@ + +{ + "icon": "temaki-boat_rental", + "fields": [ + "name", + "building_area", + "start_date" + ], + "geometry": [ + "point", + "area" + ], + "tags": { + "amenity": "boat_storage" + }, + "name": "Boat Storage" +} \ No newline at end of file diff --git a/data/taginfo.json b/data/taginfo.json index 36d8b4600..16d429a1a 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -85,6 +85,7 @@ {"key": "amenity", "value": "biergarten", "description": "🄿 Biergarten", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-beer.svg"}, {"key": "amenity", "value": "binoculars", "description": "🄿 Mounted Binoculars", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/binoculars.svg"}, {"key": "amenity", "value": "boat_rental", "description": "🄿 Boat Rental", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/boat_rental.svg"}, + {"key": "amenity", "value": "boat_storage", "description": "🄿 Boat Storage", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/boat_rental.svg"}, {"key": "amenity", "value": "bureau_de_change", "description": "🄿 Currency Exchange", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/money_hand.svg"}, {"key": "amenity", "value": "cafe", "description": "🄿 Cafe", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/cafe-15.svg"}, {"key": "cuisine", "value": "bubble_tea", "description": "🄿 Bubble Tea Cafe", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/bubble_tea.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 85e994b07..164f9bcf1 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -5640,6 +5640,10 @@ "name": "Boat Rental", "terms": "" }, + "amenity/boat_storage": { + "name": "Boat Storage", + "terms": "" + }, "amenity/bureau_de_change": { "name": "Currency Exchange", "terms": "bureau de change,money changer" From 04aa2dd646d0beec3ad7db4d5b416d0d24b32c5b Mon Sep 17 00:00:00 2001 From: animesh-007 Date: Tue, 29 Sep 2020 04:03:54 +0530 Subject: [PATCH 2/2] added line break --- data/presets/presets/amenity/boat_storage.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/presets/presets/amenity/boat_storage.json b/data/presets/presets/amenity/boat_storage.json index 8335b7696..c6c43bf97 100644 --- a/data/presets/presets/amenity/boat_storage.json +++ b/data/presets/presets/amenity/boat_storage.json @@ -1,4 +1,3 @@ - { "icon": "temaki-boat_rental", "fields": [ @@ -14,4 +13,4 @@ "amenity": "boat_storage" }, "name": "Boat Storage" -} \ No newline at end of file +}