<div dir="ltr"><div dir="ltr">Thanks for your quick answer, Moritz!<div>I filed a ticket for this (<a href="https://trac.osgeo.org/grass/ticket/3643">https://trac.osgeo.org/grass/ticket/3643</a>)</div><div><br></div><div>/Johannes</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 12, 2018 at 2:58 PM Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 12/09/18 14:40, Johannes Radinger wrote:<br>
> Hi all, I was wondering about the report output of 'v.category <br>
> option=report'. This output contains a column for each layer that is <br>
> called 'count'. Does this 'count' refer to the number of vector <br>
> objects or the number of unique category numbers in that layer (I <br>
> guess it is the first)? This might differ if two objects share the <br>
> same category. I think both would be useful, however which one is <br>
> provided here? Maybe this could be added to the manual, as one could <br>
> assume that 'count' refers to categories numbers?!<br>
<br>
The first examples in the man page do implicitely give the answer, i.e.<br>
that it is feature count, not unique category numbers count. Actually, <br>
you cannot get this latter information from v.category op=report. AFAIK, <br>
you would have to do something like this (in *nix):<br>
<br>
v.category YourMap op=print | sort -n | uniq | wc -l<br>
<br>
But I agree that the count info is not clearly defined in the man page.<br>
Please file a ticket for this, so we don't forget.<br>
<br>
Moritz<br>
<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div>