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 ...
8
votes
1answer
174 views

Simplify repetitive tasks in QGIS Graphical Modeler

Are there iterators that can be used in QGIS graphical modeler to simplify the model shown above. If not, is there any better way of simplifying the model? The first column represents my input ...
7
votes
1answer
731 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
479 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
896 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 ...
5
votes
1answer
128 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 ...
5
votes
1answer
1k 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
315 views

Raster Calculator Iteration in ModelBuilder?

I have a large number of rasters and I want to add 1 to each of them (e.g. each raster's values currently range from 0 to 1, and I want to make them range from 1 to 2). I believe ModelBuilder, using ...
4
votes
1answer
990 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 ...
4
votes
1answer
480 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: ...
4
votes
1answer
692 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
2answers
76 views

Model Builder/Python: batch raster calculation

I wish to carry out a raster calculation on a batch of rasters. I want to add rasters by month, as identified by their file name. i.e. all rasters within the month of January should add together and ...
4
votes
1answer
249 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 ...
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 ...
4
votes
1answer
89 views

Iterating polygon creation in ArcGIS ModelBuilder?

I have contour lines in a feature class. I covert the closed lines into polygons using the 'Feature to Polygon' tool. With this method I get concentric stripes, but I need the area of each area ...
4
votes
1answer
292 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
419 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
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 ...
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 ...
3
votes
1answer
68 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 ...
3
votes
3answers
161 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
3answers
1k 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
1answer
68 views

Iterating files in ModelBuilder of ArcGIS Desktop 9.3?

I want to use around 100 files as input in a model I created in ArcMap 9.3 Do to so I followed the esri help page ...
3
votes
1answer
145 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 ...
3
votes
2answers
360 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
40 views

Iterate polygon column in ArcGIS model builder

I have a polygon with many columns. I want to convert into raster. I could do it one by one. But I want to iterate for each column of the polygon by model builder or any other way. Here you can see ...
3
votes
2answers
247 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 ...
3
votes
0answers
57 views

Iteration from a text file [closed]

Trying to determine logic to create a line from the points for each Line_X number Example: Create array of points, then a polyline for all points of Line_1, then Line_2, etc. pointList = ...
3
votes
0answers
88 views

ModelBuilder inline variable does not change consecutively when iterating raster?

---SOLVED--- I am trying to create a model in ModelBuilder (ArcMap 10.2.2), where there is an iteration through rasters in a workspace, each raster is run through a formula in raster calculator and ...
3
votes
1answer
80 views

Iterating rasters in ModelBuilder - wildcard does not seem to work?

I've got some problem with the model below. I want to extract rasters from sde geodatabase, use one parameter from Copy Raster, and then export it to specified folder with preserved names as an ...
2
votes
3answers
135 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
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 ...
2
votes
2answers
388 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
2answers
504 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
113 views

Iterate Row Selection Using Current Selection ArcMap 10.2 ModelBuilder

I am trying to make a model using Iterate Row Selection. I have a buffer shapefile and a line shapefile. Ideally I would like for the model to loop through the buffer shapefile and select each row one ...
2
votes
1answer
136 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
125 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
1answer
385 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
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
199 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
838 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
76 views

How to change output folders when iterating a geoprocessing model?

I have digital elevation models clipped to watershed boundaries and I have to run a set of tools to hydrologically condition each one, and I want to use the iterator tool to automate this process. ...
2
votes
1answer
218 views

Loop through columns Python arcpy.ListFields

I am trying to run a Python script that loops through all fields in my input feature attribute table. I have searched extensively and tried to use arcpy.ListField to work but it seems all people got ...
2
votes
1answer
212 views

Iterators in model builder - merging nested files with same filename ending

I am trying to merge files that are nested in different folders by their file names. For example folder 1 contains up to 100 subfolders that each contain a set of shapefiles: subfolder1_A.shp, ...
2
votes
2answers
229 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
898 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 ...
2
votes
1answer
2k 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
853 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, ...