[GRASS-dev] GRASS 6.2.3RC1 published

Glynn Clements glynn at gclements.plus.com
Mon Oct 29 20:18:33 EDT 2007

Moritz Lennert wrote:

> Could this be backported to 6.2.3:
> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/gis/color_hist.c.diff?r1=2.3&r2=2.4
> It doesn't look very intrusive, but sure is helpful. Without it the 
> grey.log rule in r.colors distributes the colors between 0 and 255 and 
> not between min and max values of the map.

[Actually, the old version maps 1 -> black and max -> white.]

That patch will work on its own, but it amounts to an incompatible
change to the behaviour of r.colors.

Even if the existing behaviour is undesirable, suddenly changing it in
a minor revision may be more undesirable. There are cases where the
existing behaviour is "adequate" (i.e. where min/max is small), and
the incompatibility would be a nuisance (e.g. having to re-do existing
graphics to maintain consistency).

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list