0

I want to remove overlaps in the picture below (showing trees). It doesn't matter which tree is cut, but I do want to keep all my attributes, because I need them later on.

It is also important that they don't get merged during the process, since I need with all the trees and unique values afterwards... I can't use the difference tool, because I have only have 1 layer (trees as input) and no overlay (because it doesn't matter which tree is being cut).

enter image description here

6
  • A layer is a manifestation of a data source with drawing rules. There are only two enabled layers visible in the canvas. Do you want to remove features? Or maybe just symbolize the layer with transparency so you can see the image layer below?
    – Vince
    Aug 17, 2022 at 13:44
  • Sorry, the satellite image or all the layers on the left are not important. I want to cut all overlapping parts of the polygon (urban trees). So that is of just one layer. I want to keep my values of every separate tree entity in my attribute table. I created this layer with a buffer of 8 meters around a tree pit (point). This created overlapping layers. Though, I want to delete the overlap between the buffer zones Aug 17, 2022 at 13:59
  • Here is a PostGIS solution
    – JGH
    Aug 17, 2022 at 14:06
  • 1
    If you create the polygon yourself by buffering point you could as well try the QGIS model "Non-overlapping buffer from points" from the QGIS hub (plugins.qgis.org/models/8) to directly create an output that suit you
    – J.R
    Aug 17, 2022 at 14:24
  • Run the GRASS v.clean tool in processing on your layer (break, snap, bpol), then run the delete duplicate geometries tool in Vector- General tool on the result.
    – John
    Aug 17, 2022 at 15:49

1 Answer 1

2
  1. Union the layer with itself
  2. Aggregate with group expression geom_to_wkt( $geometry ), aggregate function first values for all fields you want to keep
  3. Dissolve by the fields you kept.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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