1

I created a single shapefile that contains multiple polygons by selection by location of the route I had and the ESRI USA counties polygon layer to give me the counties that were in the area I was interested in.

I want to know if there is a tool to use that can take that new shapefile I created of only the new polygons in my area of interest into an individual shapefile for each county. So say there were 25 counties that crossed my route, I'd like to have a quick way to get shapefiles individually for each 25 counties.

I'm sure there is a quick script for this, but I'm not too familiar with scripts didn't know if there was quick easy way for this than exporting each individually into shapefiles.

I'm also using ArcMap 10.2

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Pete
  • 113
  • 2
  • 5

2 Answers2

6

Use an iterator in your model, specifically the Iterate Feature Selection iterator, then use Copy Features to output each feature to it's own feature class.

Your model will look something like this:

enter image description here

The element called Value temporarily stores the name of the current feature in the iterator.

I've also added a variable for a Folder called OutputFolder that points to a folder path on my drive.

Here's how you use both the variables in the output of copy features:

enter image description here

And here's what the folder of outputs looks like:

enter image description here

DPSSpatial_BoycottingGISSE
  • 18,790
  • 4
  • 66
  • 110
3

Split Layers by Attributes check out this python toolbox. Split Layer by Attributes, county being the attribute you want

Maksim
  • 6,916
  • 2
  • 24
  • 42
  • In the Arctoolbox I just see the tool Mulipart to Singlepart, not the singlepart to multipart. I'm in the data management toolbox>Featuures toolbox – Pete Mar 03 '15 at 16:04
  • I don't think this is the right tool, I'm trying to get a shapefile for each county in my attribute table, which is close to 25 counties – Pete Mar 03 '15 at 16:28
  • do you have a shapefile that is all of these 25 counties combined? – Maksim Mar 03 '15 at 16:29
  • Yes they are all in one shapefile. Trying to get those into single shapefiles in a quick way – Pete Mar 03 '15 at 16:36
  • http://arcscripts.esri.com/details.asp?dbid=14127 check out this python toolbox. Split Layer by Attributes, county being the attribute you want – Maksim Mar 03 '15 at 16:44