Skip to content

Commit

Permalink
Merge pull request #2981 from kocio-pl/yellow-social-facility
Browse files Browse the repository at this point in the history
Yellow background for community_centre and social_facility
  • Loading branch information
kocio-pl authored Dec 17, 2017
2 parents 1f5eb3d + d78a660 commit c1722ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down
5 changes: 3 additions & 2 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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')
Expand Down

0 comments on commit c1722ed

Please sign in to comment.