[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 11/14] [B&W stylesheet] Remove all turn circles
From: |
David MENTRE |
Subject: |
[Maposmatic-dev] [PATCH 11/14] [B&W stylesheet] Remove all turn circles |
Date: |
Tue, 27 Mar 2012 17:36:26 +0200 |
* Turn circles are made with bitmaps (two per turn circle, one for
casing and one for fill). It would be too heavy to redo all the work
for bigger roads and different colours. We thus simply remove
them. The map is still clean and readable.
Signed-off-by: David MENTRE <address@hidden>
Signed-off-by: Sylvain Collilieux <address@hidden>
---
stylesheet/black-and-white/osm.xml | 196 ++++++++++++++++++------------------
1 files changed, 98 insertions(+), 98 deletions(-)
diff --git a/stylesheet/black-and-white/osm.xml
b/stylesheet/black-and-white/osm.xml
index 215c296..9c793b1 100644
--- a/stylesheet/black-and-white/osm.xml
+++ b/stylesheet/black-and-white/osm.xml
@@ -5,31 +5,31 @@
]>
<Map background-color="#f5f5f5" srs="&srs900913;" minimum-version="2.0.0">
&fontset-settings;
-<Style name="turning_circle-casing">
- <Rule>
- &maxscale_zoom15;
- &minscale_zoom16;
- <Filter>[int_tc_type]='tertiary'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-tert-casing.18.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
- <Rule>
- &maxscale_zoom16;
- &minscale_zoom16;
- <Filter>[int_tc_type]='residential' or
[int_tc_type]='unclassified'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.18.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
- <Rule>
- &maxscale_zoom16;
- &minscale_zoom16;
- <Filter>[int_tc_type]='service'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.14.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
- <Rule>
- &maxscale_zoom16;
- &minscale_zoom16;
- <Filter>[int_tc_type]='living_street'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.18.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
+<!-- <Style name="turning_circle-casing"> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom15; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='tertiary'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-tert-casing.18.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom16; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='residential' or
[int_tc_type]='unclassified'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.18.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom16; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='service'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-uncl-casing.14.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom16; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='living_street'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.18.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
<!-- <Rule> -->
<!-- &maxscale_zoom17; -->
<!-- <Filter>[int_tc_type]='tertiary'</Filter> -->
@@ -50,32 +50,32 @@
<!-- <Filter>[int_tc_type]='living_street'</Filter> -->
<!-- <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.24.png"
allow-overlap="true" ignore-placement="true"/> -->
<!-- </Rule> -->
-</Style>
-<Style name="turning_circle-fill">
- <Rule>
- &maxscale_zoom15;
- &minscale_zoom16;
- <Filter>[int_tc_type]='tertiary'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-tert-fill.16.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
- <Rule>
- &maxscale_zoom16;
- &minscale_zoom16;
- <Filter>[int_tc_type]='residential' or
[int_tc_type]='unclassified'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.16.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
- <Rule>
- &maxscale_zoom16;
- &minscale_zoom16;
- <Filter>[int_tc_type]='service'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.12.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
- <Rule>
- &maxscale_zoom16;
- &minscale_zoom16;
- <Filter>[int_tc_type]='living_street'</Filter>
- <PointSymbolizer file="&symbols;/turning_circle-livs-fill.16.png"
allow-overlap="true" ignore-placement="true"/>
- </Rule>
+<!-- </Style> -->
+<!-- <Style name="turning_circle-fill"> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom15; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='tertiary'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-tert-fill.16.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom16; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='residential' or
[int_tc_type]='unclassified'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.16.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom16; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='service'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-uncl-fill.12.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
+<!-- <Rule> -->
+<!-- &maxscale_zoom16; -->
+<!-- &minscale_zoom16; -->
+<!-- <Filter>[int_tc_type]='living_street'</Filter> -->
+<!-- <PointSymbolizer file="&symbols;/turning_circle-livs-fill.16.png"
allow-overlap="true" ignore-placement="true"/> -->
+<!-- </Rule> -->
<!-- <Rule> -->
<!-- &maxscale_zoom17; -->
<!-- <Filter>[int_tc_type]='tertiary'</Filter> -->
@@ -96,7 +96,7 @@
<!-- <Filter>[int_tc_type]='living_street'</Filter> -->
<!-- <PointSymbolizer file="&symbols;/turning_circle-livs-fill.22.png"
allow-overlap="true" ignore-placement="true"/> -->
<!-- </Rule> -->
-</Style>
+<!-- </Style> -->
<Style name="highway-area-casing">
<Rule>
<Filter>[highway] = 'residential' or [highway]='unclassified'</Filter>
@@ -1759,29 +1759,29 @@
&datasource-settings;
</Datasource>
</Layer>
-<Layer name="turning_circle-casing" status="on" srs="&osm2pgsql_projection;">
- <StyleName>turning_circle-casing</StyleName>
- <Datasource>
- <Parameter name="table">
- (select distinct on (p.way) p.way as way,l.highway as int_tc_type
- from &prefix;_point p
- join &prefix;_line l
- on ST_DWithin(p.way,l.way,&dwithin_node_way;)
- join (values
- ('tertiary',1),
- ('unclassified',2),
- ('residential',3),
- ('living_street',4),
- ('service',5)
- ) as v (highway,prio)
- on v.highway=l.highway
- where p.highway='turning_circle'
- order by p.way,v.prio
- ) as turning_circle
- </Parameter>
- &datasource-settings;
- </Datasource>
-</Layer>
+<!-- <Layer name="turning_circle-casing" status="on"
srs="&osm2pgsql_projection;"> -->
+<!-- <StyleName>turning_circle-casing</StyleName> -->
+<!-- <Datasource> -->
+<!-- <Parameter name="table"> -->
+<!-- (select distinct on (p.way) p.way as way,l.highway as int_tc_type
-->
+<!-- from &prefix;_point p -->
+<!-- join &prefix;_line l -->
+<!-- on ST_DWithin(p.way,l.way,&dwithin_node_way;) -->
+<!-- join (values -->
+<!-- ('tertiary',1), -->
+<!-- ('unclassified',2), -->
+<!-- ('residential',3), -->
+<!-- ('living_street',4), -->
+<!-- ('service',5) -->
+<!-- ) as v (highway,prio) -->
+<!-- on v.highway=l.highway -->
+<!-- where p.highway='turning_circle' -->
+<!-- order by p.way,v.prio -->
+<!-- ) as turning_circle -->
+<!-- </Parameter> -->
+<!-- &datasource-settings; -->
+<!-- </Datasource> -->
+<!-- </Layer> -->
<Layer name="footbikecycle-tunnels" status="on" srs="&osm2pgsql_projection;">
<StyleName>footbikecycle-tunnels</StyleName>
<Datasource>
@@ -1890,29 +1890,29 @@
&datasource-settings;
</Datasource>
</Layer>
-<Layer name="turning_circle-fill" status="on" srs="&osm2pgsql_projection;">
- <StyleName>turning_circle-fill</StyleName>
- <Datasource>
- <Parameter name="table">
- (select distinct on (p.way) p.way as way,l.highway as int_tc_type
- from &prefix;_point p
- join &prefix;_line l
- on ST_DWithin(p.way,l.way,&dwithin_node_way;)
- join (values
- ('tertiary',1),
- ('unclassified',2),
- ('residential',3),
- ('living_street',4),
- ('service',5)
- ) as v (highway,prio)
- on v.highway=l.highway
- where p.highway='turning_circle'
- order by p.way,v.prio
- ) as turning_circle
- </Parameter>
- &datasource-settings;
- </Datasource>
-</Layer>
+<!-- <Layer name="turning_circle-fill" status="on"
srs="&osm2pgsql_projection;"> -->
+<!-- <StyleName>turning_circle-fill</StyleName> -->
+<!-- <Datasource> -->
+<!-- <Parameter name="table"> -->
+<!-- (select distinct on (p.way) p.way as way,l.highway as int_tc_type
-->
+<!-- from &prefix;_point p -->
+<!-- join &prefix;_line l -->
+<!-- on ST_DWithin(p.way,l.way,&dwithin_node_way;) -->
+<!-- join (values -->
+<!-- ('tertiary',1), -->
+<!-- ('unclassified',2), -->
+<!-- ('residential',3), -->
+<!-- ('living_street',4), -->
+<!-- ('service',5) -->
+<!-- ) as v (highway,prio) -->
+<!-- on v.highway=l.highway -->
+<!-- where p.highway='turning_circle' -->
+<!-- order by p.way,v.prio -->
+<!-- ) as turning_circle -->
+<!-- </Parameter> -->
+<!-- &datasource-settings; -->
+<!-- </Datasource> -->
+<!-- </Layer> -->
&layer-ferry-routes;
&layer-aerialways;
<Layer name="roads" status="on" srs="&osm2pgsql_projection;">
--
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 <=
- [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, 2012/03/27
- [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