7

I have a set of polygons representing administrative districts. The districts were digitized by hand, and there are small spaces between polygons where the polygons should be touching. There are probably also overlapping polygons. How can I have the polygons snap together, filling the gaps and removing overlap?

QGIS / ArcGIS or Python library solution preferred (but algorithm suggestions welcome)

sclv
  • 38,665
  • 7
  • 99
  • 204
zoo
  • 1,901
  • 1
  • 17
  • 25

3 Answers3

5

I know this post is 6 months old but ayway, you can use the Integrate tool in ArcGIS which should do what you want.

Martin Gunia
  • 1,091
  • 8
  • 12
3

Old school ArcInfo had a "clean" function - I think they did the same thing in geoprocessing if you use a geodb. In that function you set a tolerance for snapping lines and points together. The clean gets rid of all those slivers (the technical term for what you are talking about).

For Qgis:

This thread should be of some help to you http://hub.qgis.org/issues/3126

TheSteve0
  • 3,530
  • 1
  • 19
  • 25
0

You can find a tool in the ArcGIS world called: geometry repair. You can use the python API.

steenhulthin
  • 4,553
  • 5
  • 33
  • 52
  • 2
    But this tool repairs corrupted files, fixing invalid geometry in single features. It does not help with the problem in the question. – MarkJ Jun 15 '11 at 20:11