30 lines
1,001 B
XML
30 lines
1,001 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="10" placement="line" spacing="10" max-char-angle-delta="0">
|
|
<Layout dy="-3" vertical-alignment="top" wrap-width="30">"District of Columbia"</Layout>
|
|
<Layout dy="5" vertical-alignment="bottom">"District Number Two"</Layout>
|
|
</TextSymbolizer>
|
|
</Rule>
|
|
</Style>
|
|
|
|
</Map>
|