[GRASS-dev] Re: [GRASS GIS] #1001: Add option to replace (instead of just add) cats with v.category

GRASS GIS trac at osgeo.org
Sun Mar 14 14:53:24 EDT 2010


#1001: Add option to replace (instead of just add) cats with v.category
--------------------------+-------------------------------------------------
  Reporter:  needelsd     |       Owner:  grass-dev at lists.osgeo.org      
      Type:  enhancement  |      Status:  new                            
  Priority:  normal       |   Milestone:  6.4.0                          
 Component:  Vector       |     Version:  6.4.0 RCs                      
Resolution:               |    Keywords:  v.category add del replace cats
  Platform:  Unspecified  |         Cpu:  Unspecified                    
--------------------------+-------------------------------------------------
Comment (by needelsd):

 > aka v.edit?

 As far as I can tell the v.edit tool=catadd does not replace cats. It
 appears to append the same one or more cats designated by cats= to every
 feature selected by ids=, but without incrementing the cat value.

 Is there a way to tell v.edit to add sequential cat numbers or to replace
 an existing cat with a new one?

 But v.edit does make changes to the original file. Also, the tool=catdel
 ids=1-9999 cats=1-9999 does delete all multiple cats associated with
 individual selected vector features.

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


More information about the grass-dev mailing list