[GRASS-user] inverting DEMs

M S mseibel at gmail.com
Sat Nov 21 09:15:41 EST 2009


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, Bulent Arikan <bulent.arikan at gmail.com> 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.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 downloadable. Should I copy and paste to create a text
> file that contains the script?
>
> Thank you for all the suggestions,
>
> --
> BÜLENT ARIKAN
> School of Human Evolution and Social Change
> Arizona State University
> Tempe - AZ
> 85287-2402
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>


More information about the grass-user mailing list