[gdal-dev] GDAL 1.8.0 and MrSid "no-data" values

Kirk McKelvey kmckelvey at lizardtech.com
Fri May 13 10:08:48 EDT 2011

Is this with MG3 or MG4 files?  MG4 uses an alpha channel instead of nodata, so what you describe would be expected in that case.

From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Oyvind Idland
Sent: vendredi 13 mai 2011 04:28
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] GDAL 1.8.0 and MrSid "no-data" values


I just updated to 1.8.0 from 1.7, using the MrSid DSDK 8.0.

In order to handle transparency, i have until now used the metadata values from "IMAGE__NO_DATA_VALUE",
and simply masked away pixels.

After upgrading, the IMAGE__NO_DATA_VALUE yields nothing, neither is it listed when using gdalinfo.

The band->GetNoDataValue() doesn't give me any hints either.

Should I handle this in a different way ?

-- Oyvind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110513/8cf67cdd/attachment-0001.html

More information about the gdal-dev mailing list