Richard Chirgwin wrote:
> I have created a raster to use as a DEM from a vector contour map - but
> I slipped with some parameters. Because it took a very long time to run
> the calculations, I'm wondering whether I could adjust the Z values to
> distribute them between a new minimum and new maximum, using r.mapcalc?
maybe r.rescale?
I don't know if that is FP safe or if it just works on cat (CELL) maps
(it's an oldie). see also r.rescale.eq
or as you suggest do it with r.mapcalc; figure out a y=mx+b relationship
and apply that. (or non-linear fit as required...)
Hamish
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user