Go to ET GeoWizards 12.x User Guide

Split Polyline Wizard

Go to ToolBox Implementation

Splits the features of a polyline layer.





Before Split

Split in all Vertices

Split in equal segments

Split with segment length

spl_source.jpg (4838 bytes)

spl_vertex.jpg (4367 bytes)

spl_segment.jpg (4186 bytes)

spl_length.jpg (4405 bytes)

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPSplitPolylines<input_dataset> <out_feature_class> <NumberIntervals | NumberVertices | SegmentLength | EqualLength | Vertex> <split_tolerance> 


Expression Explanation
<input_dataset> A 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)
<NumberIntervals | NumberVertices | SegmentLength | EqualLength | Vertex> A String -  the split option to be used.
<split_tolerance>  Required. A Double representing depending on the option selected: 
  • "Vertex" - not used.
  • "NumberIntervals" - the number of segments
  • "SegmentLength" - the length of the segments
  • "EqualLength" - the length of the segments
  • "NumverVertices"- the number of vertices per segment
{Update_Rules_List} A String - a list of fields with their update rules.

Scripting syntax

ET_GPSplitPolylines(input_dataset, out_feature_class, split_option, split_tolerance, Update_Rules_List)

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

Example Python script:

import arcpy
arcpy.ImportToolbox("C:/Program Files/ET SpatialTechniques/ET GeoWizards 11.0 for ArcGIS 10.1/ET GeoWizards.tbx")
arcpy.gp.toolbox = "C:/Program Files/ET SpatialTechniques/ET GeoWizards 11.0 for ArcGIS 10.1/ET GeoWizards.tbx"
input_dataset = "C:\\data\\streets.shp"
result = "C:\\data\\fgdb_test.gdb\\split"
arcpy.gp.ET_GPSplitPolylines (input_dataset, result, "SegmentLength",50, "Meters Proportion; Suburb Copy; L_F_ADD Range Address L_T_ADD ;L_T_ADD Range Address L_F_ADD")
Copyright Ianko Tchoukanski