34 lines
1.5 KiB
XML
34 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE Map>
|
|
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
|
<Parameters>
|
|
<Parameter name="sizes">800, 300</Parameter>
|
|
</Parameters>
|
|
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
|
<StyleName>My Style</StyleName>
|
|
<Datasource>
|
|
<Parameter name="type">csv</Parameter>
|
|
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
|
<Parameter name="file">../data/points.csv</Parameter>
|
|
</Datasource>
|
|
</Layer>
|
|
<Style name="My Style">
|
|
<Rule>
|
|
<Filter>[nr] = 3</Filter>
|
|
<TextSymbolizer wrap-width="20" face-name="DejaVu Sans Book" size="9" wrap-before="true">"abcdef ghijkl mnopq stuv wxyz"</TextSymbolizer>
|
|
</Rule>
|
|
<Rule>
|
|
<Filter>[nr] = 4</Filter>
|
|
<TextSymbolizer wrap-width="20" face-name="DejaVu Sans Book" size="9" wrap-before="false">"abcdef ghijkl mnopq stuv wxyz"</TextSymbolizer>
|
|
</Rule>
|
|
<Rule>
|
|
<Filter>[nr] = 7</Filter>
|
|
<TextSymbolizer wrap-width="30" face-name="DejaVu Sans Book" size="9" wrap-before="true">"Some test text with forced line breaks"</TextSymbolizer>
|
|
</Rule>
|
|
<Rule>
|
|
<Filter>[nr] = 8</Filter>
|
|
<TextSymbolizer wrap-width="30" face-name="DejaVu Sans Book" size="9" wrap-before="false">"Some test text with forced line breaks"</TextSymbolizer>
|
|
</Rule>
|
|
|
|
</Style>
|
|
</Map>
|