[gdal-dev] resampling a raster data set on the commandline

Frank Warmerdam warmerdam at pobox.com
Tue Dec 9 09:59:25 EST 2008


Andreas Neumann wrote:
> Hi all,
> 
> I need to resample raster files on the command line.
> 
> First I thought that resampling would be an option of gdal_translate, but
> it seems like it isn't implemented and there is a patch pending:
> http://trac.osgeo.org/gdal/ticket/1724 - but this patch is against an old
> version.
> 
> gdal_warp allows to specify the resampling method and resolution change
> when reprojecting, but I don't want to reproject my data, I just want
> resampling. Is gdal_warp the tool to use for resampling by specifying the
> same input and output projection?

Andreas,

Yes, gdalwarp would be the appropriate tool to use.

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



More information about the gdal-dev mailing list