mapnik/tests/visual_tests/styles/shield-on-line-spacing-eq-width.xml
Dane Springmeyer c901f8b46e tests for 1849
2013-05-20 12:50:26 -07:00

78 lines
No EOL
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>alpha</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
wkt
"LINESTRING(0 0, 10 2)"
</Parameter>
</Datasource>
</Layer>
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>beta</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
wkt
"LINESTRING(0 2, 10 4)"
</Parameter>
</Datasource>
</Layer>
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>gamma</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
wkt
"LINESTRING(0 4, 10 6)"
</Parameter>
</Datasource>
</Layer>
<Style name="alpha">
<Rule>
<ShieldSymbolizer
file="../../data/svg/rect.svg"
placement="point"
face-name="DejaVu Sans Book"
halo-fill="white"
halo-radius="2"
spacing="1"
minimum-distance="20">
'hi'
</ShieldSymbolizer>
<LineSymbolizer stroke-width="0.2" stroke="#ff0000" />
</Rule>
</Style>
<Style name="beta">
<Rule>
<ShieldSymbolizer
file="../../data/svg/rect.svg"
placement="line"
face-name="DejaVu Sans Book"
halo-fill="white"
halo-radius="2"
spacing="20">
'hi'
</ShieldSymbolizer>
<LineSymbolizer stroke-width="0.2" stroke="#ff0000" />
</Rule>
</Style>
<Style name="gamma">
<Rule>
<ShieldSymbolizer
file="../../data/svg/rect.svg"
placement="line"
face-name="DejaVu Sans Book"
halo-fill="white"
halo-radius="2"
spacing="15">
'hi'
</ShieldSymbolizer>
<LineSymbolizer stroke-width="0.2" stroke="#ff0000" />
</Rule>
</Style>
</Map>