[GRASSLIST:5427] Re: Convert Raster from DCELL to FCELL

Hamish hamish_nospam at yahoo.com
Tue Jan 18 17:42:05 EST 2005


> I am trying to convert a DCELL raster image to an FCELL raster image.
> I have  read up on r.recode, and browsed the book.... but have yet to
> find a way to  make it convert from DCELL to FCELL....


r.mapcalc 'fcell_raster=float(dcell_raster)'

also int() and double() to go the other ways.

see
 http://grass.ibiblio.org/grass57/manuals/html57_user/r.mapcalc.html



Hamish




More information about the grass-user mailing list