Bug report #6413

Updated by Andrea Aime about 4 years ago

I have the following SLD description:



<pre>

<StyledLayerDescriptor version="1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ogc="http://www.opengis.net/ogc" xmlns="http://www.opengis.net/sld">

<NamedLayer>

<Name>test</Name>

<UserStyle>

<Name>test</Name>

<FeatureTypeStyle>

<Rule>

<LineSymbolizer>

<Stroke>

<CssParameter name="stroke-width">4</CssParameter>

<CssParameter name="stroke">#dddddd</CssParameter>

</Stroke>

</LineSymbolizer>

</Rule>

</FeatureTypeStyle>

<FeatureTypeStyle>

<Rule>

<PolygonSymbolizer>

<Fill>

<CssParameter name="fill">#fa5000</CssParameter>

</Fill>

</PolygonSymbolizer>

</Rule>

</FeatureTypeStyle>

</UserStyle>

</NamedLayer>

</StyledLayerDescriptor>

</pre>



When I try to render layer using this SLD by GeoServer I get expected result. In QGIS result is strange, it looks like QGIS doesn't support multiple FeatureTypeStyles sections within one SLD.

Back