[GRASS-dev] new r.out.gdal fails to preserve 8bit color

Glynn Clements glynn at gclements.plus.com
Fri Jan 19 10:31:42 EST 2007


Markus Neteler wrote:

> > Why do you think that this is an issue with G_get_f_color_rule()?
> >   
> Maybe that's a wrong assumption.
> 
> > With a simple test program, I get results which exactly match the
> > contents of the colr file.
> >   
> 
> I tried on two machines. The exported file does not contains colors. I wonder
> if you get a colored output file (did you try a Spearfish raster map?).

I haven't looked into the overall issue of colour tables in r.out.gdal
(I'm entirely unfamiliar with the GDAL API), only the question of
whether G_get_f_color_rule() works correctly (it appears to).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list