Skip to content

Commit

Permalink
Add icon for charity and second_hand and update department_store icon (
Browse files Browse the repository at this point in the history
  • Loading branch information
jragusa authored and kocio-pl committed Jul 17, 2018
1 parent 4bcca2a commit 9198480
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 17 deletions.
10 changes: 10 additions & 0 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,10 @@
marker-file: url('symbols/shop/butcher.svg');
}

[shop = 'charity'][zoom >= 18] {
marker-file: url('symbols/shop/charity.svg');
}

[shop = 'chemist'][zoom >= 18] {
marker-file: url('symbols/shop/chemist.svg');
}
Expand Down Expand Up @@ -1096,6 +1100,10 @@
marker-file: url('symbols/shop/travel_agency.svg');
}

[shop = 'second_hand'][zoom >= 18] {
marker-file: url('symbols/shop/second_hand.svg');
}

[shop = 'sports'][zoom >= 18] {
marker-file: url('symbols/shop/sports.svg');
}
Expand Down Expand Up @@ -2428,6 +2436,7 @@
[feature = 'shop_bed'],
[feature = 'shop_beverages'],
[feature = 'shop_books'],
[feature = 'shop_charity'],
[feature = 'shop_clothes'],
[feature = 'shop_coffee'],
[feature = 'shop_computer'],
Expand Down Expand Up @@ -2483,6 +2492,7 @@
[feature = 'shop_toys'],
[feature = 'shop_travel_agency'],
[feature = 'shop_seafood'],
[feature = 'shop_second_hand'],
[feature = 'shop_sports'],
[feature = 'shop_stationery'],
[feature = 'shop_tobacco'],
Expand Down
8 changes: 4 additions & 4 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -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') THEN shop
'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') THEN shop
ELSE 'other' END AS shop,
way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels
FROM planet_osm_polygon
Expand Down Expand Up @@ -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') THEN shop
'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') THEN shop
ELSE 'other' END AS shop,
NULL AS way_pixels
FROM planet_osm_point
Expand Down Expand Up @@ -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') THEN shop
'coffee', 'tyres', 'pastry', 'chocolate', 'music', 'medical_supply', 'dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') 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',
Expand Down Expand Up @@ -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') THEN shop
'pastry', 'chocolate', 'music', 'medical_supply','dairy', 'video_games', 'houseware', 'ticket', 'charity', 'second_hand') 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',
Expand Down
37 changes: 37 additions & 0 deletions symbols/shop/charity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 12 additions & 13 deletions symbols/shop/department_store.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions symbols/shop/second_hand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9198480

Please sign in to comment.