[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 3/9] b&w stylesheet: display townhall, public_bu
From: |
David MENTRE |
Subject: |
[Maposmatic-dev] [PATCH 3/9] b&w stylesheet: display townhall, public_building, etc. amenities |
Date: |
Fri, 30 Mar 2012 17:59:23 +0200 |
Signed-off-by: David MENTRE <address@hidden>
---
.../black-and-white/inc/layer-landcover.xml.inc | 6 +++---
stylesheet/black-and-white/osm.xml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/stylesheet/black-and-white/inc/layer-landcover.xml.inc
b/stylesheet/black-and-white/inc/layer-landcover.xml.inc
index 2abe83b..2020b68 100644
--- a/stylesheet/black-and-white/inc/layer-landcover.xml.inc
+++ b/stylesheet/black-and-white/inc/layer-landcover.xml.inc
@@ -260,12 +260,12 @@
<PolygonPatternSymbolizer file="&symbols;/scrub.png" />
</Rule>
<Rule>
- <Filter>[amenity] = 'university' or [amenity] = 'college' or [amenity] =
'school' or [amenity]='hospital' or [amenity]='kindergarten'</Filter>
+ <Filter>[amenity] = 'university' or [amenity] = 'college' or [amenity] =
'school' or [amenity]='hospital' or [amenity]='kindergarten' or
[amenity]='place_of_worship' or [amenity]='library' or [amenity]='townhall' or
[amenity]='post_office' or [amenity]='public_building' or
[amenity]='police'</Filter>
&maxscale_zoom10;
<PolygonSymbolizer fill="#f0f0d8"/>
</Rule>
<Rule>
- <Filter>[amenity] = 'university' or [amenity] = 'college' or [amenity] =
'school' or [amenity]='hospital' or [amenity]='kindergarten'</Filter>
+ <Filter>[amenity] = 'university' or [amenity] = 'college' or [amenity] =
'school' or [amenity]='hospital' or [amenity]='kindergarten' or
[amenity]='place_of_worship' or [amenity]='library' or [amenity]='townhall' or
[amenity]='post_office' or [amenity]='public_building' or
[amenity]='police'</Filter>
&maxscale_zoom12;
<LineSymbolizer stroke="brown" stroke-width="0.3"/>
</Rule>
@@ -342,7 +342,7 @@
where landuse is not null
or leisure is not null
or aeroway in ('apron','aerodrome')
- or amenity in
('parking','university','college','school','hospital','kindergarten','grave_yard')
+ or amenity in
('parking','university','college','school','hospital','kindergarten','grave_yard','place_of_worship','library','townhall','post_office','public_building','police')
or military in ('barracks','danger_area')
or "natural" in
('field','beach','desert','heath','mud','grassland','wood','sand','scrub')
or power in ('station','sub_station','generator')
diff --git a/stylesheet/black-and-white/osm.xml
b/stylesheet/black-and-white/osm.xml
index 6de6159..cbee801 100644
--- a/stylesheet/black-and-white/osm.xml
+++ b/stylesheet/black-and-white/osm.xml
@@ -468,7 +468,7 @@
<TextSymbolizer size="9" fill="#000033" fontset-name="bold-fonts"
halo-radius="1" wrap-width="16" placement="interior">[name]</TextSymbolizer>
</Rule>
<Rule>
- <Filter>[amenity] = 'school' or [amenity] = 'college'</Filter>
+ <Filter>[amenity] = 'school' or [amenity] = 'college' or
[amenity]='townhall'</Filter>
&maxscale_zoom15;
<TextSymbolizer size="9" fill="#000033" fontset-name="book-fonts"
halo-radius="1" wrap-width="14" placement="interior">[name]</TextSymbolizer>
</Rule>
--
1.7.5.4
- [Maposmatic-dev] [PATCH 1/9] B&W stylesheet: restore original mapnik-osm stylesheet, David MENTRE, 2012/03/30
- [Maposmatic-dev] [PATCH 3/9] b&w stylesheet: display townhall, public_building, etc. amenities,
David MENTRE <=
- [Maposmatic-dev] [PATCH 5/9] b&w stylesheet: remove landuse=residential coloring, David MENTRE, 2012/03/30
- [Maposmatic-dev] [PATCH 2/9] b&w stylesheet: remove building and power layers, David MENTRE, 2012/03/30
- [Maposmatic-dev] [PATCH 8/9] b&w stylesheet: put parking and residential area casing in black, David MENTRE, 2012/03/30
- [Maposmatic-dev] [PATCH 7/9] b&w stylesheet: increase casing of motorway, trunk, primary and secondary roads at zoom levels 15 to 18, David MENTRE, 2012/03/30
- [Maposmatic-dev] [PATCH 6/9] b&w stylesheet: put public buildings in black with light grey background, David MENTRE, 2012/03/30
- [Maposmatic-dev] [PATCH 9/9] b&w stylesheet: Allow smaller fonts for street names, David MENTRE, 2012/03/30
- [Maposmatic-dev] [PATCH 4/9] b&w stylesheet: put all roads in black and white, David MENTRE, 2012/03/30
- Re: [Maposmatic-dev] [PATCH 1/9] B&W stylesheet: restore original mapnik-osm stylesheet, Thomas Petazzoni, 2012/03/30