All,
I am not sure if I should publish this question / issue in geoserver-user group or this one. In the doubt, I have posted in both.
We are hoping to publish some 16Bits Multi-bands (10 bands) GeoTiff – Earth Observation Dataset Sentinel2. We have some major issue making transparent the “nodata” area available in the GeoTIFF
The idea is to apply a range of SLD (e.g. true colour, false colour). Each SLD we apply makes the most of the channel selection along with some ContrastEnhancement. Note, we need to need to publish the full GeoTiff as opposed to pre-process the dataset off line. We will need to allow the WCS to run of the full GeoTiff as opposed to a simplified RGB GeoTiff.
The channel selection and the ContrastEnhancement work well. However, we have now exhausted all avenues to make the no data area transparent.
Our approach is similar to the one employed by Simone Giannecchini - http://blog.geoserver.org/2008/12/18/raster-symbolizer-tips-tricks-part-2/. We understand that this approach was successful and the post, it is also mentioned a sample file (EmissiveCampania.tif); it would be great if we could get access to it as a mean to compare with our data.
We have tried a number of options
· Apply specific nodata value, but so far not luck (gdalwarp -srcnodata 255 -dstalpha input.tif output.tif) – as per reported here http://osgeo-org.1560.x6.nabble.com/10-bands-geotiff-16-bits-handling-transparency-for-no-data-tc5354305.html
· set an InputTransparentColor to a layer – but this throw an error as per reported here http://osgeo-org.1560.x6.nabble.com/Unsupported-data-type-when-using-a-transparent-color-td5261925.html
For information, I am including below some information on the file, GeoServer version and the SLD being used.
Any help would be greatly appreciated from the GeoServer community.
Regards,
Pascal