[GRASS-user] Re: Convert FCELL to CELL
maning sambale
emmanuel.sambale at gmail.com
Wed Jun 30 06:18:49 EDT 2010
r.mapcalc new_map="round(original_map)"
On 6/30/10, Pedro Venâncio <pedrongvenancio at 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?
>
> Thanks!
>
> Pedro Venâncio
>
>
>
>
>
> > Wouldn't:
>
>> r.mapcalc new_map="int(original_map)"
>> do that?
>
> Hi,
>
>
>
> How can I convert a raster type FCELL into a raster type CELL?
>
>
>
>
>
>
>
>
>
--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------
More information about the grass-user
mailing list