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

Markus Neteler neteler at itc.it
Wed Jan 19 08:49:47 EST 2005


On Wed, Jan 19, 2005 at 11:42:05AM +1300, Hamish wrote:
> > 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

Please note the new URL

   http://grass.ibiblio.org/grass60/manuals/html60_user/r.mapcalc.html 

Markus




More information about the grass-user mailing list