mapnik/tests/visual_tests/styles/line-pattern-symbolizer.xml

33 lines
1.2 KiB
XML
Raw Normal View History

2013-08-21 17:33:24 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
2014-12-09 16:31:23 +01:00
<Parameters>
<Parameter name="sizes">900, 250</Parameter>
</Parameters>
2013-08-21 17:33:24 +02:00
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
2014-12-09 16:31:23 +01:00
<Parameter name="extent">-5.192, 50.189, -5.174, 50.195</Parameter>
2013-08-21 17:33:24 +02:00
<Parameter name="file">../data/line-offset.csv</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<LineSymbolizer stroke="#00FF00"/>
</Rule>
<Rule>
<Filter>[ref]=1 or [ref]=3</Filter>
<LinePatternSymbolizer file="../../data/pngsuite/linepattern.png"/>
<LinePatternSymbolizer offset="-5" file="../../data/pngsuite/linepattern1.png"/>
</Rule>
<Rule>
<Filter>[ref]=2 or [ref]=4</Filter>
<LinePatternSymbolizer file="../../data/pngsuite/linepattern.png"/>
<LinePatternSymbolizer offset="5" file="../../data/pngsuite/linepattern1.png"/>
</Rule>
</Style>
</Map>