[gdal-dev] raster calc with different extents

Idan Miara idan at miara.com
Thu Feb 27 02:29:54 PST 2020


Hi,

Is there an easy way to make calculations with rasters with the same
projection and resolution but with different extents?
i.e. adding a few rasters with partial overlap so that the result raster
would be a union or an intersection of the extents.

Something like this but with different extents:
gdal_calc.py -A input1.tif -B input2.tif --outfile=result.tif --calc="A+B"

Kind regards,
Idan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200227/c6763ccc/attachment.html>


More information about the gdal-dev mailing list