Open Table of Contents

Clean Contour Gaps

Go to ToolBox Implementation Go to .NET Implementation

Cleans the gaps in a polyline dataset representing contours.

Inputs:

Outputs:

Notes: 

Example :

Input Contours Resulting Polylines

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPCleanContourGaps <input_dataset> <out_feature_class> <gap_size> <height_field>

Parameters

Expression Explanation
<input_dataset> A Polyline feature class or feature layer
<out_feature_class> A String - the full name of the output feature class.
<height_field>  A String -  the name of the field having the elevation value of the contours.
<gap_size> A Double - the gaps smaller than this tolerance will be closed. The units of the parameter are in the spatial reference of the input feature class

Scripting syntax

ET_GPCleanContourGaps (input_dataset, out_feature_ class, gap_size, height_field )

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

.NET implementation
(Go to TOP)

CleanContourGaps(pInFC As IFeatureClass, sOutFName As String, ByVal dMaxGapToFill As Double, ByVal sElevationField As String ) As IFeatureClass

Copyright Ianko Tchoukanski