mapnik/tests/visual_tests/styles/text-charplacement.xml

19 lines
827 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-color="rgb(255,100,100)">
<Style name="road">
<Rule>
2014-08-06 20:11:08 +00:00
<LineSymbolizer stroke="rgb(255,255,255)" stroke-opacity="0.7"/>
</Rule>
<Rule>
<TextSymbolizer placement="line" label-position-tolerance="50" spacing="20" minimum-distance="5" face-name="DejaVu Sans Book" size="20" halo-radius="1" halo-fill="rgb(255,255,0)">[NAME]</TextSymbolizer>
</Rule>
</Style>
<Layer name="road" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>road</StyleName>
<Datasource>
<Parameter name="file">../data/charplacement</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
</Map>