1

I am using QGIS (version: 3.28) and I am looking for a way for an automatic spatial generalization of polygons:

  1. Step: Merge adjacent polygons of same class (e.g. class "Grünfläche")

  2. Step: Polygons of class "Grünfläche" that are smaller then e.g. 0.3 ha should be merged with the adjacent polygon of another class, that has the longest "common boarder" with that polygon "Grünfläche". In other words: If a small polygon "Grünfläche" has a longer boarder with polygon of class "Landwirtschaft" and a shorter border with the polygon "Siedlung" --> the polygon "Grünfläche" should become "Landwirtschaft" and merge with the adjacent polygon "Landwirtschaft"

enter image description here

3
  • Have a look at Eliminate Selected Polygons.
    – ahmadhanb
    Jun 19, 2023 at 9:19
  • Welcome to GIS SE! We're a little different from other sites; this isn't a discussion forum but a Q&A site. Your questions should as much as possible describe not just what you want to do, but precisely what you have tried and where you are stuck trying that. Please check out our short tour for more about how the site works
    – Ian Turton
    Jun 19, 2023 at 10:22
  • You might want to post some sample data Jun 19, 2023 at 13:02

1 Answer 1

2

Step 1: Run Dissolve, using Class as the Dissolve field, and Keep disjoint features separate flag checked.

Step 2a: Use Field Calculator to add an Area field, to get the area in hectares.

Step 2b: Select all polygons with Area < 0.3 ha using Select by expression.

Step 2c: Use Eliminate selected polygons with Largest Common Boundary as the merge criterion.

Your Answer

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

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