[GRASS-dev] Re: [GRASS GIS] #831: v.category options sum, del, and add do nothing

GRASS GIS trac at osgeo.org
Sun Dec 6 12:15:34 EST 2009


#831: v.category options sum, del, and add do nothing
--------------------------+-------------------------------------------------
  Reporter:  isaacullah   |       Owner:  martinl         
      Type:  enhancement  |      Status:  new             
  Priority:  major        |   Milestone:  7.0.0           
 Component:  Vector       |     Version:  svn-develbranch6
Resolution:               |    Keywords:  v.category      
  Platform:  All          |         Cpu:  All             
--------------------------+-------------------------------------------------
Comment (by martinl):

 Replying to [comment:7 cmbarton]:
 > v.to.db won't work for this. If a cat value was originally 3 and has
 been changed to 5, the link with the corresponding attribute record will
 be lost, because the attribute record still has cat=3. With this link
 gone, there is no way for v.to.db to know which is the correct recor

 I this case use {{{db.execute}}} and UPDATE statement.

 Martin

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


More information about the grass-dev mailing list