“snapping” polygons together

2019-04-28 12:25发布

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)

3条回答
我只想做你的唯一
2楼-- · 2019-04-28 12:47

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

查看更多
smile是对你的礼貌
3楼-- · 2019-04-28 12:48

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

查看更多
The star\"
4楼-- · 2019-04-28 12:53

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

查看更多
登录 后发表回答