I have imported two text layers into QGIS but now I am not able to edit them. All the editing fields are grey. I don’t use QGIS that much, so it’s a stupid question.. But how can I activate the edit functions?


Last I checked, QGIS can't be used to modify CSV, XLS, or ODS spreadsheets. If you import the spreadsheets and convert/export them to points or line-based shapefiles, only then will you be able to modify their contents by hand.

Your best bet for doing simple modifications to raw text files is to open them with nano/vi/vim, notepad, gedit, or another similar text/code editor.

  • 1
    For a raw text file you wouldn't want to use a word processor, the formatting codes they embed would mess with your data. Instead use a text editor like Notepad, Notepad++, Vim, etc. Or if it is properly delimited a spreadsheet program like Excel would do the trick. If you do use Word or something similar make sure you explicitly save the file as a text file. – HeyOverThere Jul 22 '16 at 15:39
  • Use LibreOffice... – DPSSpatial Jul 22 '16 at 16:15
  • @HeyOverThere good point. Revised my answer. – Trevor J. Smith Jul 22 '16 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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