mapnik/tests/visual_tests/styles/polygon-interior-2.xml
2015-04-17 12:40:23 +00:00

32 lines
991 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
<Parameters>
<Parameter name="sizes">800, 800</Parameter>
<Parameter name="bbox">-1.05, -1.05, 1.05, 1.05</Parameter>
</Parameters>
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>lines</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
wkt
"POLYGON((1 0, 0 -1, -1 0, 0 1, 0.8 0, 0 0.8, -0.8 0, 0 -0.8, 1 0))"
</Parameter>
</Datasource>
</Layer>
<Style name="lines">
<Rule>
<LineSymbolizer
stroke-width="2"
stroke="black"
/>
<TextSymbolizer placement="interior" face-name="DejaVu Sans Book" size="12">
"Interior\nplacement"
</TextSymbolizer>
</Rule>
</Style>
</Map>