[GRASS-user] r.statistics method=distribution: no percentages for negative basemap values

Hermann Peifer peifer at gmx.eu
Fri Oct 2 02:20:21 EDT 2009


Hi,

Is there a (good) reason why there are no (or better: wrong) percentages 
in case of negative basemap values?

Here some sampe results:

    basemap covermap percentage

      -70       -7      inf
      -70       63      inf
      -50       -7      inf
      -50       45      inf

As far as I can see this is the relevant line in r.statistics/o_distrib.c:

68   if (catb != basecat && basecat > 0)

I also created http://trac.osgeo.org/grass/ticket/763, some days ago.

Hermann



More information about the grass-user mailing list