[gdal-dev] several No data value

Frank Warmerdam warmerdam at pobox.com
Fri Dec 3 16:05:49 EST 2010


Ludovic Mercier wrote:
> Hi,
> 
> i work with a type of data wich can have : no data value and other 
> information like "low and hight instrument saturation". For many 
> algorithm this value (instrument saturation ) is like "no data value".
> But in gdal doc only one data value is managed.
> Have you a solution for this case ?
> 
> A practical exemple is :
> data is REAL typically [-2E-5, 2E-5]
> no data value is -1004
> instrument saturation is -1001
> 
> thanks by advance for yours suggestions.

Ludovic,

GDAL only supports single nodata values as part of the data model.  You
can add arbitrary metadata describing other nodata values, but generally
GDAL itself and other client software won't realize the significance of
these other values.

sorry!

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list