mapnik/tests/visual_tests/styles/line-smooth-and-offset.xml

22 lines
912 B
XML
Executable file

<?xml version="1.0" encoding="UTF-8"?>
<Map background-color="white">
<Style name="style">
<Rule>
<LineSymbolizer stroke="yellow" stroke-width="6" offset="30" smooth="1"/>
<LineSymbolizer stroke="orange" stroke-width="6" offset="20" smooth="1"/>
<LineSymbolizer stroke="red" stroke-width="6" offset="10" smooth="1"/>
<LineSymbolizer stroke="green" stroke-width="6" offset="0" smooth="1"/>
<LineSymbolizer stroke="blue" stroke-width="6" offset="-10" smooth="1"/>
<LineSymbolizer stroke="purple" stroke-width="6" offset="-20" smooth="1" rasterizer="fast"/>
</Rule>
</Style>
<Layer name="layer">
<StyleName>style</StyleName>
<Datasource>
<Parameter name="type">shape</Parameter>
<Parameter name="file">../data/line.shp</Parameter>
</Datasource>
</Layer>
</Map>