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

Andreas Neumann a.neumann at carto.net
Tue Dec 9 03:24:49 EST 2008


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?

Thanks,
Andreas

-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann at carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)



More information about the gdal-dev mailing list