mapnik/tests/visual_tests/styles/lines-5.xml

32 lines
986 B
XML
Raw Normal View History

2013-10-24 06:59:14 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<!-- dy and multi lines test -->
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>lines</StyleName>
<StyleName>text</StyleName>
2013-10-24 06:59:14 +00:00
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="file">../data/lines2.csv</Parameter>
</Datasource>
</Layer>
<Style name="lines">
2013-10-24 06:59:14 +00:00
<Rule>
<LineSymbolizer stroke-width="12" stroke="green"/>
<LineSymbolizer stroke-width="1" stroke="blue" offset="5"/>
</Rule>
</Style>
<Style name="text">
<Rule>
<!-- note: &#10; is an encoded \n -->
<TextSymbolizer face-name="DejaVu Sans Book" size="12" placement="line" spacing="20" max-char-angle-delta="0" dy="6">
"Hello&#10;World!"
</TextSymbolizer>
</Rule>
</Style>
2013-10-24 06:59:14 +00:00
</Map>