[GRASS-dev] [GRASS GIS] #3643: Count report output of v.category
GRASS GIS
trac at osgeo.org
Wed Sep 12 08:51:46 PDT 2018
#3643: Count report output of v.category
-------------------------+---------------------------------
Reporter: jradinger | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Default | Version: svn-releasebranch74
Keywords: | CPU: Unspecified
Platform: All |
-------------------------+---------------------------------
The count column of the output of `v.category option=report` refers to the
number of vector objects (i.e. feature count) rather than to the number of
unique categories (i.e. category count). The latter, however might be
erroneously assumed because of the modules' name (i.e. that it reports
category related information). Anyway, I think that both information is
valuable to a user. However, what is actually provided by the count
column, i.e. that it is a feature count is not explicitly clear from the
manual page and should be improved. Maybe also an option to obtain the
number of unique categories might be interesting for many users. (Based on
an GRASS list email conversatoin with M. Lennert, this can be done with
something like `v.category YourMap op=print | sort -n | uniq | wc -l`)
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3643>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list