Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Features toolset > Tools

Split Line at Vertices (Data Management) (ArcInfo only)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Splits features at each vertex for the entire input feature class. This command will turn single line features into multiple line features. The number of line features created depends on how many vertices exist on each line from the input feature class.


Illustration

Split Lines illustration

Usage tips

Command line syntax
An overview of the Command Line window
SplitLine_management <in_features> <out_feature_class>

Parameter Explanation Data Type
<in_features>

Input feature class containing geometry that will be split at each vertex.

Feature Layer
<out_feature_class>

The output feature class to be created that will contain the newly formed line features that were split at each vertex. Features will be split into multiple line features.

Feature Class
Data types for geoprocessing tool parameters


Command line example

splitline c:\test_data\rd_network.shp c:\test_data\rd_stops.shp

Scripting syntax
About getting started with writing geoprocessing scripts
SplitLine_management (in_features, out_feature_class)

Parameter Explanation Data Type
in_features (Required)

Input feature class containing geometry that will be split at each vertex.

Feature Layer
out_feature_class (Required)

The output feature class to be created that will contain the newly formed line features that were split at each vertex. Features will be split into multiple line features.

Feature Class

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

# Set a default workspace
gp.workspace = "c:\\test_data\\workspace.mdb"

# Set a default workspace
gp.toolbox = "management"

try:
    # Splits a fc at each vertex.
    gp.splitline ("rd_network", "rd_stops")

except:
    # If an error occurs when running Splitline, print out the error message.
    print gp.GetMessages(2)

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.