[GRASS-dev] r.info -r (was: G_exp_colors()?)
Glynn Clements
glynn at gclements.plus.com
Wed Apr 9 12:36:57 EDT 2008
Maciej Sieczka wrote:
> > Bear in mind that "r.info -r" is approximating the min/max values to 6
> > decimal places. The actual min/max will be much closer to the values
> > in the first line of the colr file. IEEE "double" is ~15 significant
> > decimal digits.
>
> Could r.info -r print a different number of decimal digits, apropriate
> for DOUBLE and FCELL data type, respectively? Eg. 6 (or 7?) for FCELL
> and 15 (or 16?) for DCELL.
It could. Although the f_range file (which is what "r.info -r" uses)
always contains double values regardless of the underlying map type.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list