I've built a polygon and used Clip (Analysis Tools) in order to extract information from several FC that intersect the polygon. Of course, I used the clip tool for each feature class.

My boss wants a single tool that clips all these feature clases at once and saves the result in different FC. Is there a tool in ArcGIS that does that?

Select by Graphics is cool, but then I have to export the data "manually". I've created this model, but in the case of the model I don't have the liberty of selecting the area I want to clip everytime.

Thank you

  • 2
    How about using the tool in batch mode. – dchaboya Feb 21 '13 at 16:04
  • How about just running the Merge command on the results of your model at the end? – RyanKDalton Feb 21 '13 at 19:56
  • merge tool combines the same type of FC. I have points and lines. it's ok two have two seperate results, the problem is the simultanious selection of two seperate FC types – Ligia Feb 22 '13 at 7:07
  • batch mode is a very good idea, but i'm not sure how to solve as well the problem of selecting a different area every time. – Ligia Feb 22 '13 at 7:10

You can use Split by Attribute, Split (Analysis), or if you want to get fancy you can write your own python script to do this using the following arcpy methods:

  1. Use os.walk to walk through all files in a defined directory
  2. Loop and search for files that end with ".shp"
  3. Create a feature layer of your clip layer
  4. Use arcpy.SearchCursor loop and grab all unique values via a split field to base your split on
  5. Use arcpy.SelectLayerByAttribute_management to select each unique feature
  6. Use arcpy.Clip_analysis to clip against feature layer and input layer (layer to be clipped)
| improve this answer | |
  • Split tool in batch mode is a very good idea. Though I would have to build a new polygon FC everytime I want to crop another area. The truth is I was hoping for a simple solution to extract data from several FCs in ArcMap using one process. But as I understand, the only way to do that is by creating a python script. Too bad I don't know programming:))) – Ligia Feb 22 '13 at 7:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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