In computer programming, an iterator is an object that enables a programmer to traverse a container.

learn more… | top users | synonyms (1)

2
votes
1answer
2k views

Iterating through columns in table using ModelBuilder?

I am unable to find any info on how to use ModelBuilder to run a certain spatial analysis function on each column in a table. I have a table to sample locations and at each location there are a ...
4
votes
1answer
1k views

How to prevent running part of a model when iterator is used?

My process is to run Buffer on two feature layers, intersect the buffers and then Clip intersected buffers with polygon object from Iterate Feature Selection iterator. Here's my model: The model runs ...
3
votes
1answer
2k views

Using ArcGIS ModelBuilder with a “While” Iterator

I am struggling to get the ArcGIS ModelBuilder "While" Iterator to work as I would expect it. I have a hunch it's user error, but even reading the help hasn't seemed to get it working for me. I have ...
1
vote
1answer
439 views

Using only part of inline variable substitution string in ModelBuilder?

I am using an inline variable substiution to alter a field name. I do this within an iteration model in model builder. The inline variable is the name of the feature class which I use as my input for ...
1
vote
1answer
206 views

How to iterate through layers of an MXD?

I know model builder will not iterate through the layers in an MXD, which is kind of fundamentally stupid if you ask me, but I still need to do exactly that. I am not a strong coder but i understand ...
4
votes
1answer
299 views

Iterating in Model Builder - Generate Output Files in Source Folder

I have a very simple model that has a feature class iterator (recursive) that runs through a directory and sub-folders looking for line files and then projects them to UTM_16N. The only issue with the ...
2
votes
1answer
993 views

Using ModelBuilder to Iterate, Join & Export Feature Classes?

I am trying to make what I thought was a very simple batch processing tool, but I can't get the output to work properly. I would like the model to iterate through a geodatabase, join each feature ...
1
vote
1answer
2k views

Piping output of Iterate Raster tool into Raster Calculator tool using ModelBuilder?

ArcGIS v10.1 ModelBuilder Using ModelBuilder and map algebra, I want to compute a ten year average grid from a stack of 10. The problem is that only 1 grid (%raster%), the last one through the ...
3
votes
2answers
1k views

Nesting two iterators for cost distance calculation in ModelBuilder?

I am attempting to calculate cost distances iteratively for each point element in different datasets. I created a model that does the job for a single dataset but when I try to batch it I'm getting ...
2
votes
2answers
5k views

Join Fields from Multiple Tables to One Table in Modelbuilder

I have 40 tables with about 2000 row with a shared ID that I want to merge into 1 table with 2000 rows. I only want to retain a distance field calculated within each table. The distance field is ...
2
votes
1answer
1k views

Using Feature Dataset Iterator in ModelBuilder?

I had posted this on the ArcGIS forums, but thought I may get some further input here. Having issues acquiring the appropriate input and erase features during the iteration process. Please see ...
1
vote
1answer
4k views

ArcGIS Iterate Files tool in Model Builder

I want to use a "simple" iterator to process all the text files in a directory using my model but model builder won't let me connect the file to the first step of the model. Once I run the Iterate ...
4
votes
1answer
2k views

Using If precondition is false, continue iterating next input in ModelBuilder?

I've built a model in modelbuilder but cannot find an answer to this problem. Please help if you can. Firstly I have an 'iterate feature class' tool drawing inputs out of a folder and then selecting ...
3
votes
2answers
2k views

Iterating in ModelBuilder?

Ultimate goal is to pull data from a Feature Class, group out the different types of Lease Status (field), run a dissolve and sum calculation on each new layer/FC then merge all new layers/FC's ...
2
votes
2answers
861 views

Model builder: select feature based on attribute, iterator?

This is the data I have: shapefile with polygons shapefile with line features What I eventually want: line features attributes joined to the polygons that they fall in. I need to clip each polygon ...
2
votes
1answer
289 views

How to use the math tool (“times”) in ArcGIS modelbuilder to multiply two raster sets while using an iterator?

I have two sets of rasters (in the same gdb), representing "loss" and "forestmask". I would like to multiply each forestmask raster (value 1 = forest) with its corresponding loss raster (value 1=...
0
votes
0answers
76 views

Using “While” iterator in ModelBuilder

I can't find examples of the "While" iterator being used other than this: Using ArcGIS ModelBuilder with a "While" Iterator Are there links to any other examples available? For my ...
0
votes
2answers
796 views

How to change different projections of feature classes in geodatabase to one projection in new geodatabase?

I want to create a script that iterates through feature classes with different projections in a geodatabase and exports them into a new geodatabase, all with the same projections. What I want is to ...
0
votes
1answer
111 views

How to use iterators in ModelBuilder to create new feature?

I am attempting to use ModelBuilder to automate the process of plotting parcels of land that are related to mineral leases. The existing lease feature class contains information related to reference ...
0
votes
0answers
47 views

Python script iterator to interpolate accross multiple fields of attribute table

I interpolated precipitation data in ArcMap (ver. 10.2) using a surface-fitting tool [e.g. Global Polynomial Interpolation (GPI)]. I built a GPI model using model builder in ArcGIS 10.2, but the model ...