I have transformed a *.dxf-file into a polygon shape-file. In many of the polygons i have lines whicht do not belong there but i can not delete them as i normally delete vertices on polygons by selecting it and pressing the delete key.

Here an Image (the lines which i want to delete are circled in red).

enter image description here https://www.dropbox.com/s/62hapho1ip7vgij/screenshot.PNG

Thx for helping!

  • 2
    It would be easier if you would just post a link to the data (maybe a small portion of it). How did you import it? Normally you should have exported as polygons only the closed polylines (if you exported with autocad map3d or similar) – tudorbarascu Dec 11 '13 at 9:54

Those lines and vertices are actually holes or islands on your polygon.

Try using the delete part or delete ring tools in the advanced digitizing toolbar, and click on one of the nodes. I have noticed that sometimes you need to drag one or more nodes a bit to be able to click on the hole\island boundaries to delete it.

| improve this answer | |

Such holes can often occur when you merge polygons (depending on the data quality). There is a tool called delete ring on the Advanced Digitizing toolbar. Select it and then click near (depending on your snapping presets) one of the nodes around the "hole". This will delete the ring.

enter image description here

| improve this answer | |

You should first use the node tool to move vertices to show the hole and then use the remove hole tool and click inside the hole.

| improve this answer | |

Use select tool in QGIS. It provides a lot of options. select by feature, freehand, radius, etc. See the image below.you can then delete the selected features. you need to toggle editing of layer before selecting


| improve this answer | |

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.