[Gdal-dev] gdal_merge.py resample method
Frank Warmerdam
warmerdam at pobox.com
Mon Nov 6 10:17:57 EST 2006
guillaume huby wrote:
> Hello,
>
> I'm using FWTools 1.6.0
>
> I wondered about resample method used in gdal_merge.py when different
> resolution are in inputs images.
>
> In the script I found the following documentation :
> "However,
> if the destination file is a different resolution, or different
> image pixel type, the appropriate resampling and conversions will
> be done (using normal GDAL promotion/demotion rules)."
>
> Is the rule nearest neighbour, bilinear or some other resample method ?
>
> Thanks in advance for replies.
Guillame,
Perhaps you meant FWTools 1.0.6?
In any event, gdal_merge.py uses nearest neighbour resampling. If you
want control over the resampling used, you should use gdalwarp instead.
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 | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list