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

Random Point model

Hello! Hopefully a quick question. I have a simple model below that iterates through a folder full of rasters, taking each in turn to extract data values based on a single shapefile of Random point locations. The rest works over the points table to add a field named after the raster, calculates it from the RASTERVALU field, then deletes the RASTERVALU field. That file is fed back into the model as the next raster comes through to repeat the process. The end result is a series of shapefiles where the final one has as many fields as raster, named after the raster, and with its values.

Now I want to do this for many shapes/feature classes of random points. I have tried to use this is a nested iterator model with no luck. When nested, I can pass the name of each random point shp so that it does not over-write the previous run, but in that case the raster iterator only works for the first raster. I realize this might be asking a lot of the model builder, but maybe someone has a better idea fro nesting or a different logic approach. Thanks!

share|improve this question
up vote 4 down vote accepted

Use the Extract Multi Values to Points tool - this will copy the raster values into fields added to the original points file (no replication like the Extract Values to Points tool does). Then either batch process with the different points files, or set up in model builder to iterate over your points files.

You may also consider adding a new identifier field to each points file and then merging to one file for input to the Extract Multi Values to Points tool - therefore no iteration needed. However, for huge numbers of points this merge may tie up your computer for a long time.

share|improve this answer
Thanks ccn! Perfect answer. A new tool choice as well as new logic. Thank you very much! – Mr.ecos Feb 25 '13 at 14:47

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.