2

I have two layers of polygons with landcover classes(meadows, cropland, forest, ect) They overlap in both directions, i.e like a zipper. I need to dissolve them by one attribute (Class) so I can have the total area of each polygon... but in the overlapping sections sometimes the landcover classes don´t match.

If I try UNION, the algorithm creates new features for this overlapping regions, but also creates another AREA column and in some cases I have values for both columns simultaneously (I have now 2 AREA columns: one for each layer I "unioned").

I also tried the merge layers of the MMQGIS plugin, but the attributes are not summed up. And dissolving by class just creates an empty layer.

(The image is the union of the two layers. The arrows indicate which layer is overlapping over the other. Both images are corrected in terms of projection)

Does someone knows how to do something like this? I work on QGIS 2.12.3 on a PC.

enter image description here

  • If you use the "Difference" tool (before or after Dissolve), you won't have overlapping polygons anymore. Not sure if that's what you're trying to achieve though. Also, you may be able to compute the area with an expression instead of using your "AREA" attribute, depending on your projection. – ArMoraer Feb 3 '16 at 20:24
  • @ArMoraer I tried the difference tool before dissolving but I had to do it Layer1-Layer2 AND Layer2 - Layer1. Because the layers overlap like a zipper (each one on top of each other). And when I did this there is an empty space between my layers and I can not dissolve them anymore. – delViento Feb 4 '16 at 7:48
1

After hours of trial and error, I found a solution that I answered here: How to merge and dissolve adjacent polygons and sum up their attributes in QGIS?

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.