[Qgis-developer] updating vector attribute tables

Jürgen E. Fischer jef at norbit.de
Thu May 15 19:50:56 EDT 2008


Hi Carson,

On Thu, 15. May 2008 at 15:15:20 -0700, Carson Farmer wrote:
> Does anyone know of a way to force a vector layer to reload it's 
> attribute table?

calling the vector data providers reset() might help.


> On a related note, is there any plans in the near future to make it 
> possible to add fields to vector layer attribute tables (specifically 
> shapefile attribute tables)?

The vector data provider also has an addAttributes method.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-0
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list