From 30bfa06eec274d1d72436271e431b52768e9c054 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Tue, 21 Jun 2016 13:27:28 +0200 Subject: [PATCH] remove text-min-distance - increase label density This results in rendering more labels for placenames for renderers using Mapnik 2. For renderers using Mapnik 3 this will have no effect (text-min-distance is applicable only to text placed on line). This change is equivalent in effect to upgrading to Mapnik 3. fixes #2189, related to #1935 --- placenames.mss | 8 -------- 1 file changed, 8 deletions(-) diff --git a/placenames.mss b/placenames.mss index 7c8986014a..dc02af3cdb 100644 --- a/placenames.mss +++ b/placenames.mss @@ -31,7 +31,6 @@ text-wrap-width: 35; text-placement: interior; text-character-spacing: 0.5; - text-min-distance: 3; text-line-spacing: 1; } } @@ -48,7 +47,6 @@ text-halo-radius: 1.5; text-wrap-width: 0; text-placement: interior; - text-min-distance: 3; [zoom >= 5] { text-name: "[name]"; text-wrap-width: 30; @@ -72,7 +70,6 @@ text-halo-radius: 1.5; text-halo-fill: rgba(255,255,255,0.6); text-wrap-width: 30; - text-min-distance: 10; [zoom >= 5] { text-size: 11; text-wrap-width: 45; @@ -108,7 +105,6 @@ text-halo-radius: 1.5; text-halo-fill: rgba(255,255,255,0.6); text-wrap-width: 30; - text-min-distance: 10; [zoom >= 9] { text-size: 12; text-wrap-width: 60; @@ -135,7 +131,6 @@ text-halo-radius: 1.5; text-halo-fill: rgba(255,255,255,0.6); text-wrap-width: 45; - text-min-distance: 10; [zoom >= 11] { text-size: 11; text-wrap-width: 55; @@ -161,7 +156,6 @@ text-halo-radius: 1.5; text-halo-fill: rgba(255,255,255,0.6); text-wrap-width: 55; - text-min-distance: 10; [zoom >= 14] { text-size: 14; text-wrap-width: 70; @@ -185,7 +179,6 @@ text-halo-radius: 1.5; text-halo-fill: rgba(255,255,255,0.6); text-wrap-width: 50; - text-min-distance: 10; [zoom >= 14] { text-fill: @placenames-light; text-halo-fill: white; @@ -214,7 +207,6 @@ text-halo-radius: 1.5; text-halo-fill: rgba(255,255,255,0.6); text-wrap-width: 45; - text-min-distance: 10; } [zoom >= 16] { text-size: 12;