[gdal-dev] GeoTiff null values

2010-07-29 Thread Filippo CorĂ²
Hi List, I'm running tests with GDAL 1.7 and python for achieving a function for the sum of GeoTIFF file. I found some difficulty in handling null values. I wanted to know if you can assign a specific value (like 99) to null when I call the Open function. The code is as follows: # Open t

Re: [gdal-dev] GeoTiff null values

2010-07-30 Thread Chaitanya kumar CH
Filippo, Please note that those values are called nodata values. Nodata value is assigned a specific value during the creation of the raster and all the pixels where data is unavailable are assigned that value. Using the python interface, you can find the specified value with GetNoDataValue(). Yo