[GRASS-user] Convert Floating Point Raster to Integer Raster

maning sambale emmanuel.sambale at gmail.com
Thu May 19 00:49:51 EDT 2011


r.mapcalc "integer_map = round(fp_maps)"

On Thu, May 19, 2011 at 7:04 AM, Michael Morin <mmorin at cassblue.com> wrote:
> Techies,
>
> In ArcInfo I used to write .aml code to covert Floating Point Grids to Integer Grids.  Doing this produced a .vat table in the new Integer grid thereby giving me elevation data which i could then used to develop painted DEMS.
>
> Question...?  Would r.mapcalc or r.reclass be the tools I would use?......could someone share some example code how I would make this conversion?
>
> I will sum.
>
> Bonjour.
>
> Michael D. Morin
> mmorin at cassblue.com
>
>
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------


More information about the grass-user mailing list