Split (Analysis) (ArcInfo only) |
|
Release 9.2
Last modified January 13, 2009 |
![]() ![]() ![]() Print all topics in : "Tools" |
Breaks the Input Features into multiple output feature classes.
The boundary of each unique value in the Split Field is used to split the Input Features. The name of the output feature classes will be the same as the Split Field's unique values. Output feature classes are maintained in the target workspace.
Learn more about how Split works
Illustration
Usage tips
The Split Field data type must be character. The output feature classes will be named for Split Field values; therefore, they must start with a valid character.
The Split Features must be polygon(s).
The number of output feature classes is dictated by the Split Field of the Split Features. The number of output feature classes equals the total number of unique values in the Split Field.
The target workspace must already exist.
The feature attribute table for output feature classes contains the same items as the Input Features attribute table.
The Split command will not produce an empty output feature class for Split Features' areas in which no Input Features' features are located.
Annotation features are split and saved in the output features based on the Split Features polygon in which the lower left starting point of the annotation string falls.
In the ModelBuilder interactive window, Split will display what appears to be an additional input parameter "output workspace (2)". This is actual the Target Workspace parameter and it is being displayed because it's a required input parameter. Although it will contain the output features that result from the Split, the name of the pre-existing workspace must be stated as a required input parameter.
The output workspace parameter that appeared when the Split tool was first introduced into the interactive window remains and is treated as an output parameter thereby allowing the Split tool to be a chained process.
When processing datasets that contain any individual feature with a very large number of vertices (e.g., hundreds of thousands to millions of vertices within a single feature), some geometric processing operations may run out of memory. For more details, see Geoprocessing with large datasets.
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
Split_analysis <in_features> <split_features> <split_field> <out_workspace> {cluster_tolerance}
Parameter | Explanation | Data Type |
<in_features> |
The features to be split. |
Feature Layer |
<split_features> |
The features containing a tabular field whose unique values will be used to split the Input Features and provide the output feature class names. |
Feature Layer |
<split_field> |
The field in the split feature class that will be used to split the Input Features. This field's values will be used to identify Split Features for clipping each output feature class. The Split Field's unique values will be used as the output feature classes' names. |
Field |
<out_workspace> |
The workspace where the output feature classes will be saved. |
Workspace | Feature Dataset |
{cluster_tolerance} |
The minimum distance separating all feature coordinates (nodes and vertices) as well as the distance a coordinate can move in X or Y (or both). You can set the value to be higher for data that has less coordinate accuracy and lower for datasets with extremely high accuracy. |
Linear unit |
analysis_split c:\city.mdb\landuse c:\workspace\splitcov\polygon zonecode c:\workspace 1.25
Scripting syntax
About getting started with writing geoprocessing scripts
Split_analysis (in_features, split_features, split_field, out_workspace, cluster_tolerance)
Parameter | Explanation | Data Type |
in_features (Required) |
The features to be split. |
Feature Layer |
split_features (Required) |
The features containing a tabular field whose unique values will be used to split the Input Features and provide the output feature class names. |
Feature Layer |
split_field (Required) |
The field in the split feature class that will be used to split the Input Features. This field's values will be used to identify Split Features for clipping each output feature class. The Split Field's unique values will be used as the output feature classes' names. |
Field |
out_workspace (Required) |
The workspace where the output feature classes will be saved. |
Workspace | Feature Dataset |
cluster_tolerance (Optional) |
The minimum distance separating all feature coordinates (nodes and vertices) as well as the distance a coordinate can move in X or Y (or both). You can set the value to be higher for data that has less coordinate accuracy and lower for datasets with extremely high accuracy. |
Linear unit |
# In this example all outputs will be shapefiles. import arcgisscripting gp = arcgisscripting.create() gp.workspace = "c:/test_data.mdb" gp.toolbox = "analysis" gp.split "midwest", "watersheds", "volume", "c:/workspace", "2"