Open Table of Contents

ET GeoWizards Toolbox

Polyline To Points
(Go to the main page of the function)

Converts a polyline data set to a point feature class.

Command line syntax 

ET_GPPolylineToPoints <input_dataset> <out_feature class> <Vertex | Middle | Node> {remove_duplicates} {point_angle} {angle_at_start}

Parameters

Part Description
<input_dataset> A Polyline 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)
<Vertex | Middle | Node> Convert Option. A String -  the export option to be used. The available options are (Case sensitive): 
  • "Vertex" -  - the vertices of all polylines will be converted to points. If {remove_duplicates} is True  the duplicate points created from the nodes of two polylines sharing a common node will be represented by one point.
  • "Middle" - only the middle point of each polyline will be exported.
  • "Node" - only the nodes of each polyline will be exported. If {remove_duplicates} is True  the duplicate points created from the nodes of two polylines sharing a common node will be represented by one point.
{remove_duplicates} A Boolean  used only with Convert Option = "Vertex" and Convert Option = "Node". If True the duplicate points representing coincident nodes will be removed.
 {point_angle} A Boolean - indicates whether an angle attribute to be added to the point attribute table.
{angle_at_start} A Boolean - indicates from which polyline segment to be calculated the angle. True - from the start segment, False3 from the segment end. See the main page of the function for an example.

Scripting syntax

ET_GPPolylineToPoints (input_dataset, out_feature class, convert_option, remove_duplicates)

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