[Qgis-user] field calculator add field to .csv layer
Janneke van Dijk
janneke.qgis at gmail.com
Mon May 29 01:22:45 PDT 2017
Dear all,
Using Qgis 2.18.9 on Windows (OSGeo4W64) I'm trying to import a .csv
file and adding a text field. This is what I do:
1. add the .csv using add vector layer
2. open attribute table then use the field calculator
3. add text field, OK
4. toggle editing, save edits when asked.
I then get the following error messages:
Could not commit changes to layer test_fieldcalculator1
Errors: ERROR: 1 new attribute(s) not added
SUCCESS: 1 attribute value(s) changed.
Provider errors:
OGR error creating field txt:
Feature 1 for attribute update not found.
OGR error syncing to disk:
The capabilities of this layer show:
Add Features, Delete Features, Change Attribute Values, Add Attributes,
Delete Attributes, Rename Attributes, Change Geometries, Curved Geometries
which makes me think it should be possible to add attributes to this
layer. Is this a bug or am I missing something? If a bug, is it in OGR
or QGIS?
Thanks for any insight,
Janneke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170529/4cdba158/attachment.html>
More information about the Qgis-user
mailing list