From d78a660909cfda22630ffae020ddbe4626d6424c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ko=C4=87?= Date: Tue, 12 Dec 2017 04:52:06 +0100 Subject: [PATCH] Yellow background for community_centre and social_facility --- landcover.mss | 4 +++- project.mml | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/landcover.mss b/landcover.mss index 7afe35b34b..13de9e4e57 100644 --- a/landcover.mss +++ b/landcover.mss @@ -520,7 +520,9 @@ [feature = 'amenity_university'], [feature = 'amenity_college'], [feature = 'amenity_school'], - [feature = 'amenity_kindergarten'] { + [feature = 'amenity_kindergarten'], + [feature = 'amenity_community_centre'], + [feature = 'amenity_social_facility'] { [zoom >= 10] { polygon-fill: @residential; [zoom >= 12] { diff --git a/project.mml b/project.mml index 6b5e285d47..b8c32175d5 100644 --- a/project.mml +++ b/project.mml @@ -118,7 +118,8 @@ Layer: way, COALESCE(name, '') AS name, ('aeroway_' || (CASE WHEN aeroway IN ('apron', 'aerodrome') THEN aeroway ELSE NULL END)) AS aeroway, ('amenity_' || (CASE WHEN amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'university', 'college', 'school', - 'hospital', 'kindergarten', 'grave_yard', 'prison', 'place_of_worship', 'clinic', 'ferry_terminal', 'marketplace') + 'hospital', 'kindergarten', 'grave_yard', 'prison', 'place_of_worship', 'clinic', 'ferry_terminal', + 'marketplace', 'community_centre', 'social_facility') THEN amenity ELSE NULL END)) AS amenity, ('landuse_' || (CASE WHEN landuse IN ('quarry', 'vineyard', 'orchard', 'cemetery', 'residential', 'garages', 'meadow', 'grass', 'allotments', 'forest', 'farmyard', 'farmland', 'greenhouse_horticulture', @@ -142,7 +143,7 @@ Layer: OR leisure IS NOT NULL OR aeroway IN ('apron', 'aerodrome') OR amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'university', 'college', 'school', 'hospital', 'kindergarten', - 'grave_yard', 'place_of_worship', 'prison', 'clinic', 'ferry_terminal', 'marketplace') + 'grave_yard', 'place_of_worship', 'prison', 'clinic', 'ferry_terminal', 'marketplace', 'community_centre', 'social_facility') OR man_made IN ('works') OR military IN ('danger_area') OR "natural" IN ('beach', 'shoal', 'heath', 'mud', 'marsh', 'wetland', 'grassland', 'wood', 'sand', 'scree', 'shingle', 'bare_rock', 'scrub')