[GRASS-user] Rescale of float-raster

Johannes Radinger johannesradinger at gmail.com
Fri Aug 31 02:17:53 PDT 2012


Hi,

I have a float raster with a minimum cell value 0f 0.2 and a maximum of 0.8.
Now I'd like to rescale all floating values between 0.0 and 1.0. I
tried r.rescale
with from=0.2,0.8 and to=0,1 but the I get a map with only two values 0 and 1,
but I'd like to strech all values to this new scale and to get also a
float raster as
output. Is there something I am doing wrong or is there another tool to perform
such tasks? Any suggestions?

Best regards,
Johannes


More information about the grass-user mailing list