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

learn more… | top users | synonyms (1)

9
votes
0answers
112 views

Iterating a model to create 3 buffers around three points and find their intersection (trilateration) in arcgis 10 [duplicate]

This past summer I recorded the location of a large number of plants I was working with by calculating the distance from each plant to each of 3 tripods for which I have GPS coordinates. I'm trying to ...
7
votes
1answer
488 views

nested iterator, 2 iterations in one model, collect values, cell statistics, batch processing dialogue box

(ArcGIS10, SP2, ArcInfo) Dear all, this is my model, and it works perfectly, but .... I do have a large amount of data to process. The interim output files (from raster calculator, collect value) ...
6
votes
2answers
318 views

Applying unique processing extent to each iteration of tool in ArcMAP Model Builder

I am trying to create an automated ArcMAP (10.1) tool that will read in a file (ASCII most likely) of maximum and minimum lat/long values along with some additional variables. The tool will iterate ...
5
votes
1answer
552 views

How to use %value% (from For iterator) in SQL expression of Calculate Field in ModelBuilder?

I have a shapefile with data of fish specimens and the coordinates where they were tagged for research purposes. One of the fields in the attribute table of these shapefiles is the fish length in ...
4
votes
1answer
516 views

Calculate distance to median point for a group of points in ArcGIS 10.1

I have a shapefile called "household_points" of ~2,000 points, which are divided into about 100 sites. The shapefile has a field in the attribute table called "SNAME" and in the field each point is ...
4
votes
1answer
555 views

How to eliminate small polygons using ModelBuilder to iterate through feature classes

I created four large polygon feature classes of surface slope classes from a grid of 6-foot cells covering half my county. In order to repair the geometry and eliminate small polygons I broke four ...
4
votes
1answer
1k 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 ...
4
votes
1answer
88 views

Is there a bug with the “For” iterator in model builder?

I have a problem using the "For" iterator in Model Builder (v 10.2.2, 64 bit, Windows 7). I wanted to create a series of rasters using the "Constant Raster" tool. The model works as expected when run ...
4
votes
1answer
112 views

Make table views in ModelBuilder with Iterator

I'm trying to use the model as shown in the image to get 300 tables for the 300 points in the input feature class. I can get 300 viewshed rasters but can only get the table of the last point. It ...
3
votes
5answers
289 views

Easy way to sum up a lot of values?

I've got a shapefile that was made by the mother of all Unions. Because of that, it's got about 400 columns, and I want to sum about 100 of them (specifically, the "Score" from each). Is there an ...
3
votes
2answers
1k 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 ...
3
votes
2answers
904 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 ...
3
votes
3answers
134 views

Iteratively unioning pairs of shapefiles

A simple (I think) Model Builder question. I have 25 field sites, for each of which I have mapped land use as separate layers for different years. In one folder I have veg layers for 1994, named ...
3
votes
1answer
1k 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 ...
3
votes
1answer
652 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
3answers
617 views

Loop in ModelBuilder for compositing bands of multiple Images

I'm attempting to automate the "Composite Bands" tool somehow in ModelBuilder, but haven't been able to figure out an effective method. I have landsat 7 data that is separated into folders and each ...
3
votes
2answers
160 views

Iterate calculate field in multiple tables in ModelBuilder

I would like to iterate calculate field in multiple tables using ArcGIS Model Builder. The figure below explains details of the calculations. My existing model calculates value only for the first ...
3
votes
1answer
251 views

Running focal statistic with iterator in ModelBuilder?

I need to extent the Value of a grid (water mirror elevation) within the nodata area until reaching a specific barrier (the limit of the watershed), in ArcGIS 10.2 for Desktop. I am using this: ...
3
votes
2answers
153 views

How to add iteration in model to join fields from several shapefiles into final one?

I have one grid (Atl1x1.shp) to which I need to add 9 Fields from 9 different shapefiles which are also grids (that is, 1 column from each shp, all with the same name). These shapefiles have the same ...
2
votes
3answers
110 views

Break down geoprocessing operation (Buffer) into smaller subsets

I have a feature class with 790,000 points (and it is constantly increasing). I need to select some of them (approx. 350,000), and then buffer that selection. Currently, the process runs like this ...
2
votes
2answers
298 views

How to Exclude Processes from Iteration in ModelBuilder?

Is it possible to break Iterate Raster after certain set of processes ? I have a list of Image files which I am processing using Iterate Rasters and performing aggregate and Extract Values to Points ...
2
votes
1answer
990 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 ...
2
votes
1answer
58 views

Iterate Row Selection takes too much of the model into ModelBuilder loop?

I am a little stuck with a relatively simple model. What I want: 1) Create a table "results". 2) Loop over "Points". 3) Do some buffer and counting 4) Put the results (OBJECTID and count) into ...
2
votes
2answers
84 views

Using Feature Class name to populate new field

I am trying to get the Feature Class name (from Iterate Feature Classes) into a new field. I have been following the models described in the following two threads. Using Value from Iterate Feature ...
2
votes
2answers
106 views

How to create a summary statistics table with as many rows as iterated features? I only get one row

I have a feature layer of 25 buffers, which are the light blue circles you see. Let’s call each buffer a community. Many buffers overlap. Each buffer has a unique ID. I also have a feature layer of ...
2
votes
1answer
56 views

How to get only one biggest point in polygon?

I have polygon and point feature classes. Every polygon have 2 points inside them. For output I need only one point with highest value. I need incorporate this step in ModelBuilder. I had idea about ...
2
votes
1answer
257 views

Batch create fishnet using FME

I want to create a fishnet based on the extent of individual polygons from a list of polygons. I plan on processing each resulting fishnets further. I am maintaining a worldwide data set on Quarter ...
2
votes
1answer
136 views

Near analysis by matching attribute in two different layers

I need to perform a near analysis to assign cases in one feature class to their nearest match on an attribute in a different feature class (ex: Tutors and Tutees need to be paired by same language ...
2
votes
2answers
658 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
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 ...
2
votes
2answers
163 views

Model Builder Iterator

I split sections of a roads on a map using polygons and now I would like to dissolve the roads within those polygons, but I only want to dissolve rows that have the same road name. (Roads are lines). ...
2
votes
1answer
877 views

How to hold/collect values in an iterated modelbuilder

I'm using modelbuilder to do upstream traces from several points/flags in a feature class. I'm iterating each point in the fc using the feature selection iterator so that I can calculate/transfer the ...
2
votes
2answers
618 views

Interpolation iteration using ArcGIS- arcpy

My current project requires interpolation of state level weather data. Approximately 5 years of daily data needs to be interpolated. I still need to figure out the best interpolation method. However, ...
2
votes
1answer
707 views

How to use multiple wildcards within an iterator in ArcGIS ModelBuilder?

I would like to know if it is possible to use multiple wildcards to select specific shapefiles when using the Iterate Feature Classes tool in ArcGIS modelbuilder. E.g. I use this to select all ...
2
votes
1answer
105 views

Restricting dataset types does not work correctly in a dataset iterator

I need to obtain a list of all the CAD drawings within a specified folder (and subfolders). I initially tried using a Files Iterator in ModelBuilder, but when I specified the extension, it prompted me ...
2
votes
1answer
64 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
1answer
95 views

Using iterator in ModelBuilder for groups of rasters

I'm trying to do some raster calculations on Landsat imagery in ModelBuilder. I'm calculating basic indices using Raster Calculator followed by Zonal Statistics. The resulting tables are merged ...
2
votes
1answer
217 views

Limitations of iterate row selection in ArcGIS ModelBuilder?

inb4 using real script ;), I'm looking for some advice on arc's model builder. The iterate row selection in Arc's model builder allows you to make multiple table views based on field groupings of a ...
2
votes
1answer
2k views

ArcMap Model Builder Iterator to create selections

This is a sequel to my question about aggregating polygons in order to create neighborhoods. I want to automate the geoprocessing of the above task. When I use Model Builder's "Iterate Feature ...
2
votes
1answer
340 views

ModelBuilder: Multiple Iterators and Clipping

I have two separate polygon layers. One layer consists of voronoi polygons. The second layer consists of buffers, many of which overlap. I need to do is iterate through each voronoi, clip only the ...
2
votes
0answers
44 views

Using Python to iterate through directory to create event layer and perform kernel Density for each file?

I am new to Python for ArcGIS, but have been using ArcGIS a while. I have a large directory of tables with point data. For each file of each folder I want to create a kernel density layer. I have ...
2
votes
1answer
18 views

Iterating through a FC and clipping by muliple areas of interest

I know how to build a model to iterate through a FC and clip that FC to ONE specific AOI, but is there a way (model or script) to iterate through that same FC but clip it to 35 different AOIs? I would ...
2
votes
1answer
30 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
107 views

Modelbuilder Iteration with Intersect Tool

I am trying to create a model that will select each feature within a feature class, then perform an intersect between that selection and another layer. The model setup seems rather straightforward, ...
2
votes
0answers
95 views

Iterating between two layers using QGIS python

I will try and explain my situation as clearly as possible. I just created my first plugin that is being used to analyze between various layers and give back quantities to the user. Most of it is ...
2
votes
0answers
77 views

Way to extract a specific feature class from a dataset in model builder?

I would like to be able to run a model that iterates through datasets and at one point extracts just a single point feature from within the dataset and save it in a different geodatabase. The problem ...
2
votes
0answers
63 views

Iterative point feature removal based on Thiessen polygon values

The background is: I have point feature class and Thiessen polygons created based on it. I wanted to know for each point Thiessen polygon area value, so I have calculated Thiessen polygon area value ...
2
votes
0answers
304 views

Running a new iteration for each column of a dataset in ArcGIS

I'm pretty new to Modelbuilding, having just been turned onto it about a week ago on here. So my problem is, I currently have a dataset of habitats that change through time (from Immature to Mature, ...
1
vote
1answer
107 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
2answers
46 views

How to automate conversion of raster NoData values?

I am doing the work of change all null pixels to a value of -1 in the raster file X with raster calculator by using following syntax: Con(IsNull("X"),-1,"X") However, I need to do the same work on ...