R-sig-geo'ers:

Given two rasters of differing resolutions, extents, and cell sizes,
what is the most efficient way to do some level of raster algebra on
the files, e.g.:

raster1=raster(file1)
raster2=raster(file2)

I would like to add raster1 + raster2 and have the output be the
extent, cell size and projection of file1.   My understanding is
raster()'s map algebra requires the same size/projection of the
inputs, correct?  Thanks!

--j

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to