mapnik/tests/visual_tests/styles/marker-multi-policy.xml

36 lines
1 KiB
XML

<Map maximum-extent="0,0,190,180">
<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>