mapnik/tests/data/good_maps/text_halo_and_collision.xml
2013-01-25 00:49:55 -08:00

52 lines
No EOL
1.3 KiB
XML

<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-color="steelblue">
<!-- test case for https://github.com/mapnik/mapnik/issues/1354 -->
<Style name="labels">
<Rule>
<TextSymbolizer
face-name="DejaVu Sans Book"
size="22"
halo-radius="10"
placement="point"
allow-overlap="false">
'this text halos should not overlap vertically'
</TextSymbolizer>
</Rule>
</Style>
<Layer name="points" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>labels</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x,y
2,2
2,2.3
</Parameter>
</Datasource>
</Layer>
<!-- points to frame data view -->
<Style name="frame">
<Rule>
<PointSymbolizer />
</Rule>
</Style>
<Layer name="frame" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>frame</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x,y
0,0
5,0
0,5
5,5
</Parameter>
</Datasource>
</Layer>
</Map>