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

37 lines
915 B
XML
Raw Normal View History

2014-08-22 05:42:42 +00:00
<Map>
2014-12-09 15:31:23 +00:00
<Parameters>
<Parameter name="sizes">512,512</Parameter>
</Parameters>
2014-08-22 05:42:42 +00:00
<Style name="line" filter-mode="first" >
<Rule>
<LineSymbolizer stroke="#000000" />
</Rule>
</Style>
<Style name="point-placement" filter-mode="first" >
<Rule>
<ShieldSymbolizer
allow-overlap="true"
face-name="DejaVu Sans Book"
file="shape://ellipse"
placement="line"
spacing="30"
transform="scale(4,10)"
fill="blue"
avoid-edges="true"
minimum-padding="5"
clip="false">
</ShieldSymbolizer>
<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>