Fill Polygon Holes

Running programmatically

Fills the holes in a polygon dataset.

Inputs:

Outputs:

Notes :

Example:

Input Dataset

After Fill Polygon Holes

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name FillPolygonHoles
<input dataset> A String representing the input layer. Must be of Polygon type.
<output dataset> A String - the full name of the output layer.
{Max Area} A Double. Holes with larger area than this tolerance will not be removed.

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 subprocess.call([ETGWPath, "FillPolygonHoles", "input dataset", "output dataset", "Max Area"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "FillPolygonHoles" "input dataset" "output dataset" "Max Area"
.NET using ETGWOutX.dll FillPolygonHoles(input dataset, output dataset,Max Area)
ArcPy arcpy.FillPolygonHoles(input dataset, output dataset,Max Area)

Notes:

(Go to TOP)