Bug report #21453

Split features tool behaves unpredictably when split line is snapped on a segment

Added by Antoine Lafranchis about 5 years ago. Updated about 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29270

Description

The split features tool sometimes splits and sometimes doesn't split the feature, when the split line's last vertex is snapped exactly on a segment it. I attach a screencast to illustrate the issue because it's not totally reproductible. The issue is the same whether the feature is selected or not. It happens both with polygons and linestring geometries. It's probably due to small floating-point calculation inaccuracies.
In the examples shown in the screencasts, the CRS of the project and the layers (temporary memory layers) was the same (EPSG:3945).

split_features.gif - screencast (linestring) (301 KB) Antoine Lafranchis, 2019-03-03 06:50 PM

split_features2.gif - screencast (polygon) (628 KB) Antoine Lafranchis, 2019-03-03 07:02 PM

History

#1 Updated by Giovanni Manghi about 5 years ago

  • Category changed from Map Tools to Digitising

Also available in: Atom PDF