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

53 lines
1.3 KiB
XML
Raw Normal View History

<Map>
2014-12-09 16:31:23 +01:00
<Parameters>
<Parameter name="sizes">512,512</Parameter>
</Parameters>
<Style name="line" filter-mode="first" >
<Rule>
<LineSymbolizer stroke="#000000" />
</Rule>
</Style>
<Style name="point-placement" filter-mode="first" >
<Rule>
<MarkersSymbolizer
allow-overlap="true"
file="shape://ellipse"
placement="line"
spacing="30"
transform="scale(4,10)"
fill="blue"
avoid-edges="true"
clip="false">
</MarkersSymbolizer>
<MarkersSymbolizer
allow-overlap="true"
file="shape://ellipse"
placement="vertex-last"
transform="scale(10,4)"
fill="red"
avoid-edges="true"
clip="false">
</MarkersSymbolizer>
<MarkersSymbolizer
allow-overlap="true"
file="shape://ellipse"
placement="vertex-first"
transform="scale(10,4)"
fill="red"
avoid-edges="true"
clip="false">
</MarkersSymbolizer>
<DebugSymbolizer />
</Rule>
</Style>
<Layer name="carto_tests">
<StyleName>line</StyleName>
<StyleName>point-placement</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="file">../data/marker-on-line.csv</Parameter>
<Parameter name="separator">|</Parameter>
</Datasource>
</Layer>
</Map>