You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: project.mml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,13 @@ Layer:
69
69
way,
70
70
('landuse_' || (CASE WHEN landuse IN ('forest', 'farmland', 'residential', 'commercial', 'retail', 'industrial',
71
71
'meadow', 'grass', 'village_green', 'vineyard', 'orchard') THEN landuse END)) AS landuse,
72
-
('natural_' || (CASE WHEN "natural" IN ('wood', 'sand', 'scree', 'shingle', 'bare_rock', 'heath', 'grassland', 'scrub') THEN "natural" END)) AS "natural",
72
+
('natural_' || (CASE WHEN "natural" IN ('wood', 'sand', 'beach', 'shoal', 'scree', 'shingle', 'bare_rock', 'heath', 'grassland', 'scrub') THEN "natural" END)) AS "natural",
73
73
('wetland_' || (CASE WHEN "natural" IN ('wetland', 'mud') THEN (CASE WHEN "natural" IN ('mud') THEN "natural" ELSE tags->'wetland' END) END)) AS wetland,
74
74
way_area/NULLIF(POW(!scale_denominator!*0.001*0.28,2),0) AS way_pixels,
75
75
way_area
76
76
FROM planet_osm_polygon
77
77
WHERE (landuse IN ('forest', 'farmland', 'residential', 'commercial', 'retail', 'industrial', 'meadow', 'grass', 'village_green', 'vineyard', 'orchard')
78
-
OR "natural" IN ('wood', 'wetland', 'mud', 'sand', 'scree', 'shingle', 'bare_rock', 'heath', 'grassland', 'scrub'))
78
+
OR "natural" IN ('wood', 'wetland', 'mud', 'beach', 'shoal', 'sand', 'scree', 'shingle', 'bare_rock', 'heath', 'grassland', 'scrub'))
79
79
AND way_area > 0.01*!pixel_width!::real*!pixel_height!::real
0 commit comments