[GRASS-user] difference between the sum and num options in v.rast.stats

Margherita Di Leo diregola at gmail.com
Thu Feb 12 04:49:58 PST 2015


Roy,

On Thu, Feb 12, 2015 at 12:01 PM, Roy <royroge at outlook.com> wrote:

>  Hi, Margherita
>
>    what is the difference between the sum and num options in v.rast.stats?
>>> comparing the results of the two columns they appear to be the same, but
>>> I'm sure I'm missing something.
>>> Thanks for any pointers
>>>
>>
>>
>  sum is the sum of values and "num" (n) is the number of cells,
> if you have all cells = 1,  in this case  sum = num
> if this is not the case (all cells = 1) maybe something is wrong ...
>

Thank you, now is clear. No error, the result is correct.

>
>

-- 
Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo at jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150212/f18504b9/attachment.html>


More information about the grass-user mailing list