1

I have a polygon shapefile. After dissolving a few polygons I got some unrequired lines inside one of the polygons that I couldn't delete. When using the vertices tool the lines don't show and separate vertex that I can use to delete it.

Any ideas?

The green highlight is the lines that I want to delete using QGIS.

enter image description here

4
  • 2
    Note that polygon boundaries are composed of closed linestring loops. There is no line to delete, though there might be a common boundary to dissolve.
    – Vince
    Commented Jul 17, 2022 at 6:38
  • I already dissolved the polygons, and these two lines occurred after dissolving. my problem is similar to this problem, but couldn't solve it using any of the methods they mentioned gis.stackexchange.com/questions/155931/…
    – Sui
    Commented Jul 17, 2022 at 13:59
  • 1
    I can't tell from your image but if use the split part editing tool or multipart to singlepart processing tool do you get polygons separated by what appears to be the line? If so you likely have a very small gap between the edges of the adjacent polygons. In an edit session zoom in and snap the vertices at the ends of each together. To preserve topology make sure the other adjacent polygons vertices there are also snapped. You might instead run a v.clean with a snap tolerance sufficient to make the boundaries coincident. Then you can merge them.
    – John
    Commented Jul 17, 2022 at 22:46
  • @johns I have added the required shapefile to be able to edit it, as I tried your suggestions but none of them worked. I am new in qgis, so please some detailed solutions will be helpful.
    – Sui
    Commented Jul 22, 2022 at 22:00

1 Answer 1

1

With only two gaps, the easiest is to start editing, manually digitize a polygon covering the gap, merge it with the big one:

enter image description here

2

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.