From 5dd6cecb1cc543edbbef8398ecf5cd0693a16f37 Mon Sep 17 00:00:00 2001 From: jeisenbe <42757252+jeisenbe@users.noreply.github.com> Date: Sat, 18 May 2019 05:14:09 +0900 Subject: [PATCH] Add text label rendering for natural=bay mapped as linear way (#3754) --- project.mml | 2 +- water.mss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/project.mml b/project.mml index d3300dc8b8..2e7fb36763 100644 --- a/project.mml +++ b/project.mml @@ -2185,7 +2185,7 @@ Layer: CASE WHEN tunnel IN ('yes', 'culvert') THEN 'yes' ELSE 'no' END AS int_tunnel FROM planet_osm_line WHERE (waterway IN ('river', 'canal', 'stream', 'drain', 'ditch', 'wadi') - OR "natural" = 'strait') + OR "natural" IN ('bay', 'strait')) AND (tunnel IS NULL or tunnel != 'culvert') AND name IS NOT NULL ORDER BY COALESCE(layer,0) diff --git a/water.mss b/water.mss index 31d1c38f1c..0f3d8167f1 100644 --- a/water.mss +++ b/water.mss @@ -314,6 +314,7 @@ } } } + [natural = 'bay'][zoom >= 14], [natural = 'strait'][zoom >= 14] { text-name: "[name]"; text-size: 10;