mapnik/tests/visual_tests/styles/shield-on-line-spacing-eq-width.xml

78 lines
2.4 KiB
XML
Raw Normal View History

2013-05-20 21:45:06 +02:00
<?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>