Milton Cezar Ribeiro wrote:

> 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())"

That will produce an integer map with no negative values.

> 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?

r.info, or "r.info -t" if you only want the type.

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to