Automatically clean topological errors

744
3
01-05-2020 03:32 PM
luckyphil78
New Contributor

Hi,

Is there any way to automatically clean topological errors in arcpy?

Tags (3)
0 Kudos
3 Replies
DanPatterson_Retired
MVP Emeritus

Beyond topology related tools

An overview of the Topology toolset—Data Management toolbox | ArcGIS Desktop 

there are not specific methods/functions in arcpy the Arcpy Classes or Arcpy Functions

ArcGIS Pro Python reference—ArcGIS Pro | ArcGIS Desktop .

When do you want to fix the topology? when creating data, or bringing data in from elsewhere?

luckyphil78
New Contributor

Ive already imported the data, created the topology and validated it.  So after the initial validation, where dirty areas have been detected.

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

Regarding the "automatically clean" part of your question, there is no easy button for cleaning up topologies; and even if there was, it likely would generate questionable outcomes for most users.  For any given topology error, there is commonly numerous different ways to clean it up.

On the ArcPy part of your question, you can access some topology geoprocessing tools (e.g., An overview of the Topology toolset—Data Management toolbox | ArcGIS Desktop ) using ArcPy, and you can use other geoprocessing tools (e.g., An overview of the Generalization toolset—Data Management toolbox | ArcGIS Desktop ) to clean up data sets; but not all of the topology functionality in ArcGIS Desktop is available through ArcPy.