Clean Gaps

Running programmatically

Finds the gaps between polygons and holes within polygons and fills them with new polygons.



Notes :


Before Clean Gaps

gap_before.jpg (16504 bytes)

After Clean Gaps

gap_after.jpg (15868 bytes)

Running Programmatically

(Go to TOP)


Expression Explanation
Function Name CleanGaps
<input dataset> A String representing the input layer. Must be of Polygon type.
<output dataset> A String - the full name of the output layer.
{Clean Polygons} A Bollean indicating whether the function to clean the polygons from overlaps.
{Fuzzy Tolerance} A Double representing the Fuzzy Tolerance.

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, "CleanGaps", "input dataset", "output dataset", "Clean Polygons", "Fuzzy Tolerance"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "CleanGaps" "input dataset" "output dataset" "Clean Polygons" "Fuzzy Tolerance"
.NET using ETGWOutX.dll CleanGaps(input dataset, output dataset, Clean Polygons, Fuzzy Tolerance)
ArcPy arcpy.CleanGaps(input dataset, output dataset, "Clean Polygons", "Fuzzy Tolerance")


(Go to TOP)