Bug report #20272

Polygon intersection on same layer returning wrong result

Added by Zoran Petrovic about 6 years ago. Updated almost 6 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 about 6 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 almost 6 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