[gdal-dev] Downsample with averaging?
Jay Jennings
Jennings.Jay at geoeye.com
Tue Feb 22 11:43:39 EST 2011
Brilliant ! That works well, and fast. For the record, a command like:
gdal_translate -outsize 3.125% 3.125% XXXX.tif XXXX_dzm32.tif
serves to extract the 32:1 reduced-resolution level from a file created with a command like:
gdaladdo -r cubic XXXX.tif 2 4 8 16 32 64 128 256
and the result is a nicely smoothed dezoom of the original.
-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Jean-Claude Repetto
Sent: Tuesday, February 22, 2011 10:48 AM
To: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Downsample with averaging?
Le 22/02/2011 16:39, Jay Jennings a écrit :
> >> there is a gdal method to extract a single overview level from a tif
> but I can never
>
> >> remember it maybe someone will chime in...
>
> If so, that would be really helpful. Does anyone know how to extract a
> single overview from a pyramid'd image such as made from a command like:
>
> gdaladdo XXXX.tif 2 4 8 16 32 64 128 256
>
gdal_translate with the -outsize parameter should do the job.
Jean-Claude
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list