Go to ET GeoWizards 12.x User Guide

Point To Polyline

Go to ToolBox Implementation

Converts a point data set to a polyline feature class. Attaches to the polyline attribute table the values of the attributes for the first and last point that form a single polyline. If your point data does not have Polyline ID and Order attributes, you can try the Connect Unstructured Points function.

Inputs:

Outputs:

Notes:

Example:

Source points

Source points attribute table

Resulting polylines
ID Field = [PolylineID]  ;  No Order Used

Resulting polylines
ID Field = [PolylineID]   ;  Order field = [PointOrder]

ToolBox implementation
(Go to TOP)

Command line syntax 

ET_GPPointToPolyline <input_dataset> <out_feature class> <polylineID_field> {Z_value_field} {M_value_field} {order_field} {link_field}

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)
<polylineID_field>  A String -  the name (Case sensitive) of the field which values will indicate the points used to form a single polyline.
{Z_value_field} A String -  the name of the field which values will be used for Z values of the vertices. "Shape" can be used if the input points have Z.
{M_value_field} A String -  the name of the field which values will be used for M values of the vertices. "Shape" can be used if the input points have M.
{order_field} A String  - the name (Case sensitive) of a Numeric (integer or double) field which values will indicate the order in which the points describe the polylines. If no Order field is used the order is defined by the record number of the points
{link_field} A String - the name of a field to be used as a link between the input points and the output.  The values for the first and last point that will form a single polyline will be added to the polyline attribute table.

Scripting syntax

ET_GPPointToPolyline (input_dataset, out_feature class, polylineID_field, Z_value_field, M_value_field, order_field, link_field)

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

Copyright © Ianko Tchoukanski