[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 14/14] [B&W stylesheet] Allow smaller fonts for
From: |
David MENTRE |
Subject: |
[Maposmatic-dev] [PATCH 14/14] [B&W stylesheet] Allow smaller fonts for street names |
Date: |
Tue, 27 Mar 2012 17:36:29 +0200 |
* Use advanced features of Mapnik2's TextSymbolizer to reduce size of
street names if possible. This allows to display more street names,
even if all of them are not displayed.
Signed-off-by: David MENTRE <address@hidden>
Signed-off-by: Sylvain Collilieux <address@hidden>
---
stylesheet/black-and-white/osm.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stylesheet/black-and-white/osm.xml
b/stylesheet/black-and-white/osm.xml
index d4bd11c..8279da9 100644
--- a/stylesheet/black-and-white/osm.xml
+++ b/stylesheet/black-and-white/osm.xml
@@ -1611,7 +1611,7 @@
<Rule>
<Filter>([highway] = 'unclassified' or [highway]='residential') and not
[bridge]='yes'</Filter>
&maxscale_zoom15;
- <TextSymbolizer size="10" fill="#000" spacing="750"
minimum-distance="18" fontset-name="bold-fonts"
halo-radius="1">[ref]</TextSymbolizer>
+ <TextSymbolizer size="10" fill="#000" spacing="750"
minimum-distance="18" fontset-name="bold-fonts" halo-radius="1"
placement-type="simple" max-char-angle-delta="40" placements="X,10,9,8,7,6,5,4"
avoid-edges="false">[ref]</TextSymbolizer>
</Rule>
<Rule>
<Filter>([aeroway] = 'runway' or [aeroway]='taxiway') and not
[bridge]='yes'</Filter>
@@ -1648,7 +1648,7 @@
<Filter>[highway] = 'unclassified' or [highway] = 'residential'</Filter>
&maxscale_zoom16;
&minscale_zoom16;
- <TextSymbolizer size="9" fill="#000" spacing="300" placement="line"
fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
+ <TextSymbolizer size="9" fill="#000" spacing="300" placement="line"
fontset-name="book-fonts" halo-radius="1" placement-type="simple"
max-char-angle-delta="40" placements="X,9,8,7,6,5,4"
avoid-edges="false">[name]</TextSymbolizer>
</Rule>
<Rule>
<ElseFilter/>
--
1.7.5.4
- [Maposmatic-dev] [PATCH 01/14] [B&W stylesheet] Import of original mapnik-osm style sheet, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 09/14] [B&W stylesheet] Increase size of motorways, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 06/14] [B&W stylesheet] Enlarge bridges to make them more visible, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 07/14] [B&W stylesheet] Put a light grey as default background, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 08/14] [B&W stylesheet] Put public buildings in light grey with black border, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 13/14] [B&W stylesheet] Put parking and residential area borders in black, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 04/14] [B&W stylesheet] Buf fix: remove yellow halo around secondary roads, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 10/14] [B&W stylesheet] Use a maposmatic's specific icon for cemetery, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 11/14] [B&W stylesheet] Remove all turn circles, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 12/14] [B&W stylesheet] Bug fix: keep blue color for see areas, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 14/14] [B&W stylesheet] Allow smaller fonts for street names,
David MENTRE <=
- [Maposmatic-dev] [PATCH 02/14] [B&W stylesheet] Remove some details. Put all roads in white, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 05/14] [B&W stylesheet] Put road casing in bold black, David MENTRE, 2012/03/27
- [Maposmatic-dev] [PATCH 03/14] [B&W stylesheet] Keep only stylesheet parts needed for zoom level 16, David MENTRE, 2012/03/27
- Re: [Maposmatic-dev] [PATCH 01/14] [B&W stylesheet] Import of original mapnik-osm style sheet, Thomas Petazzoni, 2012/03/30