[GRASS-dev] Re: [GRASS GIS] #982: Vector modules changing db should call Vect_set_db_updated

GRASS GIS trac at osgeo.org
Sat Mar 20 12:06:38 EDT 2010


#982: Vector modules changing db should call Vect_set_db_updated
--------------------------+-------------------------------------------------
  Reporter:  rblazek      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  normal       |   Milestone:  6.4.0                    
 Component:  Vector       |     Version:  unspecified              
Resolution:               |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Changes (by neteler):

  * component:  default => Vector

Comment:

 The original QGIS bug (http://trac.osgeo.org/qgis/ticket/1631) mentions
 v.db.addcol which is a script. Hence, Vect_set_db_updated() cannot be
 called. It appears that the function calls Vect_write_dblinks(Map) which
 modifies the dbln file
 (http://download.osgeo.org/grass/grass6_progman/field_8c_source.html#l00690).

 Question: would a "touch /path/to/vector/mapname/dbln" be sufficient to
 indicate the dbln file as updated?

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


More information about the grass-dev mailing list