GIS Guide: how to remove donuts in QGIS
A donut polygon is a polygon with one or more holes in it. The Groundsure system cannot accept these types of shapes. This guide helps with fixing this issue in QGIS in order for the shapefile (.shp) to be accepted.
- Make the file you would like to remove the donut from editable:
- Select the Split Features tool from the Advanced Digitizing Toolbar (can be added to QGIS by right clicking and selecting the toolbar) Note: Split Parts will not work, as it can’t be remerged.
- Cut across the entire polygon, making sure to cut across the area you want to open up:
- Using the Vertex Tool move vertices apart from each other at the split you want to keep. This can be as thin or wide as you like but there must be a gap. Don’t touch the split you want to remerge:
- Select both part of the polygon and use the Merge Selected Features tool:
- Select OK on the prompt:
- The split which wasn’t altered will be remerged and the split which was made larger will be kept, removing the donut:
Real life example
Example of what is originally drawn:
Fixed example: