Hi Dirk, Just an alternative solution to your problem.Try to first enhance the image and do the LUT burn with UInt 8 bit. Then publish the image then you may not require the SLD to apply to it.
Thanks & Regards Rakesh Ranjan On Thu, Sep 12, 2024 at 11:32 AM <dirk.thalh...@bkg.bund.de> wrote: > Dear list, > > we're currently upgrading Geoserver from 2.22.2 to a current version. In > our > setup we have an image pyramid data source with multispectral satellite > images (5 Band UInt16). Starting from Geoserver 2.22.4 the WMS renders only > black images for the image data. I couldn't find a clue which could be the > cause for that in the release notes: > https://github.com/geoserver/geoserver/releases/tag/2.22.4 > > Geoserver is running on a linx system with OpenJDK 11 and Tomcat 9. We're > using following SLD for the rendering: > <?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor > xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" > xmlns:gml="http://www.opengis.net/gml" > xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0"> > <sld:NamedLayer> > <sld:Name>RGB</sld:Name> > <sld:UserStyle> > <sld:Name>RGB</sld:Name> > <sld:FeatureTypeStyle> > <sld:Rule> > <sld:Title>rgb</sld:Title> > <RasterSymbolizer> > <Opacity>1.0</Opacity> > <ChannelSelection> > <RedChannel> > <SourceChannelName>3</SourceChannelName> > </RedChannel> > <GreenChannel> > <SourceChannelName>2</SourceChannelName> > </GreenChannel> > <BlueChannel> > <SourceChannelName>1</SourceChannelName> > </BlueChannel> > </ChannelSelection> > </RasterSymbolizer> > </sld:Rule> > <sld:VendorOption name="ruleEvaluation">first</sld:VendorOption> > </sld:FeatureTypeStyle> > </sld:UserStyle> > </sld:NamedLayer> > </sld:StyledLayerDescriptor> > > I already tried ContrastEnhancement with StretchToMinimumMaximum for the > channels but without success. Do you have any hints what could cause the > problem and how to solve it? > > Kind regards, > > Dirk > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users