From aa1f54ec7f240e846eefb945847026953bc5dbc5 Mon Sep 17 00:00:00 2001 From: Adamant36 Date: Tue, 3 Jul 2018 04:41:26 -0700 Subject: [PATCH] Added icon for shop=ticket closing issue #3115 --- amenity-points.mss | 5 +++++ project.mml | 8 ++++---- symbols/shop/ticket.svg | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 symbols/shop/ticket.svg diff --git a/amenity-points.mss b/amenity-points.mss index 493b36b351..c76ec59cae 100644 --- a/amenity-points.mss +++ b/amenity-points.mss @@ -1098,6 +1098,10 @@ marker-file: url('symbols/shop/tea.svg'); } + [shop = 'ticket'][zoom >= 18] { + marker-file: url('symbols/shop/ticket.svg'); + } + [shop = 'tyres'][zoom >= 18] { marker-file: url('symbols/shop/tyres.svg'); } @@ -2447,6 +2451,7 @@ [feature = 'shop_stationery'], [feature = 'shop_tobacco'], [feature = 'shop_tea'], + [feature = 'shop_ticket'], [feature = 'shop_tyres'], [feature = 'shop_variety_store'], [feature = 'shop_video_games'], diff --git a/project.mml b/project.mml index e383a2eef0..a156c3e55e 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') THEN shop + 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket') 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') THEN shop + 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket') THEN shop ELSE 'other' END AS shop, NULL AS way_pixels FROM planet_osm_point @@ -2062,7 +2062,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') THEN shop + 'coffee', 'tyres', 'pastry', 'chocolate', 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket') 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', @@ -2229,7 +2229,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') THEN shop + 'pastry', 'chocolate', 'music', 'medical_supply','dairy', 'video_games', 'houseware', 'ticket') 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/ticket.svg b/symbols/shop/ticket.svg new file mode 100644 index 0000000000..361ccc5986 --- /dev/null +++ b/symbols/shop/ticket.svg @@ -0,0 +1,37 @@ + + + + + + image/svg+xml + + + + + + + + + +