Indeed, I was trying to read a uint16 imagery using a float32 array.
Thanks for you speedy assistance.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Issue-with-ReadBlock-tp5246218p5246310.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
lloc(nXBlockSize * nYBlockSize *
sizeof(GByte));
Thanks for any help.
Trewdbal
int main()
{
std::cout.precision(12);
GDALAllRegister();
const char* PANFile = "/home/ficus/Code/Covariance/rasters/pan2048.tif";
GDALDataset *poDataset;
poDataset