Re: [GRASS-user] forcing raster accept only integer 0

2010-01-22 Thread Markus Metz
Milton Cezar Ribeiro wrote: 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()) If the original DEM is of type DCELL,

Re: [GRASS-user] forcing raster accept only integer 0

2010-01-22 Thread Glynn Clements
Milton Cezar Ribeiro wrote: Thanks for the reply. By the way, where I can have access to the list of datatypes for a raster map? I ran on my raster map and got datatype=CELL. I was expecting to get byte,float,integer... GRASS raster maps are either CELL (32-bit signed integer), FCELL

Re: [GRASS-user] forcing raster accept only integer 0

2010-01-22 Thread Glynn Clements
Markus Metz 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()) If the original DEM is of type DCELL, you can

Re: [GRASS-user] forcing raster accept only integer 0

2010-01-22 Thread Hamish
Milton wrote: Thanks for the reply. By the way, where I can have access to the list of datatypes for a raster map? I ran on my raster map and got datatype=CELL. I was expecting to get byte,float, integer... Glynn: GRASS raster maps are either CELL (32-bit signed integer), FCELL

Re: [GRASS-user] forcing raster accept only integer 0

2010-01-21 Thread Glynn Clements
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

Re: [GRASS-user] forcing raster accept only integer 0

2010-01-21 Thread Milton Cezar Ribeiro
Hi Glynn, Thanks for the reply. By the way, where I can have access to the list of datatypes for a raster map? I ran on my raster map and got datatype=CELL. I was expecting to get byte,float,integer... bests milton 2010/1/22 Glynn Clements gl...@gclements.plus.com Milton Cezar Ribeiro wrote:

Re: [GRASS-user] forcing raster accept only integer 0

2010-01-21 Thread Jarosław Jasiewicz
Milton Cezar Ribeiro pisze: Hi Glynn, Thanks for the reply. By the way, where I can have access to the list of datatypes for a raster map? I ran on my raster map and got datatype=CELL. I was expecting to get byte,float,integer... bests milton 2010/1/22 Glynn Clements