[GRASS-user] raster analysis: hot to get one <elevation raster>
from two elevation rasters?
chrisbrandt74 at hotmail.com
Tue May 27 08:05:50 EDT 2008
Hi Daniel, hi Jachym, hi list!
I am very sorry but I couldn't get back earlier to your replies.
What I want to do is to get just one <elevation-raster> with combined elevation data from DGM raster and buildings raster
Hence I tried the r.mapcalculator as follows:
r.mapcalculator amap=dgm bmap=geb formula=A+B outfile=dgm_geb
The result just shows the same cell configuration as in the building raster but with elevation data just from the DGM.
> Date: Tue, 20 May 2008 09:17:30 -0300
> From: daniel.victoria at gmail.com
> To: jachym.cepicky at gmail.com
> Subject: Re: [GRASS-user] raster analysis: hot to get summarized values of two rasters
> CC: chrisbrandt74 at hotmail.com; grass-user at lists.osgeo.org
> 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:
> > hi,
> > r.mapcalc sum=map1+map2 would not help?
> > j
> > 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
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
More information about the grass-user