Go to ET GeoWizards 12.x User Guide
Creates an output polyline feature class with single segmented polylines that connect each point of the input Point feature class to it's closest neighbor. The function uses a robust algorithm and can be applied on datasets containing up to 2 million points.
Inputs:
Outputs:
Notes:
Examples:
|
Result Dataset - Add Duplicate Links option NOT selected
Only one link is added - from point 8 to point 10
|
|
Result Dataset - Add Duplicate Links option selected
Two coincident links are added
|
ToolBox
implementation
(Go to TOP)
Command line syntax
ET_GPConnectToClosestPoint<input_dataset> <out_feature class> <cut_off>{add_duplicate_links}
Parameters
Expression | Explanation |
---|---|
<input_dataset> | A Point, Polyline or Polygon 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) |
<cut_off> | A Double representing the maximum distance between two points to be considered neghbors - in the units of the spatial reference of the input dataset |
{add_duplicate_links} | A Boolean indicating whether duplicate links to be added to the output or not. |
Scripting syntax
ET_GPConnectToClosestPoint(input_dataset,out_feature class, cut_off,add_duplicate_links)
See the explanations above:
<> - required parameter
{} - optional parameter
Copyright © Ianko Tchoukanski |