Open Table of Contents

Polygon To Polyline Advanced

Go to ToolBox Implementation Go to .NET Implementation

Converts the polygon boundaries to polylines.



Notes :


Original polygons
Derived polylines.
  • Nodes in intersections
  • No duplicates
  • The polylines on the boundary of the area will have ET_Left = -999999999
Polylines labeled with their Left and Right polygons. Polygons labeled with the Link field used in the function.
Multi-part polygons. Object ID used in the function as a link field.

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPPolygonToPolylineAdvanced <input_dataset> <out_feature_class><fuzzy_tolerance> <link_field> {label_feature_class}


Expression Explanation
<input_dataset> A Polyline feature class or feature layer
<out_feature_class> A String - the full name of the output feature class.
<fuzzy_tolerance> 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
<link_field> A String -  the name of the field to be used as a link. The field must exists in the input feature class. The type of the field can be Short Integer , Long Integer, Double, Single, String or Object ID. The values of this field will be saved as Left and Right polygons for each polyline.
 {label_feature_class} A String - the full name of the label feature class.

Scripting syntax

ET_GPCleanContourGaps (input_dataset, out_feature_ class, fuzzy_tolerance, link_field,label_feature_class)

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

.NET implementation
(Go to TOP)

PolygonToPolylineAdvanced(pInFC As IFeatureClass, sOutFName As String, dFuzzy As Double, sLinkField As String, Optional sLabelsFName As String = "") As IFeatureClass

Copyright Ianko Tchoukanski