From 654ea38dd87ad4dbbaf2b547781bfe14df375981 Mon Sep 17 00:00:00 2001 From: Adamant36 Date: Thu, 19 Jul 2018 14:10:18 -0700 Subject: [PATCH] Add icon for shop=interior_decoration (#3293) --- amenity-points.mss | 5 +++++ project.mml | 8 +++---- symbols/shop/interior_decoration.svg | 31 ++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 symbols/shop/interior_decoration.svg diff --git a/amenity-points.mss b/amenity-points.mss index 09c603971b..d99e87194b 100644 --- a/amenity-points.mss +++ b/amenity-points.mss @@ -1058,6 +1058,10 @@ marker-file: url('symbols/shop/furniture.svg'); } + [shop = 'interior_decoration'][zoom >= 18] { + marker-file: url('symbols/shop/interior_decoration.svg'); + } + [shop = 'medical_supply'][zoom >= 18]{ marker-file: url('symbols/shop/medical_supply.svg'); } @@ -2454,6 +2458,7 @@ [feature = 'shop_hifi'], [feature = 'shop_houseware'], [feature = 'shop_ice_cream'], + [feature = 'shop_interior_decoration'], [feature = 'shop_butcher'], [feature = 'shop_car'], [feature = 'shop_car_repair'], diff --git a/project.mml b/project.mml index 7a00a89a60..d4be648073 100644 --- a/project.mml +++ b/project.mml @@ -1527,7 +1527,7 @@ Layer: 'electronics', 'chemist', 'toys', 'travel_agency', 'car_parts', 'greengrocer', 'farm', 'stationery', 'laundry', 'dry_cleaning', 'beverages', 'perfumery', 'cosmetics', 'variety_store', 'wine', 'outdoor', 'copyshop', 'sports', 'deli', 'tobacco', 'art', 'tea', 'coffee', 'tyres', 'pastry', 'chocolate', - 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') THEN shop + 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand', 'interior_decoration') THEN shop ELSE 'other' END AS shop, way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels FROM planet_osm_polygon @@ -1660,7 +1660,7 @@ Layer: 'electronics', 'chemist', 'toys', 'travel_agency', 'car_parts', 'greengrocer', 'farm', 'stationery', 'laundry', 'dry_cleaning', 'beverages', 'perfumery', 'cosmetics', 'variety_store', 'wine', 'outdoor', 'copyshop', 'sports', 'deli', 'tobacco', 'art', 'tea', 'coffee', 'tyres', 'pastry', 'chocolate', - 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') THEN shop + 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand', 'interior_decoration') THEN shop ELSE 'other' END AS shop, NULL AS way_pixels FROM planet_osm_point @@ -2063,7 +2063,7 @@ Layer: 'musical_instrument', 'newsagent', 'optician', 'jewelry', 'jewellery', 'electronics', 'chemist', 'toys', 'travel_agency', 'car_parts', 'greengrocer', 'farm', 'stationery', 'laundry', 'dry_cleaning', 'beverages', 'perfumery', 'cosmetics', 'variety_store', 'wine', 'outdoor', 'copyshop', 'sports', 'deli', 'tobacco', 'art', 'tea', - 'coffee', 'tyres', 'pastry', 'chocolate', 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') THEN shop + 'coffee', 'tyres', 'pastry', 'chocolate', 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand', 'interior_decoration') THEN shop WHEN shop IN ('no', 'vacant', 'closed', 'disused', 'empty') OR shop IS NULL THEN NULL ELSE 'other' END, 'office' || CASE WHEN tags->'office' IN ('no', 'vacant', 'closed', 'disused', 'empty') OR (tags->'office') IS NULL THEN NULL ELSE '' END, 'leisure_' || CASE WHEN leisure IN ('swimming_pool', 'water_park', 'miniature_golf', 'golf_course', 'fitness_centre', 'sports_centre', 'stadium', 'track', @@ -2230,7 +2230,7 @@ Layer: 'newsagent', 'optician', 'jewelry', 'jewellery', 'electronics', 'chemist', 'toys', 'travel_agency', 'car_parts', 'greengrocer', 'farm', 'stationery', 'laundry', 'dry_cleaning', 'beverages', 'perfumery', 'cosmetics', 'variety_store', 'wine', 'outdoor', 'copyshop', 'sports', 'deli', 'tobacco', 'art', 'tea', 'coffee', 'tyres', - 'pastry', 'chocolate', 'music', 'medical_supply','dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') THEN shop + 'pastry', 'chocolate', 'music', 'medical_supply','dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand', 'interior_decoration') THEN shop WHEN shop IN ('no', 'vacant', 'closed', 'disused', 'empty') OR shop IS NULL THEN NULL ELSE 'other' END, 'office' || CASE WHEN tags->'office' IN ('no', 'vacant', 'closed', 'disused', 'empty') OR (tags->'office') IS NULL THEN NULL ELSE '' END, 'leisure_' || CASE WHEN leisure IN ('swimming_pool', 'water_park', 'miniature_golf', 'golf_course', 'fitness_centre', 'sports_centre', 'stadium', 'track', diff --git a/symbols/shop/interior_decoration.svg b/symbols/shop/interior_decoration.svg new file mode 100644 index 0000000000..af580591a6 --- /dev/null +++ b/symbols/shop/interior_decoration.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + +