Continuation of GEOS-7759 Closed .
The fix introduced by that issue results in a style of the form:
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0">
<NamedLayer>
<Name>opengeo_i_3001a1</Name>
<UserStyle>
<Title>A raster style</Title>
<FeatureTypeStyle>
<FeatureTypeName>Raster</FeatureTypeName>
<Rule>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
While this is formally valid, it never actually produces an image - <FeatureTypeName>Raster</FeatureTypeName> means only apply this style to feature types named raster. This should be replaced with <FeatureTypeName>Feature</FeatureTypeName> , which acts as a wild card.
|