f4f1e84420
Add test cases for this problem. Conflicts: src/text_placements.cpp tests/data/placement/clean.sh tests/data/placement/test.py
21 lines
654 B
XML
21 lines
654 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE Map>
|
|
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
|
|
|
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
|
<StyleName>My Style</StyleName>
|
|
<Datasource>
|
|
<Parameter name="type">shape</Parameter>
|
|
<Parameter name="file">points.shp</Parameter>
|
|
</Datasource>
|
|
</Layer>
|
|
|
|
<Style name="My Style">
|
|
<Rule>
|
|
<Filter>[name] = 'Test five'</Filter>
|
|
<PointSymbolizer/>
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dx="10" dy="10" placement-type="simple" placements="W">[name]</TextSymbolizer>
|
|
</Rule>
|
|
</Style>
|
|
|
|
</Map>
|