[GIS] How to merge overlap polygon respectively in one shapefile in QGIS

dissolvemergeqgis

I want to merge the polygons of one shapefile if they overlap, but I don't know what to do.
enter image description here

I try'dissolve' but get only one final polygon. This is not what I need. I want to merge them respectively.

enter image description here

Best Answer

That is not possible. Two overlapping polygons have different attributes. If you merge these two polygons, the result will be a single polygon but you keep the attributes of which polygon: the first or the second?

If the overlapping polygons have the same attributes you can use the group tool by specifying a grouping field.

Related Question