Hi,
Any comments/suggestions on this issue would be immensely helpful!
I'm storing the pixel values in a buffer like this:
pafScanline = (short int*)CPLMalloc(sizeof(short int)*nxSize*nySize);
I can read the data alright. The call to GDALRasterIO is being made
correctly, which I do with:
GDAL
Hi,
Thank you for the reply.
Calls to GDALRasterIO() are OK. Which I assume in a line interleaved
format look like this:
GDALRasterIO(hBand, GF_Read, 0,0, i, j, pafScanline,
nBlockXSize, nBlockYSize,
GDT_Int16,
0, 0);
Is t
Hi,
I've shortened my questions to exactly this part of the code:
// read datasets, compare data and write
if ( (pafScanline2[j] > 6 || pafScanline3[j] > 950) &&
pafScanline[j] == 2) {
GDALRasterIO( hDes