[QGIS-trac] Re: [Quantum GIS] #1631: v.db.addcol: table not updated

Quantum GIS qgis at qgis.org
Wed Mar 3 14:54:36 EST 2010


#1631: v.db.addcol: table not updated
-------------------------------------+--------------------------------------
        Reporter:  pcav              |         Owner:  nobody       
            Type:  bug               |        Status:  reopened     
        Priority:  minor: annoyance  |     Milestone:  Version 1.0.3
       Component:  GRASS             |       Version:  HEAD         
      Resolution:                    |      Keywords:               
Platform_version:                    |      Platform:  All          
        Must_fix:  No                |   Status_info:  0            
-------------------------------------+--------------------------------------
Comment (by rblazek):

 There are 2 problems here:

 1) GRASS modules do not call Vect_set_db_updated:
 http://trac.osgeo.org/grass/ticket/982

 2) AFAIK currently there is no way to let know vector layer from provider
 that the data has changed. It seems quite easy to add dataModified signal
 to provider and connect it in layer to setModified. The GRASS provider
 could emit the signal at the end of QgsGrassProvider::loadAttributes then.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1631#comment:6>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list