[GRASS-dev] [bug #5212] (grass) default color map range does not cover full data

Glynn Clements glynn at gclements.plus.com
Thu Oct 19 08:33:05 EDT 2006


Hamish wrote:

> > > this bug's URL: http://intevation.de/rt/webrt?serial_num=5212
> > > -------------------------------------------------------------------
> > > 
> > > Subject: default color map range does not cover full data
> ..
> > This isn't an issue with colour tables per se, but with the range
> > calculation. "r.info colorbug" says:
> ..
> > $ r.info colorbug | fgrep Range
> >  |   Range of data:    min = 0.250000  max = 2400.750000              
> 
> [less keystrokes: r.info -r]
> 
> 
> > Looking at G_row_update_fp_range():
> 
> [Glynn fixes it]
> 
> 
> 
> I take it this also affected the g3d library & fixes any problems there?
>   lib/g3d/g3drange.c

Probably. G3d_range_updateFromTile() uses G_row_update_fp_range(),
which is the function which I fixed.

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




More information about the grass-dev mailing list