mapnik/tests/visual_tests/styles/text-bug1820+1.xml

25 lines
966 B
XML
Raw Normal View History

2013-10-24 08:59:14 +02: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 16:31:23 +01:00
<Parameters>
<Parameter name="sizes">600, 300</Parameter>
</Parameters>
2013-10-24 08:59:14 +02:00
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
2014-12-09 16:31:23 +01:00
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
2013-10-24 08:59:14 +02:00
<Parameter name="file">../data/points.csv</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<PointSymbolizer opacity="0.5" ignore-placement="true"/>
<TextSymbolizer face-name="DejaVu Sans Book" size="16" wrap-width="4" placement="point" dx="0" dy="1"><Format line-spacing="[nr]*10+1">[name]</Format></TextSymbolizer>
2013-10-24 08:59:14 +02:00
</Rule>
</Style>
</Map>