mapnik/tests/data/good_maps/point_symbolizer_on_polygon_map.xml

36 lines
1.4 KiB
XML
Raw Normal View History

2011-02-05 04:21:22 +01:00
<!DOCTYPE Map>
<Map background-color="#b5d0d0" minimum-version="0.7.2">
<Style name="test">
2011-12-16 16:22:52 +01:00
<Rule name="asia">
<Filter>([REGION]=142)</Filter>
2011-02-05 04:21:22 +01:00
<PointSymbolizer file="../images/dummy.png" allow-overlap="true"/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule name="europe">
<Filter>([REGION]=150)</Filter>
<!-- requires at least Mapnik 0.7.1 to work due to https://github.com/mapnik/mapnik/issues/508 -->
2011-02-05 04:21:22 +01:00
<PolygonPatternSymbolizer file="../images/dummy.png"/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule name="americas">
<Filter>([REGION]=19)</Filter>
<!-- requires at least Mapnik 0.7.1 to work due to https://github.com/mapnik/mapnik/issues/508 -->
2011-02-05 04:21:22 +01:00
<LinePatternSymbolizer file="../images/dummy.png"/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule name="Africa">
<Filter>([REGION]=2)</Filter>
<ShieldSymbolizer placement="vertex" size="10" fill="#000000" file="../images/dummy.png" face-name="DejaVu Sans Bold">[NAME]</ShieldSymbolizer>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule name="rest">
2011-02-05 04:21:22 +01:00
<ElseFilter/>
<LineSymbolizer stroke-width="1"/>
</Rule>
</Style>
<Layer name="world_merc">
<StyleName>test</StyleName>
<Datasource>
<Parameter name="file">../../data/shp/world_merc</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
2011-02-05 04:21:22 +01:00
</Map>