Split Line at Vertices (Data Management) (ArcInfo only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
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
Usage tips
All input feature classes and/or feature layers must be line geometry.
Splits each line feature at every vertex for the newly created feature class.
The output feature class can be a much larger file, since all the new features have been created. This will depend on how many vertices are in the input feature class.
The following environment settings affect this tool: Coordinate system, Extent, XY Tolerance, Z Tolerance, M Tolerance , XY Resolution, Z Resolution, M Resolution , Output XY domain, Output Z domain, Output M domain , Output has M values, Output has Z values, Default Z value , Configuration keyword, Output Spatial Grid.
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 |
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 |
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)