[Gdal-dev] mean value of rasters
Frank Warmerdam
warmerdam at pobox.com
Thu May 4 15:59:53 EDT 2006
Christopher Condit wrote:
> I've got N raster files (GeoTiffs) of equal size and dimensions. I'd
> like to create a single raster with the mean value of these N rasters
> (cell by cell). Is there a good way to do this with GDAL, or with
> another tool?
Chris,
There is not direct way of doing this with the commandline utilities.
It would be relatively easy to implement using Python bindings for
GDAL and Numerical Python. I imagine this could also be done in something
like R or GRASS relatively directly.
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 OSGF, http://osgeo.org
More information about the Gdal-dev
mailing list