[Qgis-developer] qgis api shape file attribute deletion

Martin Dobias wonder.sk at gmail.com
Mon Jan 18 03:27:34 EST 2010


On Mon, Jan 18, 2010 at 9:18 AM, Speiser Ferenc
<ferenc.speiser at gmail.com> wrote:
> Dear List,
>
> I would like to use qgis api to manage the attributes of shape-files. Adding
> attributes to shapefile is working correctly.
> But when I try to delete an attribute from the attribute table, it doesn't
> do anything.
> I looked up the vectordataprovider, and it seems the feature is not
> implemented, am I right?
> My provider has no capability to delete attributes...

Hi

the deletion of attributes in shapefiles is not supported by GDAL library:
http://trac.osgeo.org/gdal/ticket/2671

Anyway you could use Table Manager plugin from Borys Jurgiel for it.

Martin


More information about the Qgis-developer mailing list