[GRASS-user] Re: Convert FCELL to CELL

Eloi Ribeiro eloi.ribeiro at gmail.com
Wed Jun 30 06:40:29 EDT 2010


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
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100630/74d3aa59/attachment-0001.html


More information about the grass-user mailing list