[GRASS-user] Re: Convert FCELL to CELL

2010-06-30 Thread Pedro Venâncio
Hello Micha and Eloi, This procedure only extracts the integer part of the number, it is not rounded. For example, 3.8 becomes 3 instead of 4. Is there any way to force the rounding? Thanks! Pedro Venâncio Wouldn't: r.mapcalc new_map=int(original_map) do that? Hi,

Re: [GRASS-user] Re: Convert FCELL to CELL

2010-06-30 Thread maning sambale
r.mapcalc new_map=round(original_map) On 6/30/10, Pedro Venâncio pedrongvenan...@yahoo.com wrote: Hello Micha and Eloi, This procedure only extracts the integer part of the number, it is not rounded. For example, 3.8 becomes 3 instead of 4. Is there any way to force the rounding?

Re: [GRASS-user] Re: Convert FCELL to CELL

2010-06-30 Thread Pedro Venâncio
That's it! Thank you very much Maning! Pedro Venâncio --- On Wed, 6/30/10, maning sambale emmanuel.samb...@gmail.com wrote: r.mapcalc new_map=round(original_map) On 6/30/10, Pedro Venâncio pedrongvenan...@yahoo.com wrote: Hello Micha and Eloi, This procedure only extracts the