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

learn more… | top users | synonyms (1)

1
vote
1answer
22 views

Using a feature iterator Value variable in a SQL expression of select by attribute

I am using Iterate feature selection to select dealers one by one as input features to the Near tool. I'm using Select by Attributes to select sales points from that same dealer. How do I sync the ...
1
vote
1answer
54 views

Increase buffer until value is reached?

Im builder a Buffer based on dealer sales. The inputs are Dealers points and sales points. I need the buffer to increase distance until 40% of sales volume is reached. Im not sure sure is I should ...
1
vote
1answer
41 views

Using Iterators in ArcGIS Pro ModelBuilder?

I am currently struggling with two issues in ModelBuilder both dealing with iterators. First I have situation where I have two model (Model1 and Model2). Both of these models produce a series of ...
0
votes
0answers
35 views

How to use the ModelBuilder iterator (For iterator) to run “Topo To Raster”

I want to use the ModelBuilder iterator (For iterator) to run “Topo To Raster” on 200+ inputs. But, when I want to write a dynamic name ("***%value%") in the field part of topo to raster window ...
1
vote
0answers
57 views

Having a problem with iterators in ArcGIS ModelBuilder

I'm having a problem with a process model I'm building. The process is as follows; A series of float img files are iterated and converted to raster files .img These files are then run through ...
0
votes
1answer
41 views

UnboundLocalError: local variable referenced before assignment wthin model builder iterator in ArcGIS

Within an iterator in Model Builder in ArcGIS I am trying to calculate a field value based on the inline variable substitution. In the picture I have renamed the tools with the corresponding inline ...
1
vote
1answer
40 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 ...
0
votes
1answer
25 views

Doing same calculation on different Raster files?

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 ...
0
votes
2answers
42 views

Nested Iterators

I have two polylines (say two paths/roads/etc. for example) that I want to iterate against another set of iterated polylines (ie. geologic fault lines). I want the first iterator to take Path #1 ...
1
vote
1answer
41 views

Using ModelBuilder and iteration to calculate values from previous row?

I would like to come up with a model that takes the previous value and adds it to the current value. For instance Value 3, 2, 3, 1 Would result in -, 5, 5, 4 I have been trying to use Iterate ...
0
votes
1answer
68 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 ...
1
vote
0answers
49 views

Creating Automated Upload Script

I have a bit of a complex scenario that I'm unsure how to put together into one model or script file. What I'm doing is creating service definition files then uploading these SD files to a server. ...
1
vote
1answer
43 views

Iterate Through Folders within Folders

I am having some trouble creating a model that will iterate through folders and subfolders. I want to be able to have the top level folder as a parameter and then have the code go through each of the ...
2
votes
2answers
134 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). ...
0
votes
0answers
19 views

Dissolving lines using iterate feature class (model builder)

I was wondering how I would build the model in order to dissolve multiple lines at once using the iterator. I have polygons over a line network that is supposed to represent roads, and I want to ...
0
votes
0answers
28 views

Modelbuilder Join

Trying to do an iterate with a join to a table to create a new feature class. The output has the spatial data but with none of the fields of the join making it. I think that I have the problem ...
4
votes
1answer
73 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 ...
2
votes
1answer
70 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 ...
1
vote
1answer
25 views

issues with incorporating sub model which includes iterating featureclasses as output

Does anyone know why my model builder does not work when I tried to incorporate a sub-model into my main model? This is my problem: I created a sub model in which copies featureclasses within a ...
2
votes
1answer
55 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
1answer
40 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 ...
0
votes
0answers
98 views

ModelBuilder Iterate Row Selection & Variable Expected Fields in Summary Statistics

I have a model using a Iterate Row Selection. The inline variable produced by the iterator is used in the SQL expression of a Table Select tool. Note that this Table Select tool does not use the ...
0
votes
1answer
28 views

How to export (only) final iteration from modelbuilder?

I'm using an iterator in Model Builder (1) to merge files, using a feedback loop (2). The output file is named "Output_%n%.txt", (3), so each file is unique. Now, I'm merging a fair number of files, ...
2
votes
0answers
77 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
2answers
74 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
145 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 ...
1
vote
0answers
81 views

ModelBuilder, Iterate by Field and Viewshed

I want to compute the independent Viewshed for 360 different points. If I run these all together, I have one viewshed output which shows how many times any given cell is visible, but this does not ...
3
votes
2answers
113 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 ...
1
vote
1answer
232 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
0answers
59 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 ...
0
votes
1answer
81 views

Trying to use the “Iterate Datasets” tool with .dwg files

I'm trying to expand on a model created by a co-worker that uses the Point and Polyline CAD feature classes within a .dwg to perform a number of geoprocessing tasks. My goal is to be able to have the ...
1
vote
1answer
115 views

ERROR 000728: Field Code does not exist in ModelBulider using iteration

The first join in the model is working, but after this the names of the fields are changing in the name of the Shape and a number . Therefore get the ERROR 000728. So I like to ask you if there is ...
2
votes
3answers
97 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 ...
1
vote
1answer
46 views

Bringing information from one shapefile into another using ModelBuilder?

I’m trying to use the ModelBuilder to fasten up my work in ArcGis but I don’t know how far I can use it and what’s possible. Here is my problem: I want to analyse agriculture parcels regarding to the ...
2
votes
1answer
59 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 ...
4
votes
1answer
78 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 ...
2
votes
1answer
55 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
1answer
186 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: ...
0
votes
0answers
54 views

Raster iterator on module builder

I'm trying to iterate through a folder of raster via "iterate raster" , then the output of the iterate raster is the input for " extract Sub data-set " since I want to choose the cloud mask Sub ...
3
votes
3answers
410 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 ...
0
votes
0answers
109 views

Inline variable substitution in ModelBuilder iteration to Make NetCDF Raster Layers?

I'm trying to convert lots of annual NetCDF files into rasters using ModelBuilder. I'm iterating over several years so the filename changes every year which works fine (using the inline substitution ...
0
votes
0answers
83 views

Iterating ArcGIS Network Analyst over multiple files using ModelBuilder?

I have 10+ files that I want to add to ArcMap then do some spatial analysis in an automated fashion. The files are in csv format which are located in one folder and named in order as ...
2
votes
0answers
58 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 ...
0
votes
1answer
57 views

Iterating field values using ModelBuilder?

I'm creating a model that takes field values from points and groups them together, creates a middle point for each group as well as creates a middle point between each group and then creates a ...
0
votes
1answer
89 views

Multivalue iteration in Vehicle Routing Problem (VRP)?

I'm currently building a model that would simulate three different set of orders (shapefile format) by using the Vehicle Routing Problem (VRP) tool of network analyst. The model I built runs correctly ...
0
votes
1answer
168 views

Model builder - Create a new File GDB then convert a CSV into a file GDB table in new File GDB

I am trying to create a model to create a new file GDB. The model would then iterate through a folder of CSV tables, convert them to file GDB tables and add them to the newly created File GDB. I ...
5
votes
1answer
377 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 ...
1
vote
1answer
176 views

Create fishnet with row Iterator: fishnet extent does not update to reflect each row feature

I'm a writing about a geoprocess that I can do on an individual basis but for some confounding reason am unable to do with the row iterator in Model Builder. Given that I want to repeat the same ...
2
votes
1answer
223 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 ...
1
vote
0answers
331 views

Multiple polygons and rasters for Zonal Statistics as table in ModelBuilder

I have a large number (>17,000) of raster image files that I am creating by iteration. I also have clipped out corresponding polygon files with identical names in a separate folder (maybe not ...