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

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@cassblue.com

r.mapcalc "integer_map = round(fp_maps)"

On Thu, May 19, 2011 at 7:04 AM, Michael Morin <mmorin@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@cassblue.com

_______________________________________________
grass-user mailing list
grass-user@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/
------------------------------------------------------