mapnik/tests/visual_tests/styles/shield-on-polygon.xml
2014-12-09 20:13:38 +00:00

52 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map srs="+init=epsg:4326" background-color="#b8dee6">
<Parameters>
<Parameter name="sizes">600,400</Parameter>
</Parameters>
<Parameters>
<Parameter name="bounds">-180,-85.05112877980659,180,85.05112877980659</Parameter>
<Parameter name="center">0,0,2</Parameter>
<Parameter name="format">png</Parameter>
<Parameter name="minzoom">0</Parameter>
<Parameter name="maxzoom">22</Parameter>
</Parameters>
<Style name="countries" filter-mode="first">
<Rule>
<PolygonSymbolizer fill="#ffffff" />
</Rule>
</Style>
<Style name="countries-outline" filter-mode="first">
<Rule>
<LineSymbolizer stroke="#85c5d3" stroke-width="2" stroke-linejoin="round" />
</Rule>
</Style>
<Layer name="countries"
srs="+init=epsg:4326">
<StyleName>countries-outline</StyleName>
<StyleName>countries</StyleName>
<Datasource>
<Parameter name="file">../../data/shp/new_zealand/ne_50m_land.shp</Parameter>
<Parameter name="type"><![CDATA[shape]]></Parameter>
</Datasource>
</Layer>
<Style name="places" filter-mode="first">
<Rule>
<ShieldSymbolizer avoid-edges="true" fill="#000000" face-name="DejaVu Sans Book" horizontal-alignment="right" dx="15" halo-fill="#ffffff" halo-radius="1" file="../../data/svg/ellipses.svg" size="12" minimum-distance="1" unlock-image="true" placement-type="simple" placements="E,NE,SE,W,NW,SW" ><![CDATA[[NAME]]]></ShieldSymbolizer>
<DebugSymbolizer />
</Rule>
</Style>
<Layer name="places"
srs="+init=epsg:4326">
<StyleName>places</StyleName>
<Datasource>
<Parameter name="file">../../data/shp/new_zealand/ne_50m_populated_places_simple.shp</Parameter>
<Parameter name="type"><![CDATA[shape]]></Parameter>
</Datasource>
</Layer>
</Map>