mapnik/tests/visual_tests/styles/marker-multi-policy.xml
2014-12-09 20:13:38 +00:00

39 lines
1.1 KiB
XML

<Map maximum-extent="0,0,190,180">
<Parameters>
<Parameter name="sizes">600,400</Parameter>
</Parameters>
<Style name="each">
<Rule>
<Filter>[i] = 1</Filter>
<MarkersSymbolizer placement="point" fill="red" width="30" allow-overlap="true"/>
</Rule>
</Style>
<Style name="whole">
<Rule>
<Filter>[i] = 1</Filter>
<MarkersSymbolizer placement="point" multi-policy="whole" fill="yellow" width="20" allow-overlap="true"/>
</Rule>
</Style>
<Style name="largest">
<Rule>
<Filter>[i] = 2</Filter>
<MarkersSymbolizer placement="point" multi-policy="largest" fill="blue" width="10" allow-overlap="true"/>
</Rule>
</Style>
<Style name="boundary">
<Rule>
<LineSymbolizer />
</Rule>
</Style>
<Layer name="multi">
<StyleName>boundary</StyleName>
<StyleName>each</StyleName>
<StyleName>whole</StyleName>
<StyleName>largest</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="file">../data/marker-multi-policy.csv</Parameter>
<Parameter name="separator">|</Parameter>
</Datasource>
</Layer>
</Map>