1

I have tried without success to perform this task with ArcMap 10.1. I´m struggling with ModelBuilder.

I have one shapefile (mean precipitation in one country) and I need to clip this shapefile with 100 different shapefiles (watershed areas). I can´t use Union to create a single shapefile from the 100 different shapefiles, because some of them overlap.

Can this kind of task can be automated with Iterate Feature Classes inside ModelBuilder and, if so, where can I find an example?

2
  • If your true goal is precipitation per catchment you need intersect, no need to iterate. After you need to calculate weighted of rain averaged by area for each catchment. It will work with overlapping catchment.
    – FelixIP
    Jan 20, 2021 at 22:59
  • Yes my true goal is precipitation per catchment. Thank you. I will also try intersect Jan 21, 2021 at 10:45

1 Answer 1

2

Here is an example: enter image description here

For your Clip Output name you will need to use inline variable substitution in order to create a separate output file for your 100 shapefiles. Use %Name% should do the trick.

enter image description here

I recommend trying this on a small subset of your data say 3 polygons to see how it works.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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