Skip to content

geospackle/topology-repair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

topology-repair

Topology repair tool for ESRI ArcGIS Pro

Tested with Arc Pro 2.0 and 2.4

Hand drawn datasets can have hundreds of tiny overlap and gap errors between polygons — a real pain to correct manually one by one with ESRI's topology tools. This script automatically corrects overlap and gap errors, picking the longest common edge that the error polygon has with a neighboring feature polygon and giving that neighbor's attribute value to the error polygon.

To run:

topology_repair(inFile=path_to_shapefile, dissolve_field=shapefile_attribute_field, gap_threshold=max_error_gap_area)

before
Original data

errors
Gap errors (red) and overlap errors (blue)

after
Repaired topology

About

ESRI Arc Pro topology repair tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages