[GRASS-user] FCELL, Float32 and colors

G. Allegri giohappy at gmail.com
Fri Jan 4 08:06:27 EST 2008


I'm trying to solve it multiplying my raster x1000000 and then converting it
to integer... This is the problem: how to convert (rounding) a floating
raster to an integer one? I suppose I should use r.quant, but I can't make
it work as I've never used it.
Any hints?

Giovanni




On 04/01/08 12:49, Glynn Clements wrote:
> > This is a limitation of the data format rather than the software. I'm
> > not aware of any "image" format which supports GRASS-style colour
> > tables (IIRC, GDAL can embed the GRASS colour table in a private
> > chunk, but I'm not aware of any software which can make use of that
> > data).
> >
> > One possibility is to export the data as two separate files, one
> > containing the floating-point data and the other a normal RGB image.
>
> Is there any de-facto standard for a color table that we could export a
> grass color table to ?
>
> Moritz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080104/593e2e1f/attachment.html


More information about the grass-user mailing list