Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When is the option to delete field in an attribute table enabled in QGIS? I'm in editing mode and still am not able to delete a field...

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

That button is only avaliable for a PostGIS layer. You can delete table columns via the "table manager" plugin.

share|improve this answer
5  
Isn't it a bit annoying to have to install a plugin in order to delete fields? thanks –  vascobnunes Jul 18 '11 at 13:02
1  
That is true, but this is more of a limitation of OGR driver which QGIS use for read/write vector data. See this bug report: trac.osgeo.org/qgis/ticket/1934 . Fortunatley a fix is in the pipeline: trac.osgeo.org/gdal/ticket/2671 :) –  maning Jul 19 '11 at 11:35
    
You can also always open the *.dbf file directly in, for example, OpenOffice Calc and change, add, or delete columns of data. Just make sure all rows are in the same order as in the beginning when you save (e.g. by using a FID field). –  SAnderka Jul 25 '11 at 12:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.