30 lines
No EOL
1.4 KiB
XML
30 lines
No EOL
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE Map>
|
|
<Map background-color="white" srs="+proj=latlong +datum=WGS84" font-directory="/usr/share/fonts/truetype/tlwg/">
|
|
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
|
<StyleName>My Style</StyleName>
|
|
<Datasource>
|
|
<Parameter name="type">csv</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> |