From 64eb437a8ad5cde7f3463836f34dce0253bf25bb Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 15 Apr 2019 18:01:12 -0700 Subject: [PATCH] Add Lighting Store preset for shop=lighting --- data/presets.yaml | 5 +++++ data/presets/presets.json | 1 + data/presets/presets/shop/lighting.json | 18 ++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 ++++ svg/fontawesome/far-lightbulb.svg | 1 + 6 files changed, 30 insertions(+) create mode 100644 data/presets/presets/shop/lighting.json create mode 100644 svg/fontawesome/far-lightbulb.svg diff --git a/data/presets.yaml b/data/presets.yaml index 0e0a27739..0dedcf7d7 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -6646,6 +6646,11 @@ en: # shop=leather name: Leather Store terms: '' + shop/lighting: + # shop=lighting + name: Lighting Store + # 'terms: fluorescent lighting,lamps,LEDs,light fixtures,lightbulbs' + terms: '' shop/locksmith: # shop=locksmith name: Locksmith diff --git a/data/presets/presets.json b/data/presets/presets.json index 71922ae7e..cbecfb9ec 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -976,6 +976,7 @@ "shop/kitchen": {"icon": "maki-shop", "geometry": ["point", "area"], "tags": {"shop": "kitchen"}, "terms": ["cabinets", "countertops", "sinks"], "name": "Kitchen Design Store"}, "shop/laundry": {"icon": "maki-laundry", "geometry": ["point", "area"], "tags": {"shop": "laundry"}, "name": "Laundry"}, "shop/leather": {"icon": "maki-shop", "geometry": ["point", "area"], "tags": {"shop": "leather"}, "name": "Leather Store"}, + "shop/lighting": {"icon": "far-lightbulb", "geometry": ["point", "area"], "terms": ["fluorescent lighting", "lamps", "LEDs", "light fixtures", "lightbulbs"], "tags": {"shop": "lighting"}, "name": "Lighting Store"}, "shop/locksmith": {"icon": "fas-key", "geometry": ["point", "area"], "terms": ["key", "lockpick"], "tags": {"shop": "locksmith"}, "name": "Locksmith"}, "shop/lottery": {"icon": "maki-shop", "geometry": ["point", "area"], "tags": {"shop": "lottery"}, "name": "Lottery Shop"}, "shop/mall": {"icon": "maki-shop", "geometry": ["point", "area"], "terms": ["shopping"], "tags": {"shop": "mall"}, "name": "Mall"}, diff --git a/data/presets/presets/shop/lighting.json b/data/presets/presets/shop/lighting.json new file mode 100644 index 000000000..34ee5d4a3 --- /dev/null +++ b/data/presets/presets/shop/lighting.json @@ -0,0 +1,18 @@ +{ + "icon": "far-lightbulb", + "geometry": [ + "point", + "area" + ], + "terms": [ + "fluorescent lighting", + "lamps", + "LEDs", + "light fixtures", + "lightbulbs" + ], + "tags": { + "shop": "lighting" + }, + "name": "Lighting Store" +} diff --git a/data/taginfo.json b/data/taginfo.json index 580a126f0..44996b7ad 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -919,6 +919,7 @@ {"key": "shop", "value": "kitchen", "description": "🄿 Kitchen Design Store", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shop-15.svg?sanitize=true"}, {"key": "shop", "value": "laundry", "description": "🄿 Laundry", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/laundry-15.svg?sanitize=true"}, {"key": "shop", "value": "leather", "description": "🄿 Leather Store", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shop-15.svg?sanitize=true"}, + {"key": "shop", "value": "lighting", "description": "🄿 Lighting Store", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/fontawesome/far-lightbulb.svg?sanitize=true"}, {"key": "shop", "value": "locksmith", "description": "🄿 Locksmith", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/fontawesome/fas-key.svg?sanitize=true"}, {"key": "shop", "value": "lottery", "description": "🄿 Lottery Shop", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shop-15.svg?sanitize=true"}, {"key": "shop", "value": "mall", "description": "🄿 Mall", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shop-15.svg?sanitize=true"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 218a7872c..4babd4d18 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7966,6 +7966,10 @@ "name": "Leather Store", "terms": "" }, + "shop/lighting": { + "name": "Lighting Store", + "terms": "fluorescent lighting,lamps,LEDs,light fixtures,lightbulbs" + }, "shop/locksmith": { "name": "Locksmith", "terms": "key,lockpick" diff --git a/svg/fontawesome/far-lightbulb.svg b/svg/fontawesome/far-lightbulb.svg new file mode 100644 index 000000000..b2c677898 --- /dev/null +++ b/svg/fontawesome/far-lightbulb.svg @@ -0,0 +1 @@ + \ No newline at end of file