Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question
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? –  RyanDalton 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
add comment

1 Answer 1

up vote 3 down vote accepted

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)
share|improve this answer
    
+1 Split (Analysis) will work well for the OPs problem. –  Aaron Feb 21 '13 at 16:44
    
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
    
thank you all for all your prompt answers. –  Ligia Feb 22 '13 at 7:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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