Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to do the following things using ArcGIS model builder.

  1. select by expression to output feature class.
  2. use output feature class as spatial extent
  3. raster to point

The main goal is to reduce loading of computer, because the original raster is super large. If I convert all raster to point, the point shape file clashes.

The problem is: how can I iterate the select function? In my model, it just exports one file. I have 15 shapes in a file, and I want to export each shape automatically. How can I revise my model?

share|improve this question
Can we see a screen shot of your model, preferably accompanied by an export of it to Python code? What you describe sounds like it should be straightforward using a an Iterator tool within your model. – PolyGeo Jul 23 '12 at 6:35
Thanks! Finally, I used split shape files as spatial extent and iterator tool to figure it out. Originally, I tried to use select functions to export files as spatial extents, but I do not succeed. – Vicky Jul 23 '12 at 21:13
up vote 1 down vote accepted

The issue of this question is that I need to separate a single shapefile into several shapefiles and use them as spatial extents. (Sorry, I can not post pictures) Here are the steps I used to figure it out.

  1. Split function (analysis tool → Extract → split): based on a specific field, a single shapfile will be split to shapefiles in a geodatabase.

  2. iterate feature class using this geodatabase

  3. set each feature class as extent for raster data processing

share|improve this answer
Please mark your answer as "accepted" to close this question. Thanks. – RyanDalton Aug 23 '12 at 14:15

enter image description here
I've created the following model according to what I've understood from your question and it works as I tested:

share|improve this answer
The question asks for an iterative approach. – Aaron Aug 23 '12 at 14:29

Your Answer


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.