Re: [gdal-dev] Compute statistis and ignoring nodata value

2010-04-14 Thread Michael ODonnell
I made this correction, everything worked as expected. Thanks again for your assistance, Mike --- On Wed, 4/14/10, Even Rouault wrote: > From: Even Rouault > Subject: Re: [gdal-dev] Compute statistis and ignoring nodata value > To: gdal-dev@lists.osgeo.org > Cc: "Michael

[gdal-dev] Compute statistis and ignoring nodata value

2010-04-14 Thread Michael ODonnell
I am trying to compute and set the statistics for a data set that I have created using GDAL, but the no data values are being included. Is there a way to ignore the no data value when computing the statistics. The documentation does not say anything about this, to the best of my knowledge, and i

[gdal-dev] Problem with links and compiling C++ app using GDAL libraries

2010-02-23 Thread Michael ODonnell
I have written a C++ application that uses GDAL libraries for raster analysis. The compiling crashes when trying to link to gdal libraries. I am getting an error for every GDAL object such as: [Linker error] undefined reference to `GDALAllRegister' [Linker error] undefined reference to `GDALO

[gdal-dev] getRasterTable and back again to matrix

2008-10-10 Thread Michael ODonnell
I am using the getRasterTable to extract blocks of cell values from a raster dataset. After using this table to run statistical analysis, I would like to convert it back to a raster data set. To do this I am converting the table (predicted values) back to a matrix and then using putRasterData to

[gdal-dev] osr transformto error

2008-08-08 Thread Michael ODonnell
I am trying to run a simple script and the class transformto does not appear to be working for me. I have used GDAL before for raster analysis, but I have little experience with OSR. Does anyone have any ideas as to why this is not working? I have also run a script I found online called test_tr