Re: [gdal-dev] [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-13 Thread Even Rouault
Le vendredi 13 décembre 2013 08:25:55, Dmitriy Baryshnikov a écrit : > Hi, > > Why not reading small chunks (i.e. 256 x 256) with RasterIO > 3> from big raster? We'll get less memory usage. I think QGIS currently does a

Re: [gdal-dev] [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Dmitriy Baryshnikov
Hi, Why not reading small chunks (i.e. 256 x 256) with RasterIO from big raster? We'll get less memory usage. The program can count the percentage using the size of GDALDataset and size of chunks and cancel on any ch

Re: [gdal-dev] [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Even Rouault
Selon Martin Dobias : > Hi Even > > thanks for your thoughts. > > On Thu, Dec 12, 2013 at 8:30 PM, Even Rouault > wrote: > >> - rasters - currently we do not have API to cancel requests for raster > >> blocks. This means that currently we need to wait until the raster > >> block is fully read eve

Re: [gdal-dev] [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Martin Dobias
Hi Even thanks for your thoughts. On Thu, Dec 12, 2013 at 8:30 PM, Even Rouault wrote: >> - rasters - currently we do not have API to cancel requests for raster >> blocks. This means that currently we need to wait until the raster >> block is fully read even when we cancel the rendering job. GDA

Re: [gdal-dev] [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Even Rouault
Hi Martin, (CC'ing gdal-dev : original email is http://lists.osgeo.org/pipermail/qgis-developer/2013-December/029716.html) just commenting on the interesting raster topics. > Finally, some further thoughts/questions: > > - rasters - currently we do not have API to cancel requests for raster > bl