[GRASS-user] raster analysis: hot to get summarized values of two
daniel.victoria at gmail.com
Tue May 20 08:17:30 EDT 2008
It appears that you don't want to add the rasters but be able to query
both values at once. From the command line you can use
r.what.rast rast=raster_1,raster_2 <missing coordinates part, don't
have grass in front of me now>
and you will get the values for both rasters at the desired coords. I
don't know how to do that using the grass GUI though
On Tue, May 20, 2008 at 6:49 AM, <jachym.cepicky at gmail.com> wrote:
> 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?
>> Invite your mail contacts to join your friends list with Windows Live
>> Spaces. It's easy!
> Jachym Cepicky
> e-mail: jachym.cepicky gmail com
> URL: http://les-ejk.cz
> GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
> grass-user mailing list
> grass-user at lists.osgeo.org
More information about the grass-user