6

Is there a way to easily eliminate the overlapping portions of polygons in the same layer?

For example, I want to turn this

enter image description here

into this

enter image description here

I used Union to break the polygons apart where they overlapped, and then used Delete Duplicate Geometries to get rid of half the overlaps, but still had to manually delete the others. That's fine for the example, but won't work with the large amount of polygons that will be in the real data.

  • 1
    Thank you for including "before" and "after" images of what you're trying to achieve. It made your question easy to understand. – csk Jan 25 at 20:58
5

QGIS Processing Toolbox has a SAGA Polygon self-intersection tool (under SAGA | Vector polygon tools).

It works much like QIGS Union Tool, while this tool retains only one feature per the overlapped area.

Open the attribute table of generated Intersection layer and select Delete all features whose fid (or id) is 0.

enter image description here

3

Use the Symmetrical Difference tool.

enter image description here

Symmetrical difference

This algorithm extracts the portions of features from both the Input and Overlay layers that do not overlap. Overlapping areas between the two layers are removed. The attribute table of the Symmetrical Difference layer contains original attributes from both the Input and Difference layers.

  • Thanks for the help. But does this only work if they are in different layers? When I tried it, I got a blank layer. All the overlapping features will be in the same layer. – Chad Jan 25 at 22:39
3

Just to add another workaround with QGIS built-in functions:

  • Intersect the polygons layer against itself.

The output is an Intersection layer with all the geometries of the polygons layer and new geometries for their overlapped areas.

  • Select by location the geometries of the Intersection layer than are equal (parameter) to polygons layer geometries, and Delete them.

The output is, in the same Intersection layer, two or more geometries for any overlap in the polygons layer.

  • Make the Difference between the polygons layer and the edited Intersection layer.

The output is a new Difference layer, with the geometries of the polygons layer without the overlapped areas.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.