HOW TO
In ArcGIS Pro, the Feature Class To Feature Class tool can convert a subset of features in a feature class to another feature class using SQL expression. However, in order to export features to individual feature classes based on all the unique attributes in a field, the workflow needs to be repeated using different SQL expressions. For example, to export features to individual feature classes based on the unique attributes in the CONTINENT field, the tool needs to be run seven times with different SQL expressions to achieve the desired outcome.
This article provides two alternative workflows to export features to individual feature classes based on unique attributes using the Split By Attributes tool.
Depending on the number of feature layers, follow one of the workflows below to export features to individual feature classes.
Export features from one feature layer to individual feature classes
Follow this workflow if the features are in one feature layer. In this example, the Split By Attributes tool is used to export features to individual feature classes based on the unique attributes in the CONTINENT field.
Note: If a folder is selected as the target workspace, the output is generated as a shapefile.
Individual feature classes based on the unique attributes in the CONTINENT field are created in the geodatabase.
Export features from multiple feature layers to individual feature classes
Follow this workflow if the features are in multiple feature layers, and all the feature layers contain a field with the same field name that can be used to split the feature layers. In this example, the Split By Attributes tool is run in batch mode to export the features in two feature layers to individual feature classes based on the unique attributes in the SUBREGION field.
Note: Geoprocessing tools can be run in batch mode, allowing the tool to run multiple times using many input datasets or different parameter settings. Refer to ArcGIS Pro: Batch geoprocessing for more information.
Features in the Asia feature layer and the Europe feature layer are exported to individual feature classes based on the unique attributes in the SUBREGION field.
Get help from ArcGIS experts
Download the Esri Support App