[GRASS-user] forcing raster accept only integer >0

Milton Cezar Ribeiro miltinho.astronauta at gmail.com
Thu Jan 21 18:59:53 EST 2010

Dear all.

I am trying to work around with a problem of map size under Vista (>2G).
I was wondering if I use the command below I will get a raster
map with values integer and >=0.
    r.mapcalc "Dem.new=if(Dem>=0,int(Dem),null())"

As my original map have values positive and negative, as well as
it is fload, my question is if are there a way of I force my output
map accept only integers>=0. By the way, is there a way
of I know if a map is float or integer?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100121/597a9857/attachment.html

More information about the grass-user mailing list