[GRASS-user] raster analysis: hot to get summarized values of two rasters

jachym.cepicky at gmail.com jachym.cepicky at gmail.com
Tue May 20 05:49:42 EDT 2008


r.mapcalc sum=map1+map2 would not help?


2008/5/20, christian Brandt <chrisbrandt74 at hotmail.com>:
> Dear list,
> I have two rasters with elevation data (DEM and buildings, both floating
> point) which I would like to overlay so that the resulting raster obtains
> the summarized z-values of both rasters.
> So I tried the r.patch and the r.mapcalculator with the result of just
> <physically> overlaid layers. E.g. at one cell where the DEM holds the
> z-value 435.0 m and the building raster the z-value 10.1 there still remain
> the 435.1 m in the resulting raster.
> In case of r.mapcalculator, I used the Layer A + Layer B option.
> How can I get the summarized values of both raster layers?
> Regards
> Christian
> _________________________________________________________________
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy!
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

More information about the grass-user mailing list