I have a shapefile with several forest data. One of the field is called forest types.

I would create a shapefile for each forest type so Select tool with an easy SQL Expression, such as "forest types" = 'larch' and then "forest types" = 'spruce', but I would automate this operation with ModelBuilder and not changing every time the attribute for selection.

How can I do this?

  • 1
    Have you tried Iterate Feature Selection with forest type as Group field: desktop.arcgis.com/en/arcmap/10.3/tools/modelbuilder-toolbox/… – BERA Feb 14 '17 at 13:01
  • 1
    ArcGIS 10.5 has "Split By Attributes", available with any license. – klewis Feb 14 '17 at 16:37
  • @BERA , you solved my problem! I didn't answer so early because I tried your solution and it didn't work in the beginning. I think for a bug. After several tests, I made the shapefiles I wanted with your answer. Thanks! – Lion Feb 14 '17 at 16:51

You can use Iterate Feature Selection with Forest type as Group By Field:

enter image description here

Then pass the selection on to Copy Features. Use %Value% in output feature class to name the shapefiles after forest type.

Not the answer you're looking for? Browse other questions tagged or ask your own question.