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

21 lines
964 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)">
2014-12-09 15:31:23 +00:00
<Parameters>
<Parameter name="sizes">512,512</Parameter>
</Parameters>
<Style name="road">
<Rule>
<LineSymbolizer stroke="rgb(255,255,255)" />
<MarkersSymbolizer placement="vertex-first" file="shape://arrow" ignore-placement="true" transform="scale(0.7)" />
<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>