Open Table of Contents

Clean Gaps

Go to ToolBox Implementation Go to .NET Implementation

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

Inputs:

Outputs:

Notes :

Examples:

Before Clean Gaps

After Clean Gaps

gap_before.jpg (16504 bytes) gap_after.jpg (15868 bytes)

ToolBox implementation
(Go to TOP)

Command line syntax 

ET_GPCleanGaps <input_dataset> <out_feature_class>

Parameters

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)

Scripting syntax

ET_GPCleanGaps (input_dataset, out_feature_class)

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

.NET implementation
(Go to TOP)

CleanGaps(pInFC As IFeatureClass, sOutFName As String, Optional bCleanPolygons As Boolean = False, Optional dFuzzy As Double = 0.000001) As IFeatureClass

Copyright Ianko Tchoukanski