mapnik/tests/visual_tests/styles/marker-on-line-and-vertex-first-placement.xml
2014-12-09 20:13:38 +00:00

32 lines
985 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map>
<Parameters>
<Parameter name="sizes">600,400</Parameter>
</Parameters>
<Style name="lines">
<Rule>
<LineSymbolizer stroke="#000000" />
</Rule>
</Style>
<Style name="markers">
<Rule>
<MarkersSymbolizer marker-type="ellipse" placement="[placement]" />
<DebugSymbolizer />
</Rule>
</Style>
<Layer name="layer">
<StyleName>lines</StyleName>
<StyleName>markers</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="extent">-1, -1, 11, 4</Parameter>
<Parameter name="inline">
wkt, placement
"LINESTRING(0 0)", "vertex-first"
"LINESTRING(0 1, 10 1)", "vertex-first"
"LINESTRING(0 2, 2 3, 4 2, 6 3, 8 2, 10 3)", "vertex-first"
</Parameter>
</Datasource>
</Layer>
</Map>