[GRASS-user] FCELL, Float32 and colors

Moritz Lennert mlennert at club.worldonline.be
Fri Jan 4 10:56:06 EST 2008


On 04/01/08 14:06, G. Allegri wrote:
> I'm trying to solve it multiplying my raster x1000000 and then 
> converting it to integer... This is the problem: how to convert 
> (rounding) a floating raster to an integer one? I suppose I should use 
> r.quant, but I can't make it work as I've never used it.
> Any hints?

r.mapcalc out=round(in) to round or out=int(in) to truncate.

Moritz


More information about the grass-user mailing list