[GRASS-user] Re: Convert FCELL to CELL

That’s it!

Thank you very much Maning!


Pedro Venâncio




— On Wed, 6/30/10, maning sambale emmanuel.sambale@gmail.com wrote:


r.mapcalc new_map=“round(original_map)”

On 6/30/10, Pedro Venâncio pedrongvenancio@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/
------------------------------------------------------

This last tip save me one day of wrong data processing…
Thanks to you all,

Eloi

2010/6/30 Pedro Venâncio <pedrongvenancio@yahoo.com>

That’s it!

Thank you very much Maning!


Pedro Venâncio





— On Wed, 6/30/10, maning sambale <emmanuel.sambale@gmail.com> wrote:


r.mapcalc new_map=“round(original_map)”

On 6/30/10, Pedro Venâncio pedrongvenancio@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/
------------------------------------------------------



grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Eloi Ribeiro
GIS Analyst
39,45º -4,40º
http://eloiribeiro.wordpress.com