[gdal-dev] re-gridding to a coarser grid

Travis Kirstine traviskirstine at gmail.com
Tue Dec 13 15:25:27 EST 2011


Andreas,

gdalwarp can be used to resample images using the -tr flag or -ts flag.

For example resample 1m image to 10m using cubic resampling and
"target resolution'

gdalwarp -r cubic -tr 10 10 input_1m.tif output_10m.tif

You may have an issue determining the output resolution as I believe
the resolution will be in decimal degrees rather than arc-seconds.

Regards

On 13 December 2011 14:52, Andreas H. <lists at hilboll.de> wrote:
> Hi,
>
> let's say I have a GeoTIFF file with a global grid in a 30 arc-second
> resolution. Which would be the appropriate GDAL command to spatially
> down-sample this file to say 0.125°?
>
> Thanks for your insight,
> Andreas.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list