Clean Contour Gaps

ToolBox Implementation .NET Implementation

Cleans the gaps in a polyline dataset representing contours.

Inputs:

Outputs:

Notes: 

Example :

Input Contours

Resulting Polylines

ToolBox implementation

Command line syntax

ETS_GPCleanContourGaps <Input Dataset>  <Out Feature Class> <Gap Size> <Height Field>

Parameters

Expression Explanation
<Input Dataset> A Polyline feature layer or feature class
<Out Feature Class> A String - the full name of the output feature class
<Gap Size> A Double representing the tolerance. The gaps in the contours that a smaller than this tolerance will be closed.
<Height Field> A String representing the name of the height field in the input contour dataset.

Scripting syntax

ETS_GPCleanContourGaps (Input Dataset,  Out Feature Class, Gap Size, Height Field)

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

.NET implementation
(Go to TOP)

CleanContourGaps (inFeatureClass As IFeatureClass, sOutFeature As String, gapSize As Double, heightField As String) As IFeatureClass

Copyright © Ianko Tchoukanski