diff --git a/landcover.mss b/landcover.mss index 13de9e4e57..f75fd3188a 100644 --- a/landcover.mss +++ b/landcover.mss @@ -478,7 +478,7 @@ [way_pixels >= 64] { polygon-gamma: 0.3; } } - [feature = 'natural_heath'][zoom >= 10] { + [feature = 'natural_heath'][zoom >= 8] { polygon-fill: @heath; [way_pixels >= 4] { polygon-gamma: 0.75; } [way_pixels >= 64] { polygon-gamma: 0.3; } diff --git a/project.mml b/project.mml index b8c32175d5..5d4070cb81 100644 --- a/project.mml +++ b/project.mml @@ -91,12 +91,12 @@ Layer: FROM (SELECT way, COALESCE(name, '') AS name, religion, ('landuse_' || (CASE WHEN landuse IN ('forest', 'military', 'farmland', 'residential', 'commercial', 'retail', 'industrial') THEN landuse ELSE NULL END)) AS landuse, - ('natural_' || (CASE WHEN "natural" IN ('wood', 'sand', 'scree', 'shingle', 'bare_rock') THEN "natural" ELSE NULL END)) AS "natural", + ('natural_' || (CASE WHEN "natural" IN ('wood', 'sand', 'scree', 'shingle', 'bare_rock', 'heath') THEN "natural" ELSE NULL END)) AS "natural", ('wetland_' || (CASE WHEN "natural" IN ('wetland', 'mud') THEN (CASE WHEN "natural" IN ('mud') THEN "natural" ELSE tags->'wetland' END) ELSE NULL END)) AS wetland, way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels FROM planet_osm_polygon WHERE (landuse IN ('forest', 'military', 'farmland', 'residential', 'commercial', 'retail', 'industrial') - OR "natural" IN ('wood', 'wetland', 'mud', 'sand', 'scree', 'shingle', 'bare_rock')) + OR "natural" IN ('wood', 'wetland', 'mud', 'sand', 'scree', 'shingle', 'bare_rock', 'heath')) AND way_area > 0.01*!pixel_width!::real*!pixel_height!::real AND building IS NULL ORDER BY way_area DESC