30 lines
960 B
XML
30 lines
960 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE Map>
|
|
<!-- Upright test -->
|
|
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
|
|
|
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
|
<StyleName>lines</StyleName>
|
|
<StyleName>text</StyleName>
|
|
<Datasource>
|
|
<Parameter name="type">csv</Parameter>
|
|
<Parameter name="file">../data/lines2.csv</Parameter>
|
|
</Datasource>
|
|
</Layer>
|
|
|
|
<Style name="lines">
|
|
<Rule>
|
|
<LineSymbolizer stroke-width="12" stroke="red"/>
|
|
</Rule>
|
|
</Style>
|
|
|
|
<Style name="text">
|
|
<Rule>
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="14" placement="line" spacing="15" max-char-angle-delta="45">
|
|
<Layout dy="-6" horizontal-alignment="left">"Left"</Layout>
|
|
<Layout dy="6" horizontal-alignment="right">"Right"</Layout>
|
|
</TextSymbolizer>
|
|
</Rule>
|
|
</Style>
|
|
|
|
</Map>
|