2013-10-24 06:59:14 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE Map>
|
|
|
|
<!-- Minimal testcase for bug #1523. -->
|
|
|
|
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2014-12-09 15:31:23 +00:00
|
|
|
<Parameters>
|
|
|
|
<Parameter name="sizes">600, 165</Parameter>
|
|
|
|
</Parameters>
|
2013-10-24 06:59:14 +00:00
|
|
|
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
|
|
|
<StyleName>My Style</StyleName>
|
|
|
|
<Datasource>
|
2014-10-07 22:44:20 +00:00
|
|
|
<Parameter name="type">csv</Parameter>
|
|
|
|
<Parameter name="extent">0.0121962878686,0.14886974508,0.906367305121,0.389927385014</Parameter>
|
|
|
|
<Parameter name="file">../data/bug1532.csv</Parameter>
|
2013-10-24 06:59:14 +00:00
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
|
|
|
<Style name="My Style">
|
|
|
|
<Rule>
|
|
|
|
<Filter>[wrap] = "yes" and [type] = "line"</Filter>
|
|
|
|
<LineSymbolizer stroke-width="1" stroke="red"/>
|
|
|
|
<!-- Font and size don't matter as long as text length is > wrap_width -->
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Bold" size="15" placement="line" wrap-width="35">"abcdefgh"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
|
|
|
|
<Rule>
|
|
|
|
<Filter>[wrap] = "no" and [type] = "line"</Filter>
|
|
|
|
<LineSymbolizer stroke-width="1" stroke="blue"/>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Bold" size="15" placement="line">"abcdefgh"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
|
|
|
|
<Rule>
|
|
|
|
<Filter>[wrap] = "yes" and [type] = "point"</Filter>
|
|
|
|
<PointSymbolizer ignore-placement="true"/>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Bold" size="15" placement="point" wrap-width="35">"abcdefgh"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
|
|
|
|
<Rule>
|
|
|
|
<Filter>[wrap] = "no" and [type] = "point"</Filter>
|
|
|
|
<PointSymbolizer ignore-placement="true"/>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Bold" size="15" placement="point">"abcdefgh"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Map>
|