Open Table of Contents

Connect Points

Go to ToolBox Implementation Go to .NET Implementation

Connects with lines each point from a point dataset to every other point from the same dataset that is closer to the point than the user defined cut off distance. 

Inputs:

Outputs:

Notes:

Example:

Each set of points will be connected only once.
  • Point 0 connects to Points 1, 2, 3, 4
  • Point 1 connects to Points 2, 3, 4 (it already has been connected to Point 0)
  • Point 2 connects to Points 3, 4 (it already has been connected to Points 0 and 1)
  • ......

The angle is calculated in North Azimuth direction

 

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPConnectPoints<input_dataset> <out_feature class> {Cutoff_distance}

Parameters

Expression Explanation
<input_dataset> A  Point 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)
{Cutoff_distance} A Double representing the Generalization tolerance.

Scripting syntax

ET_GPThinPoints (input_dataset,  out_feature_ class, Cutoff_distance)

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

.NET implementation
(Go to TOP)

ConnectPoints(pInFC As IFeatureClass, sOutFName As String, dCutOff As Double) As IFeatureClass

Copyright Ianko Tchoukanski