1. I have a feature layer of a state consisting of polygons for each county. I would like export each polygon within the feature to their own separate features. Instead of manually selecting each county one-by-one to export to its own feature, can I batch this task or write a python script for it?
2. I have another feature layer consisting of 31k polygons. I would like to clip that feature to each county (from the question above) they are located in. Now I can do this manually by going through each county one by one and clipping the feature to the county boundaries or I can complete it using arcpy...Is it possible to perform all of this in one python script (tasks 1 and 2 listed above)?
Thanks!
for 1 .... Split By Attributes (Analysis)—ArcGIS Pro | Documentation
for 2.... you would have to batch this Clip (Analysis)—ArcGIS Pro | Documentation
As for an existing tool, no, but you could use modelbuilder with an iterator
That was helpful, thanks! Much appreciated.