5

I'm editing a polygon layer in QGIS that contains several small polygons within larger polygons. To save time drawing the larger (encompassing) polygons, I'm using the "avoid intersections" option, along with "enable topological editing" and "enable snapping on intersection" options on. When I complete drawing a large polygon, all polygons render properly (i.e., the smaller polygons within the larger polygon are avoided/preserved as individual features, with proper topology as expected). However, once I save my edits, the larger polygon covers the smaller polygons. Is this an issue anyone else has encountered? If so, what is the solution?

I have tried exporting the shapefile (save as--> new name). That does not work.

The attached photos illustrate more clearly what I am trying to describe. The image above shows the smaller polygons that were drawn first. The image below shows the polygon I have drawn on top of them (colored yellow), which covers them upon saving the edits.

Thank you! enter image description here

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked May 5, 2017 at 23:26
1
  • Perhaps this tool is not planned for polygons which are totally included in another. Make a test with a big polygon and a shall one that a) is totally inside b) overlaps partially. What should work is to digitize big polygon to own layer and bore holes to that by calculating the difference (big one - union of smalls). Commented May 6, 2017 at 8:26

1 Answer 1

2

First I suspected your small polygons were several sets of multipart polygons, so just made a quick test.

The tested multipart object is shown as two yellow squares (FID=1). It turned out, however, mutipart polygon had no influence.

enter image description here

What I had to do was to remove self-intersected feature (lower left on the figure) to make avoid intersections work.

So... can you check Geometry errors on the small polygons?

mgri
16.4k6 gold badges48 silver badges80 bronze badges
answered May 6, 2017 at 10:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.