Open Table of Contents

Generalize  Polygons

Go to ToolBox Implementation Go to .NET Implementation

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




ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPGeneralizePolygons <input_dataset> <out_feature_class> <generalize_tolerance> {stand_alone}


Expression Explanation
<input_dataset> A Polygon feature class or feature layer
<out_feature_class> A String - the full name of the output feature class (A feature class with the same full name should not exist)
<generalize_tolerance> A Double representing  Generalize tolerance (maximum offset) - the maximum distance that the generalized polygons will differ from the original ones


A Boolean. Indicates whether the option for stand-alone polygons to be used. VERY IMPORTANT - Set this parameter to TRUE only on polygon datasets that have only stand-alone polygons (no common boundaries between the polygons).

Scripting syntax

ET_GPGeneralizePolygons (input_dataset, out_feature_class, generalize_tolerance)

See the explanations above:
<> - required parameter
{} - optional parameter

.NET implementation
(Go to TOP)

GeneralizePolygons(pInFC As IFeatureClass, sOutFName As String, dGenTol As Double, Optional bStandAlone As Boolean = False) As IFeatureClass

Copyright Ianko Tchoukanski