4

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
5

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.

Hope it helps.

1

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

  • Oh, I didn't mean to create a duplicate answer. Just started to type it, and got distracted for a while, so Alexandre Neto beat me :) – SAnderka Dec 11 '13 at 15:16
0

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.

-1

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

qgis_select.

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.