diff --git a/project.mml b/project.mml index 9fd60d5594..d97b4c5569 100644 --- a/project.mml +++ b/project.mml @@ -1879,7 +1879,7 @@ Layer: way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels, COALESCE( 'landuse_' || CASE WHEN landuse IN ('forest', 'military', 'farmland') THEN landuse ELSE NULL END, - 'natural_' || CASE WHEN "natural" IN ('wood', 'glacier', 'sand', 'scree', 'shingle', 'bare_rock') THEN "natural" ELSE NULL END, + 'natural_' || CASE WHEN "natural" IN ('wood', 'glacier', 'sand', 'scree', 'shingle', 'bare_rock', 'water') THEN "natural" ELSE NULL END, 'place_' || CASE WHEN place IN ('island') THEN place ELSE NULL END, 'boundary_' || CASE WHEN boundary IN ('national_park') THEN boundary ELSE NULL END, 'leisure_' || CASE WHEN leisure IN ('nature_reserve') THEN leisure ELSE NULL END @@ -1888,7 +1888,7 @@ Layer: CASE WHEN building = 'no' OR building IS NULL THEN 'no' ELSE 'yes' END AS is_building -- always no with the where conditions FROM planet_osm_polygon WHERE (landuse IN ('forest', 'military', 'farmland') - OR "natural" IN ('wood', 'glacier', 'sand', 'scree', 'shingle', 'bare_rock') + OR "natural" IN ('wood', 'glacier', 'sand', 'scree', 'shingle', 'bare_rock', 'water') OR "place" IN ('island') OR boundary IN ('national_park') OR leisure IN ('nature_reserve')) @@ -1897,7 +1897,7 @@ Layer: ORDER BY way_area DESC ) AS text_poly_low_zoom properties: - minzoom: 7 + minzoom: 6 maxzoom: 9 - id: text-poly class: text diff --git a/water.mss b/water.mss index 77e5f1adbc..68d649122f 100644 --- a/water.mss +++ b/water.mss @@ -313,12 +313,13 @@ } } +.text-low-zoom[zoom < 10], .text[zoom >= 10] { [feature = 'natural_water'], [feature = 'landuse_reservoir'], [feature = 'landuse_basin'], [feature = 'waterway_dock'] { - [zoom >= 10][way_pixels > 3000], + [zoom >= 6][way_pixels > 3000], [zoom >= 17] { text-name: "[name]"; text-size: 10;