[GRASS5] [bug #2362] (grass) r.support: updated needed for range calculation

Request Tracker grass-bugs at intevation.de
Wed Mar 24 05:31:30 EST 2004


this bug's URL: http://intevation.de/rt/webrt?serial_num=2362
-------------------------------------------------------------------------

Subject: r.support: updated needed for range calculation

grass obtained from: CVS
grass binary for platform: Compiled from Sources

r.support: updated needed for range calculation

Background:

Glynn Clements wrote:
> > I'm not sure what purpose "r.support -r" serves. The core libgis
> > functions automatically update the range; AFAICT, the only reasons
> > that the range/fp_range files may not accurately reflect the range of
> > the data are:
> >
> > 1. The actual cell/fcell data files have been modified other than
> > via the standard functions (open_cell/put_row/close_cell).
> >
> > 2. The range has been explicitly modified via e.g. G_update_range()
> > (which is what "r.support -r" does).
>
> So maybe we remove it?
>
> Maybe it was introduced once in the inter version to overcome above
> mentioned problems, then introduced into cmd to have it available on
> command line.
>
> In case of removal it should be removed from both cmd and inter.

I suspect that r.support has its place, but for consistency with the
way in which the range is normally calculated, the calculation should
iterate over the cell values, not the category list (for both integer
and FP).


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list