mapnik/tests/visual_tests/styles/marker-svg-opacity.xml

58 lines
1.4 KiB
XML
Raw Normal View History

2013-03-11 22:09:04 +00:00
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<Style name="ellipse">
<Rule>
<Filter>[id]=1</Filter>
<MarkersSymbolizer file="../../data/svg/rect2.svg" />
</Rule>
<Rule>
<Filter>[id]=2</Filter>
<MarkersSymbolizer opacity=".5" file="../../data/svg/rect2.svg" />
</Rule>
<Rule>
<Filter>[id]=3</Filter>
<MarkersSymbolizer fill-opacity=".5" file="../../data/svg/rect2.svg" />
</Rule>
<Rule>
<Filter>[id]=4</Filter>
<MarkersSymbolizer stroke-opacity=".5" file="../../data/svg/rect2.svg" />
</Rule>
</Style>
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>ellipse</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x,y,id
1,1,1
2,2,2
3,3,3
4,4,4
</Parameter>
</Datasource>
</Layer>
<!-- points to frame data view -->
<Style name="frame">
<Rule>
<PointSymbolizer />
</Rule>
</Style>
<Layer name="frame" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>frame</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x,y
0,0
5,0
0,5
5,5
</Parameter>
</Datasource>
</Layer>
</Map>