Editing in temporary scratch layer leads to geometry corruption (unable to save as Shapefile) #23639
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Data Provider
Related to specific vector, raster or mesh data providers
High Priority
Author Name: amedeo fadini (amedeo fadini)
Original Redmine Issue: 15716
Affected QGIS version: master_2
Redmine category:data_provider/ogr
I started just now to use a temporary scratch layer for digitizing features: in detail I need to split an existing layer of polygons in subregions, according to a raster level.
I succesfully copied the existing features in temporary layer, saving it as shapefile seems ok. After splitting one geometry in different subregion, trying to save as ESRi shapefile lead to an error
"Error: Feature write errors:
Feature geometry not imported (OGR error: )"
And opening the shapefile shows the previously splitted geometries with vertices coordinates mismatch.
Replicated with Alaska sample data "lakes.shp" Open, add, new temporary scratch layer, copy geometries from lakes, split save as ESRI Shapefile.
Corrupted layer and screenshot attached.
Qgsi code revision f124107
GDAL 1.10.1 GEOS 3.4.2-CAPI-1.8.2 r3921
Maybe GDAL is outdated?
The text was updated successfully, but these errors were encountered: