mapnik/tests/visual_tests/styles/text-displacement.xml
2014-04-24 21:00:00 -07:00

19 lines
874 B
XML

<?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>
<LineSymbolizer stroke="rgb(255,255,255)" stroke-width="0.5"/>
</Rule>
<Rule>
<LineSymbolizer stroke="rgb(255,255,255)" stroke-width="0.5"/>
<TextSymbolizer dy="5" placement="line" label-position-tolerance="5" spacing="60" face-name="DejaVu Sans Book" 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/displacement</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
</Map>