Build Polygons

Running programmatically

Builds polygon layer from a polyline layer

Inputs:

Outputs:

Notes :

Example:

Source Polyline Layer

Source Polyline Layer

Result Polygon Layer

Result Polygon Layer

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name BuildPolygons
<input dataset> A String representing the input layer. Must be of Polyline type.
<output dataset> A String - the full name of the output layer.
<Fuzzy Tolerance> A Double representing the Fuzzy tolerance (in the units of the input dataset) to be used to resolve intersections.
{Label Points} A point layer to be used as a source for the polygon attributes.

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

Notes:

(Go to TOP)