Re: [gdal-dev] Proposed Block iterator API

2015-11-25 Thread Rahkonen Jukka (MML)
Hi, I was wondering if this idea could resolve also this old ticket https://trac.osgeo.org/gdal/ticket/1233 -Jukka Rahkonen- Even Rouault wrote: Hi, I was wondering if there wasn't a need for a block iterator API for code that wants to process raster efficiently and iterates over blocks f

Re: [gdal-dev] Proposed Block iterator API

2015-11-22 Thread jramm
and handle reading the blocks, allocating buffers etc behind the scenes and then simply return individual pixels & indices would be quite interesting. int GDALBlockIteratorGetNextPixel(GDALBlockIteratorH hIter, void *pixel, int *i, int *j, int *iGlobal, int *jGlobal); -- View this messag

[gdal-dev] Proposed Block iterator API

2015-11-20 Thread Even Rouault
Hi, I was wondering if there wasn't a need for a block iterator API for code that wants to process raster efficiently and iterates over blocks from top to bottom, and left to write. Currently you have to create 2 for loops and deal with partial blocks at edges (see https://trac.osgeo.org/gdal