mapnik/tests/visual_tests/styles/lines-3.xml

21 lines
652 B
XML
Raw Normal View History

2012-03-04 01:04:43 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">osm</Parameter>
<Parameter name="file">../data/lines.osm</Parameter>
2012-03-04 01:04:43 +00:00
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<LineSymbolizer stroke-width="12" stroke="red"/>
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="line" spacing="20">[name]</TextSymbolizer>
</Rule>
</Style>
</Map>