[gdal-dev] Call for discussion on RFC 51: RasterIO() improvements : resampling and progress callback

2014-11-24 Thread Even Rouault
Hi, This is a call for discussion on a new RFC : RFC 51 RasterIO() improvements : resampling and progress callback http://trac.osgeo.org/gdal/wiki/rfc51_rasterio_resampling_progress Below the summary : """ This RFC aims at extending the RasterIO() API to allow specifying a resampling algorithm

Re: [gdal-dev] Call for discussion on RFC 51: RasterIO() improvements : resampling and progress callback

2014-11-24 Thread Jukka Rahkonen
Even Rouault spatialys.com> writes: > > Hi, > > This is a call for discussion on a new RFC : > RFC 51 RasterIO() improvements : resampling and progress callback > > http://trac.osgeo.org/gdal/wiki/rfc51_rasterio_resampling_progress > > Below the summary : > """ > This RFC aims at extending th

Re: [gdal-dev] Call for discussion on RFC 51: RasterIO() improvements : resampling and progress callback

2014-11-24 Thread Even Rouault
Jukka, > > Gdaladdo seems to lose some resampling algorithms. Ah, the text of the RFC wasn't clear enough. Bilinear, cubicspline and lanczos are *additional* algorithms to the existing ones. > The damage with > average_mp can't be big by reading the comment from the gdaladdo manual > page "ave

Re: [gdal-dev] Call for discussion on RFC 51: RasterIO() improvements : resampling and progress callback

2014-11-25 Thread Mike Toews
On 25 November 2014 at 05:34, Even Rouault wrote: >> Otherwise I have not much to say about this RFC. "Blurring" has two r's, > > Fixed Gaussian blur also has another complexity, since it's output dimensions depend on the fftconvolve mode (using scipy.signal docs http://docs.scipy.org/doc/scipy-0

Re: [gdal-dev] Call for discussion on RFC 51: RasterIO() improvements : resampling and progress callback

2014-11-25 Thread Even Rouault
Mike, The gaussian resampling is the one already available for gdaladdo, that was added per http://trac.osgeo.org/gdal/ticket/2137 and http://trac.osgeo.org/gdal/changeset/15323 Basically : - for a downscaling of factor between 1 and 2 (and for upscaling as well), it will use a 3x3 kernel - for