[Gdal-dev] gdalwarp resampling

Ray Joslyn RJoslyn at etg-sadi.com
Tue Oct 28 15:19:14 EST 2003


Frank,
No, I'm not actually warping the image.  What I was after was a way of
resampling the pixel size up while taking advantage of the interpolation
methods.  
Ray





-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com] 
Sent: Tuesday, October 28, 2003 1:41 PM
To: gdal-dev at remotesensing.org
Subject: Re: [Gdal-dev] gdalwarp resampling

Ray Joslyn wrote:
> Hello,
> 
> Regarding gdalwarp and the -rn, -rb, -rc switches.  I do not see any 
> difference in the output images when using these different resampling 
> methods.  Is there something else required here to get the resampling
to 
> work?

Ray,

Are you actually doing any change in image geometry?  A gdalwarp to a
file
with exactly the same size and geometry *should* result in no image
change.
Also, be sure you have the gdalwarp version that supports these
switches.
Do they show up in the usage message?

Other than that they should be subtly different in normal usage.

Best regards,
-- 
---------------------------------------+--------------------------------
------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


_______________________________________________
Gdal-dev mailing list
Gdal-dev at remotesensing.org
http://remotesensing.org/mailman/listinfo/gdal-dev



More information about the Gdal-dev mailing list