RE: [gdal-dev] Downsample with averaging?

2011-02-22 Thread Jay Jennings
is a nicely smoothed dezoom of the original. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jean-Claude Repetto Sent: Tuesday, February 22, 2011 10:48 AM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Downsample with

Re: [gdal-dev] Downsample with averaging?

2011-02-22 Thread Jean-Claude Repetto
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

RE: [gdal-dev] Downsample with averaging?

2011-02-22 Thread Jay Jennings
command like: gdaladdo .tif 2 4 8 16 32 64 128 256 From: Norman Vine [mailto:n...@cape.com] Sent: Tuesday, February 22, 2011 4:09 AM To: Jay Jennings Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Downsample with averaging? On Feb 21, 2011, at 3:26 PM, Jay Jennings wrote: Hello list,

Re: [gdal-dev] Downsample with averaging?

2011-02-22 Thread Norman Vine
On Feb 21, 2011, at 3:26 PM, Jay Jennings wrote: > Hello list, > (using GDAL 1.8.0) I am trying to create a 32:1 down-sampled overview of a > GeoTiff satellite image. My first thought was gdal_translate, with args such > as “-outsize 3.125% 3.125%”… which produces surprisingly high quality giv

Re: [gdal-dev] Downsample with averaging?

2011-02-22 Thread Chaitanya kumar CH
29.6249018) ( 100d14'59.51"W, 29d37'29.65"N) > > Lower Right ( -100.2498639, 29.4997420) ( 100d14'59.51"W, 29d29'59.07"N) > > Center ( -100.3125146, 29.5623219) ( 100d18'45.05"W, 29d33'44.36"N) > > Band 1 Block=512x512

Re: [gdal-dev] Downsample with averaging?

2011-02-21 Thread Brian Claywell
On Mon, Feb 21, 2011 at 2:26 PM, Jay Jennings wrote: > [...] I’m looking for a > downsampling scheme that creates a result pixel by averaging all relevant > source pixels (I know, for 32:1 downsample, that means 1024 source pixels > for each result pixel !) with the hope of an output that is not “

RE: [gdal-dev] Downsample with averaging?

2011-02-21 Thread Jay Jennings
18'45.05"W, 29d33'44.36"N) Band 1 Block=512x512 Type=Byte, ColorInterp=Red Band 2 Block=512x512 Type=Byte, ColorInterp=Green Band 3 Block=512x512 Type=Byte, ColorInterp=Blue From: Chaitanya kumar CH [mailto:chaitanya...@gmail.com] Sent: Monday, February 21, 2011 4:19 PM To: Jay J

Re: [gdal-dev] Downsample with averaging?

2011-02-21 Thread Chaitanya kumar CH
Jay, Can you provide a sample file that gives this error? On Tue, Feb 22, 2011 at 1:56 AM, Jay Jennings wrote: > Hello list, > > (using GDAL 1.8.0) I am trying to create a 32:1 down-sampled overview of a > GeoTiff satellite image. My first thought was gdal_translate, with args > such as “-outsi

[gdal-dev] Downsample with averaging?

2011-02-21 Thread Jay Jennings
Hello list, (using GDAL 1.8.0) I am trying to create a 32:1 down-sampled overview of a GeoTiff satellite image. My first thought was gdal_translate, with args such as "-outsize 3.125% 3.125%"... which produces surprisingly high quality given the absence of a resampling option. However I'm loo