<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
Hi Daniel, hi Jachym, hi list!<br><br>I am very sorry but I couldn't get back earlier to your replies.<br><br>What I want to do is to get just one <elevation-raster> with combined elevation data from DGM raster and buildings raster<br><br>Hence I tried the r.mapcalculator as follows:<br>r.mapcalculator amap=dgm bmap=geb formula=A+B outfile=dgm_geb<br><br>The result just shows the same cell configuration as in the building raster but with elevation data just from the DGM.<br><br>Regards<br><br>Christian<br><br>> Date: Tue, 20 May 2008 09:17:30 -0300<br>> From: daniel.victoria@gmail.com<br>> To: jachym.cepicky@gmail.com<br>> Subject: Re: [GRASS-user] raster analysis: hot to get summarized values of two rasters<br>> CC: chrisbrandt74@hotmail.com; grass-user@lists.osgeo.org<br>> <br>> It appears that you don't want to add the rasters but be able to query<br>> both values at once. From the command line you can use<br>> r.what.rast rast=raster_1,raster_2 <missing coordinates part, don't<br>> have grass in front of me now><br>> and you will get the values for both rasters at the desired coords. I<br>> don't know how to do that using the grass GUI though<br>> <br>> Cheers<br>> Daniel<br>> <br>> On Tue, May 20, 2008 at 6:49 AM, <jachym.cepicky@gmail.com> wrote:<br>> > hi,<br>> ><br>> > r.mapcalc sum=map1+map2 would not help?<br>> ><br>> > j<br>> ><br>> > 2008/5/20, christian Brandt <chrisbrandt74@hotmail.com>:<br>> >><br>> >> Dear list,<br>> >><br>> >> I have two rasters with elevation data (DEM and buildings, both floating<br>> >> point) which I would like to overlay so that the resulting raster obtains<br>> >> the summarized z-values of both rasters.<br>> >> So I tried the r.patch and the r.mapcalculator with the result of just<br>> >> <physically> overlaid layers. E.g. at one cell where the DEM holds the<br>> >> z-value 435.0 m and the building raster the z-value 10.1 there still remain<br>> >> the 435.1 m in the resulting raster.<br>> >> In case of r.mapcalculator, I used the Layer A + Layer B option.<br>> >><br>> >> How can I get the summarized values of both raster layers?<br>> >><br>> >> Regards<br>> >><br>> >> Christian<br>> >><br>> >> _________________________________________________________________<br>> >> Invite your mail contacts to join your friends list with Windows Live<br>> >> Spaces. It's easy!<br>> >> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us<br>> ><br>> ><br>> > --<br>> > Jachym Cepicky<br>> > e-mail: jachym.cepicky gmail com<br>> > URL: http://les-ejk.cz<br>> > GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub<br>> > _______________________________________________<br>> > grass-user mailing list<br>> > grass-user@lists.osgeo.org<br>> > http://lists.osgeo.org/mailman/listinfo/grass-user<br>> ><br><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>