[GRASS-user] Re: How to rescale

leonidas leonidas_liakos at yahoo.gr
Wed Jan 11 14:31:20 EST 2012


Indeed, I run *r.univar* and the max value is 101812!!!
So using:
r.recode input=dist_coastline output=recoded_file 
0:101812:255:0

the range of the output file was 0-255

I also checked Markus method.
eval `r.univar -g map=myrast` returns max value = 101812.211145335

I re-run r.recode using 101812.211145335 as max value.

Running r.univar for the two output files I get defferent results (but very
simiral):

Output from Markus method:



Output from Moritz method:








--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-rescale-tp7169303p7177559.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list