[GRASS-dev] [GRASS GIS] #2092: v.category option=del doesn't delete any categories

GRASS GIS trac at osgeo.org
Sat Oct 5 10:12:03 PDT 2013


#2092: v.category option=del doesn't delete any categories
---------------------+------------------------------------------------------
  Reporter:  marisn  |       Owner:  grass-dev@…              
      Type:  defect  |      Status:  closed                   
  Priority:  normal  |   Milestone:  7.0.0                    
 Component:  Vector  |     Version:  svn-trunk                
Resolution:  fixed   |    Keywords:  v.category               
  Platform:  Linux   |         Cpu:  Unspecified              
---------------------+------------------------------------------------------
Changes (by marisn):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:1 mmetz]:
 > option=del deletes all categories with the value set with the cat
 option. The cat option is by default set to 1, thus only categories with
 value 1 will be deleted, as happened in the example:

 Ahhh. This slipped my mind as cat option only accepts single integer and
 no ranges or lists of categories. Opened a new bug for it: #2094

 Closing as issue is fixed, still I would vote for not having cat=1 as
 default for "delete" action as it endangers 1st cat to accidental
 deletion. (Read - why 1st is more special than others? If user forgot to
 specify cat, let's punish him by nuking 1st cat :P )

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2092#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list