[gdal-dev] Resize raster

Jose Luis Gomez Dans josegomez at gmx.net
Tue Mar 4 09:44:59 EST 2008


Hi,

> Hi all,
> I must to resize a raster of coefficients that must to be applied on 
> another raster of different dimension. Exist a function in the GDAL 
> library like the  congrid in IDL?

I do this going throuh python/scipy. You read the raster in, and use the following scipy version of congrid: <http://www.scipy.org/Cookbook/Rebinning>. You can then save it out in a suitable format.

Works great,
Jose
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


More information about the gdal-dev mailing list