From 194b2fbb701c4739ad0c58e1d4fe72728e4e0cf9 Mon Sep 17 00:00:00 2001 From: Jorge Sanz Date: Wed, 2 Sep 2020 08:02:43 +0200 Subject: [PATCH] Add state labels at low zoom levels (#969) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove state labels zoom, rank, and country conditions from layer function * Don't add labels for zooms 0 and 1 If we check Bright, Positron, or Dark styles, they all show a huge lack of data about states and regions. At zoom 2, for big countries like Canada, Brazil, China or Australia there are big patches of white space (aka cartographer's *horror vacui* ๐Ÿ˜…) --- layers/place/layer.sql | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/layers/place/layer.sql b/layers/place/layer.sql index e9bb7b8..f394d23 100644 --- a/layers/place/layer.sql +++ b/layers/place/layer.sql @@ -77,11 +77,7 @@ FROM ( FROM osm_state_point WHERE geometry && bbox AND name <> '' - AND ("rank" + 2 <= zoom_level) - AND ( - zoom_level >= 5 OR - is_in_country IN ('United Kingdom', 'USA', 'ะ ะพััะธั', 'Brasil', 'China', 'India') OR - is_in_country_code IN ('AU', 'CN', 'IN', 'BR', 'US')) + AND zoom_level > 1 UNION ALL