Bug report #20272

Polygon intersection on same layer returning wrong result

Added by Zoran Petrovic over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:3.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:28093

Description

When running the vector Intersection tool and specifying the same layer as Input and Overlay layer,
result contains an intersection and symmetrical difference.

See attached image.

qgis intersection.png (51.8 KB) Zoran Petrovic, 2018-10-30 01:00 PM

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Operating System deleted (Windows 10 x64)
  • Priority changed from High to Normal
  • Category changed from Vectors to Processing/QGIS

#2 Updated by Julien Cabieces over 5 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

Looks normal to me. If you intersect a polygon with itself, it returns the same polygon.
So it's the same for the layer, if you intersect a layer with itself you obtain the same layer, plus the areas where polygons from the layer covers each other.

Also available in: Atom PDF