Open Table of Contents

ET GeoWizards Scripting

Clean Contour Gaps
(Go to the main page of the function)

Cleans the gaps in a polyline dataset representing contours.

Syntax    

Dim ET As  New ETGW_Core
Set variable = ET.CleanContourGaps(
pInFeatureClass , sOutFileName, sIdFieldName, dGapSize,sMessage)

The SplitPolylineBasic method syntax has the following object qualifier and arguments:

Part Description
variable An IFeatureClass object
pInFeatureClass Required. An IFeatureClass object (Must be a Polyline feature class)
sOutFileName Required. A String - the full name of the output feature class (A feature class with the same full name should not exist)
sIdFieldName Required. A String -  the name of the field having the elevation value of the contours.
dGapSize Required. 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
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example