From 25a7a2a480f3088ac9eb15297847680648b9010f Mon Sep 17 00:00:00 2001 From: math1985 Date: Sun, 11 Feb 2018 20:47:22 +0100 Subject: [PATCH 1/2] Give oceans outline and simplify shapefiles on z0-7 --- shapefiles.mss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/shapefiles.mss b/shapefiles.mss index 4d0efc369f..357385bd3a 100644 --- a/shapefiles.mss +++ b/shapefiles.mss @@ -14,6 +14,13 @@ #world { [zoom >= 0][zoom < 10] { polygon-fill: @land-color; + polygon-simplify: 5; + [zoom < 8] { + line-color: darken(@water-color,20%); + line-simplify: 5; + line-width: 0.5; + line-offset: 0.5; + } } } From 42df4bac5386c53679f39408a12e1e1c8382c2d3 Mon Sep 17 00:00:00 2001 From: math1985 Date: Mon, 5 Mar 2018 00:00:19 +0100 Subject: [PATCH 2/2] Reduce coastline simplification to prevent artifact at antimeridian --- shapefiles.mss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shapefiles.mss b/shapefiles.mss index 357385bd3a..85c12c8515 100644 --- a/shapefiles.mss +++ b/shapefiles.mss @@ -14,10 +14,10 @@ #world { [zoom >= 0][zoom < 10] { polygon-fill: @land-color; - polygon-simplify: 5; + polygon-simplify: 0.4; [zoom < 8] { line-color: darken(@water-color,20%); - line-simplify: 5; + line-simplify: 0.4; line-width: 0.5; line-offset: 0.5; }