Re: [gdal-dev] GDALProgressFunc in RasterIO not called

2018-04-11 Thread Even Rouault
On mercredi 11 avril 2018 02:03:27 CEST r.boeters wrote: > I'm using GDALDataset::RasterIO(..) > > to read WMS/WMTS/ECW. So not per band, nor per block. > > I want to be able to terminate this process, so I thought I c

[gdal-dev] GDALProgressFunc in RasterIO not called

2018-04-11 Thread r.boeters
I'm using GDALDataset::RasterIO(..) to read WMS/WMTS/ECW. So not per band, nor per block. I want to be able to terminate this process, so I thought I could pass a GDALProgressFunc function to get intermediate status u

Re: [gdal-dev] GDALProgressFunc in RasterIO not called

2018-04-11 Thread r.boeters
I'm so sorry, the code got lost The GDALProgressFunc is defined as this: int gdalProgressFunc(double dfComplete, const char *pszMessage, void *pProgressArg) { NLogger::LogMessage(Fasc(), NLogger::Info, "gdalProgressFunc called"); return 1; } Partial code where I'm reading the data (read