“snapping” polygons together

半世苍凉 提交于 2019-12-07 03:35:42

问题


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)


回答1:


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




回答2:


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




回答3:


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



来源:https://stackoverflow.com/questions/6345343/snapping-polygons-together

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!