Re: [gdal-dev] gdal_translate vs gdalwarp aggregation behaviour

2019-08-26 Thread John Baumgartner
I should have mentioned, this is using GDAL 2.4.1 on macOS. On Tue, 27 Aug 2019 at 03:16, John Baumgartner wrote: > Hi all > > I'm a bit confused by the difference in resampling behaviour seen when > using gdal_translate vs gdalwarp, when faced with ncol or nrow that is not > divisible by the ag

[gdal-dev] gdal_translate vs gdalwarp aggregation behaviour

2019-08-26 Thread John Baumgartner
Hi all I'm a bit confused by the difference in resampling behaviour seen when using gdal_translate vs gdalwarp, when faced with ncol or nrow that is not divisible by the aggregation factor. For example, consider this 9 cell raster (attached, hopefully) with values 1 through 9, with resolution 1x1

[gdal-dev] gdal2tiles missing 'GRA_mode' resample method

2019-08-26 Thread Jacobs Tim
Dear GDAL Dev's, Recently, we were using gdal2tiles.py to build TMS tiles. Its code however seems to not support the "mode" resampling that is available in other GDAL utilities such as gdalwarp and gdal_translate. Can this be added to gdal2tiles.py too? Thanks, Tim Jacobs Indien u VITO Mol bezo