Hi Even,
That fixes the C code, thank you very much.
But what about the C++ line just below the C++ comment? See the previously
attached debug image window. The “data” class members are corrupted.
I started out with C++, and since it did not work I tried C.
Thank you.
Raymond Castonguay 520-940
> int nx = GDALGetRasterXSize(hDriver);
> int ny = GDALGetRasterYSize(hDriver);
> int nz = GDALGetRasterCount(hDriver);
That's the wrong part. You should use the dataH handle.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
___