[GRASS-dev] [GRASS GIS] #2309: Add a select all flag to v.edit

GRASS GIS trac at osgeo.org
Tue Jun 16 08:37:26 PDT 2015


#2309: Add a select all flag to v.edit
--------------------------+---------------------------------------
  Reporter:  wenzeslaus   |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  trivial      |  Milestone:  7.1.0
 Component:  Vector       |    Version:  svn-trunk
Resolution:               |   Keywords:  v.edit, feature selection
       CPU:  Unspecified  |   Platform:  All
--------------------------+---------------------------------------

Comment (by wenzeslaus):

 Replying to [comment:1 mlennert]:
 > I've attached a patch that provides a very simplistic approach to a
 "select all" flag.

 Thanks.

 > However, reflection is needed on the following questions:
 >
 > * Should the flag select all features, regardless of whether they have a
 category number of not ?
 > * If not should the flag select only features that have category numbers
 in a given layer ?

 In the example in the original report, the `layer` option is used to
 specify the layer to write the categories to, so it cannot be used for
 selection, so there is no "given layer". And since there is no given
 layer, there is no way to determine if the features have category or not.
 So for me the answer for both questions is select regardless of existing
 category. This will do well for simple cases, I'm not sure if there are
 any complicated cases when a more sophisticated approach would be
 appropriate.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2309#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list