This question already has an answer here:

I have added a layer from a delimited text (csv) file. I now wish to add the usual X, Y and Rotation fields to allow me to move and rotate the layer labels. However, it doesn't seem possible to edit the attribute table as the edit icon is greyed out for this table.

Can I somehow overcome this problem?

marked as duplicate by underdark qgis Nov 19 '16 at 9:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You'll need to save it to a format with edit support (csv is read only). Try saving the layer as a shapefile or geopackage and you should then be able to add columns.

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