Re: [gdal-dev] NODATA value in rasters

2012-04-13 Thread David Strip
On 4/13/2012 1:50 PM, Carl Godkin wrote: I think a lot of formats support the concept of NODATA. The GDAL API has functions for checking for this in the GDALRasterBand class, for instance, as double GDALRasterBand::GetNoDataValue() in the C++ or in the C API as GDALGetRasterNoDataValue(). I'

Re: [gdal-dev] NODATA value in rasters

2012-04-13 Thread Carl Godkin
On Fri, Apr 13, 2012 at 12:07 PM, David Strip wrote: > What data formats besides geotiff support a NODATA value? Is there a > uniform GDAL approach to determining the NODATA value or otherwise > determining if a pixel is a NODATA pixel? I know that this value is stored > in a geotiff tag, but th

Re: [gdal-dev] NODATA value in rasters

2012-04-13 Thread Frank Warmerdam
David, Some formats support identifying a particular pixel value as nodata and some do not. When they don't and you write nodata, we usually try to store the information in an .aux.xml file (auxilary metadata) which at least GDAL based applications would recognise. Best regards, Frank On Fri, Ap

[gdal-dev] NODATA value in rasters

2012-04-13 Thread David Strip
What data formats besides geotiff support a NODATA value? Is there a uniform GDAL approach to determining the NODATA value or otherwise determining if a pixel is a NODATA pixel? I know that this value is stored in a geotiff tag, but that won't work for other formats. ___