1

I've built a polygon and used Clip (Analysis Tools) in order to extract information from several feature classes 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 ArcMap 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 every time.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Feb 21, 2013 at 15:54
0

1 Answer 1

4

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)
PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
answered Feb 21, 2013 at 16:22
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.