Generalize Polygons

Running programmatically

Generalizes ( reduces the number of vertices required to represent a polygon ) the features of a polygon layer using the Douglas-Poiker algorithm. Preserves the polygon topology. If the input polygon dataset has only stand alone polygons (no common boundaries), the Stand Alone option can be used for faster processing.




Running Programmatically

(Go to TOP)


Expression Explanation
Function Name GeneralizePolygons
<input dataset> A String representing the input layer. Must be of Polygon type.
<output dataset> A String - the full name of the output layer.
<Generalize Tolerance> A Double representing the Generalization tolerance (in the units of the spatial reference of the input layer.
{Stand Alone Only} A Boolean indicating whether the input contains only stand alone polygons.

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, "GeneralizePolygons", "input dataset", "output dataset", "Generalize Tolerance", "Stand Alone Only"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "GeneralizePolygons" "input dataset" "output dataset" "Generalize Tolerance" "Stand Alone Only"
.NET using ETGWOutX.dll GeneralizePolygons(input dataset, output dataset, Generalize Tolerance, Stand Alone Only)
ArcPy arcpy.GeneralizePolygons(input dataset, output dataset, "Generalize Tolerance", "Stand Alone Only")


(Go to TOP)