[GRASS-dev] [GRASS GIS] #1998: Optional flag for v.select, v.overlay to return requested cats only

#1998: Optional flag for v.select, v.overlay to return requested cats only
-----------------------------------------------------------+----------------
Reporter: nikosa | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: unspecified
Keywords: vector, categories, cats, v.select, v.overlay | Platform: All
      Cpu: Unspecified |
-----------------------------------------------------------+----------------
It might be useful to have the vector modules v.select, v.overlay return
only the requested categories, i.e. do not actually run the requested
query/operation, simply feed-back the cats.

As an example, which categories of vector map A (areas) contain given
points in map B? This could be useful simply for reporting as well as for
further vector processing tasks in modules which accept/require "cats" to
operate.

Maybe implement a flag "-p" as in "print" (since "-r" is bound already in
v.select) or similar.

See also post in the grass-user mailing list:
http://lists.osgeo.org/pipermail/grass-user/2013-June/068321.html

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1998&gt;
GRASS GIS <http://grass.osgeo.org>