mapnik/tests/visual_tests/styles/marker-on-line-and-line-placement.xml

33 lines
1.5 KiB
XML
Raw Normal View History

<Map>
2014-12-09 15:31:23 +00:00
<Parameters>
<Parameter name="sizes">600,400</Parameter>
</Parameters>
<Style name="line" filter-mode="first" >
<Rule>
<LineSymbolizer stroke="red"/>
<LineSymbolizer stroke="blue" smooth=".5"/>
<LineSymbolizer stroke="orange" smooth="1"/>
<LineSymbolizer stroke="green" smooth="1" geometry-transform="translate(10,10)" />
</Rule>
</Style>
<Style name="point-placement" filter-mode="first" >
<Rule>
<MarkersSymbolizer stroke-width="0" allow-overlap="true" placement="line" file="shape://ellipse" fill="red" />
<MarkersSymbolizer stroke-width="0" offset="-10" transform="translate(0,-10)" allow-overlap="true" placement="line" file="shape://ellipse" fill="darkred" />
<MarkersSymbolizer stroke-width="0" allow-overlap="true" smooth=".5" transform="translate(10,10) translate(-10,-10)" placement="line" file="shape://ellipse" fill="blue" />
<MarkersSymbolizer stroke-width="0" allow-overlap="true" smooth="1" placement="line" file="shape://ellipse" fill="orange" />
<MarkersSymbolizer stroke-width="0" allow-overlap="true" smooth="1" geometry-transform="translate(10,10)" placement="line" file="shape://ellipse" fill="darkgreen" />
</Rule>
</Style>
<Layer name="carto_tests">
<StyleName>line</StyleName>
<StyleName>point-placement</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
2014-12-09 15:31:23 +00:00
<Parameter name="extent">-10, 0, 15, 20</Parameter>
<Parameter name="file">../data/marker-on-line.csv</Parameter>
<Parameter name="separator">|</Parameter>
</Datasource>
</Layer>
</Map>