I have an SLD like this:
<FeatureTypeStyle>
<Rule>
<Filter>
<PropertyIsEqualTo>
<PropertyName>S</PropertyName>
<Literal>1</Literal>
</PropertyIsEqualTo>
</Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#ff0000</CssParameter>
</Fill>
</PolygonSymbolizer>
</Rule>
<Rule>
<Filter>
<or>
<PropertyIsEqualTo>
<PropertyName>S</PropertyName>
<Literal>8</Literal>
</PropertyIsEqualTo>
<PropertyIsEqualTo>
<PropertyName>S</PropertyName>
<Literal>9</Literal>
</PropertyIsEqualTo>
</or>
</Filter>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#0000ff</CssParameter>
</Fill>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
I expect two color, but see only one - blue. If i swap these two rules
(filter with "or" goes first), then all works as expected. Can anyone tell
me why is that?
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users