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

learn more… | top users | synonyms (1)

3
votes
1answer
669 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
128 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
1k 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
926 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
1answer
444 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
2answers
3k 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 ...
1
vote
1answer
3k 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
1answer
75 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 ...
2
votes
2answers
675 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 ...
0
votes
2answers
142 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
81 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 ...