Bug report #10265

Avoid intersections fails in many cases

Added by Bernhard Ströbl over 10 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:18697

Description

avoid intersections does only work when digitizing new features. It does not work at all with existing features.
IMHO it is not very intuitive that snapping works on existing features and avoid intersections does not.
Cases where it does not work:
  1. copy/paste feature, see #4997
  2. move existing feature
  3. change feature using the node tool

avoid intersections seems to be implemented when digitizing a new feature is finished. So solution would be to add it to all feature changes (QgsVectorLayer's geometryChanged and featureAdded signals).

checked with two polygon layers in current master

History

#1 Updated by Andreas Neumann over 10 years ago

I agree. It is annoying that the "avoid intersection" rule cannot be enforced when modifying features after they have been created.

#2 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#3 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF