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

Oyvind Idland oyvind.idland at gmail.com
Mon May 16 02:30:57 EDT 2011


Hi,

The file I'm using is actually MG2, using only 3 bands.

Note, thats its the same file I used for testing in 1.7.x aswell.


- Oyvind


On Fri, May 13, 2011 at 4:08 PM, Kirk McKelvey <kmckelvey at lizardtech.com>wrote:

> 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
>
>
>
> Hi,
>
> 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/20110516/22a230a2/attachment.html


More information about the gdal-dev mailing list