On Fri, Sep 26, 2008 at 8:15 PM, Tom Flynn <[EMAIL PROTECTED]> wrote: > I'm expecting this call to put nXSize*4 bytes of data into my buffer > at pData. That data will contain floating point numbers. > Do my arguments match what I intend?
Tom, I don't see any obvious problems with your call. It might be helpful if you could do something like "gdalinfo -mm abc.img" so we can see if GDAL recognises some of the image data. It is slightly posible that the file is in compressed format, and that you are using an older version of the GDAL library where floating point compressed data was not properly supported (this has been an area of active work in the last year or two). It would be also very helpful if you could put a sample .img file somewhere for download so that others could try it too, though a 120MB file might be challenging to download for only this issue. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev