[GRASS-user] Area statistics for categorical maps

Nikos Alexandris nik at nikosalexandris.net
Thu Aug 9 00:33:06 PDT 2018


* Nikos Alexandris <nik at nikosalexandris.net> [2018-07-29 14:10:39 +0200]:

>The obvious problem is: `r.stats` if CSV friendly but gives
>approximations, `r.report` is not CSV friendly but the sum of relative
>percentages sum up to 100%.
>
>How do you report areal statistics?
>
>See also: https://trac.osgeo.org/grass/ticket/507

If `r.report` is a wrapper around `r.stats`, why aren't percentage
outputs identical, for the same region and maps? Why does `r.report` sum
up to 100% while `r.stats` help reads

    -p   Print approximate (total percent may not be 100%) percents

?

Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180809/12b8da11/attachment.sig>


More information about the grass-user mailing list