[Mapnik-de] [sample-section: 29042]

devnull at gnuher.de devnull at gnuher.de
Do Dez 6 00:11:09 CET 2012


* Revision: 29042
* Author: hind
* Date: 2012-12-05 09:16:25
* Message:
Add amenity=prison area

* Paths:
 M /applications/rendering/mapnik/inc/layer-landcover.xml.inc
 A /applications/rendering/mapnik/symbols/amenity_prison.png

* Diff:
Index: inc/layer-landcover.xml.inc
===================================================================
--- inc/layer-landcover.xml.inc	(revision 29041)
+++ inc/layer-landcover.xml.inc	(revision 29042)
@@ -280,6 +280,12 @@
       <LineSymbolizer stroke="#eeeed1" stroke-width="0.3"/>
     </Rule>
     <Rule>
+      <Filter>[amenity] = 'prison'</Filter>
+      &maxscale_zoom14;
+      <PolygonPatternSymbolizer file="&symbols;/amenity_prison.png" />
+      <LineSymbolizer stroke="#555" stroke-width="0.3"/>
+    </Rule>
+    <Rule>
       <Filter>[aeroway] = 'apron'</Filter>
       &maxscale_zoom12;
       <PolygonSymbolizer fill="#e9d1ff"/>
@@ -342,7 +348,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','prison')
           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')
Index: symbols/amenity_prison.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: symbols/amenity_prison.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream