Clean Polygons

Running programmatically

Ensures topological correctness of a polygon feature data set.



Notes :


Input Layer

cleanPg_before.jpg (48191 bytes)

After Clean

cleanPg_after.jpg (48209 bytes)

Detail A before Clean

cleanPg_beforeA.jpg (82583 bytes)

Detail A after Clean

cleanPg_afterA.jpg (71382 bytes)

Running Programmatically

(Go to TOP)


Expression Explanation
Function Name CleanPolygons
<input dataset> A String representing the input layer. Must be of Polygon type.
<output dataset> A String - the full name of the output layer.
<Fuzzy Tolerance> A Double representing the Fuzzy Tolerance.
{Overlaps Name} A String representing the output point layer indicating the overlaps in the original polygons.
{Sort Field} A String representing a field to be used to sort the data before processing. The first features in the input dataset after sorting using that field will have priority during the cleaning process.

Running the function

ETGWPath used in the table below is the  full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")

Language Syntax
Python[ETGWPath, "CleanPolygons", "input dataset", "output dataset", "Fuzzy Tolerance", "Overlaps Name", "Sort Field"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "CleanPolygons" "input dataset" "output dataset" "Fuzzy Tolerance" "Overlaps Name" "Sort Field"
.NET using ETGWOutX.dll CleanPolygons(input dataset, output dataset, Fuzzy Tolerance,Overlaps Name, Sort Field)
ArcPy arcpy.CleanPolygons(input dataset, output dataset, "Fuzzy Tolerance", "Overlaps Name", "Sort Field")


(Go to TOP)