mapnik/tests/data/good_maps/polygon_pattern_symbolizer.xml

30 lines
1.1 KiB
XML
Raw Normal View History

2011-02-05 04:21:22 +01:00
<Map srs="+proj=longlat +ellps=airy +datum=OSGB36 +no_defs" minimum-version="0.7.2">
<FileSource name="foo">../images/</FileSource>
<Style name="1">
<Rule>
<Filter>([EAS_ID]&lt;=170) and ([EAS_ID] &lt;&gt; 165)</Filter>
<!-- alignment="local" is default -->
2011-02-05 04:21:22 +01:00
<PolygonPatternSymbolizer alignment="local" file="../images/checker.jpg"/>
<LineSymbolizer stroke="green" stroke-width="2"/>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="'local'" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
<Rule>
2011-02-05 04:21:22 +01:00
<ElseFilter/>
<PolygonPatternSymbolizer alignment="global" file="../images/checker.jpg"/>
<LineSymbolizer stroke="yellow" stroke-width=".5"/>
2011-02-05 04:21:22 +01:00
<TextSymbolizer size="10" name="'global'" dy="20" face-name="DejaVu Sans Book" halo-radius="1"/>
</Rule>
</Style>
<Layer name="lay" srs="+proj=longlat +ellps=airy +datum=OSGB36 +no_defs ">
<StyleName>1</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter name="base">../../data/shp/</Parameter>
<Parameter name="file">poly.shp</Parameter>
</Datasource>
</Layer>
</Map>