[gdal-dev] Gdal nodata Complex value

Even Rouault even.rouault at mines-paris.org
Tue Sep 7 13:27:05 EDT 2010


Shawn,

The nodata value at the band level (GDALRasterBand::GetNoDataValue() / 
SetNoDataValue()) is a real number, so there's no complete solution. Usually 
parts of the application that take into account the real part of complex 
numbers and compare it to the nodata value to determine if the pixel is nodata 
or not.

There's an exception however in the warping code where you can pass a nodata 
value formed of a real and imaginary part. See 
http://gdal.org/structGDALWarpOptions.html


Le mardi 07 septembre 2010 17:23:57, Shawn Gong a écrit :
> Hi list,
> 
> How do you set Gdal nodata in Complex? Would someone give me an example?
> 
> 
> Thanks,
> Shawn
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list