zona State University
Phone: 480-965-6262
Fax: 480-965-7671
www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Nov 21, 2009, at 10:00 AM, grass-user-requ...@lists.osgeo.org
wrote:
Date: Sat, 21 Nov 2009 07:01:37 -0700
From: Bulent Arikan
Subject: [GRASS-user] inverting DEMs
To: gr
ate: Sat, 21 Nov 2009 07:01:37 -0700
From: Bulent Arikan
Subject: [GRASS-user] inverting DEMs
To: grass-user@lists.osgeo.org
Message-ID:
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I am trying to invert a DEM (i.e., make peaks basins and vice versa)
but
there does not se
Daniel Victoria wrote:
> Multiply the DEM by -1
>
> In r.mapcalc do:
> dem_inv = dem * -1
Or just negate it:
dem_inv = -dem
This is more efficient, although I doubt that the difference would be
noticeable in practice; I would expect reading and writing the data to
dwarf the computatio
Kind of a odd solution, but would it be possible to use the outputs of
r.param.scale to get the classed areas (i.e., peaks, pits, passes,
valleys) and then recode them as their opposite?
Alternatively, using r.mapcalc, can you multiply all the values by -1?
Mark
On Sat, Nov 21, 2009 at 9:01 AM,
Multiply the DEM by -1
In r.mapcalc do:
dem_inv = dem * -1
On Sat, Nov 21, 2009 at 12:01 PM, Bulent Arikan wrote:
>
> Hi,
> I am trying to invert a DEM (i.e., make peaks basins and vice versa) but
> there does not seem to be a module for this. I am assuming this can be done
> through ' r.mapca
Hi,
I am trying to invert a DEM (i.e., make peaks basins and vice versa) but
there does not seem to be a module for this. I am assuming this can be done
through ' r.mapcalc ' which I have very limited experience.
I also want to get ' r.prominence ' from the Add-ons site but the
text file is not d