Bug report #11086
Cannot copy point from shapefile layer to shapefile layer
|Affected QGIS version:||2.4.0||Regression?:||No|
|Operating System:||windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19419|
I have come upon this simple situation where I want to copy a point from one shape file layer to another shape file layer (see attached files).
Actions to reproduce:
- Copy the point from layer A.
- Enable editing on layer B.
- Paste the point to layer B.
- Disable/save editing on layer B.
I get the following error report:
Could not commit changes to layer B
Errors: ERROR: 1 feature(s) not added.
OGR error creating feature -7: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.
WKT of the point is:
Layer A is the result of using the
QGIS\\Vector\\Geometry Tools\\Multiparts to singleparts and I would expect the geometry type of the layer to be POINT.
ogrinfo reports the following:
INFO: Open of `A.shp'
using driver `ESRI Shapefile' successful.
1: A (Point)
What is happening here?