[GRASS-user] Rescale of float-raster
Moritz Lennert
mlennert at club.worldonline.be
Fri Aug 31 02:58:40 PDT 2012
On 31/08/12 11:17, Johannes Radinger wrote:
> 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?
Use r.recode.
Moritz
More information about the grass-user
mailing list