I have a shapefile that I made by from 2 distinct shapefiles (I am using QGIS). The issue is that they don't overlap precisely so I have holes like the following:

enter image description here

enter image description here

I tried the vertex editing tool but I have many shapes and that wont work. What I need is the hole below to be merged into any surrounding shape, like one shape gets extended to fill the gap, I don't want 2 distinct shapes to become one, but one or more to get bigger to fill the space.

I tried delete holes tool but that did not do what I wanted either.

  • have a look at the snap and clean algorithms in the processing toolbox. – csk Jul 23 at 16:09
  • I tried clean it gives me the error error while writing shapefiles, I checked the validity of the shapefile and it seems to be okay – Koo Jul 24 at 12:48

This older GIS StackExchange question has answers for multiple types of software, but in one of the comments they mention that in QGIS 2.18.1 'Eliminate Sliver Polygons' is available in the stable package and is found under Vector -> Geoprocessing Tools.

  • I use qgis3, I cannot find this under this menu – Koo Jul 24 at 12:48
  • In my qgis2 I cannot see it as well – Koo Jul 24 at 12:48
  • I don't have QGIS available to check right now, but a quick Google of "qgis eliminate slivers" finds the Geometry Checker Plugin (docs.qgis.org/2.18/en/docs/user_manual/plugins/…), so maybe the tool has been moved elsewhere/incorporated into this plugin? – ycartwhelen Jul 24 at 13:05

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.