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

learn more… | top users | synonyms (1)

6
votes
1answer
262 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 ...
2
votes
1answer
64 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, ...
1
vote
1answer
42 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 ...
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 ...
1
vote
1answer
2k views

Workspace or data source is read only

I am using ModelBuilder in ArcCatalog 10.1 to convert an ASCII files to TIFF and add spatial reference. I have hundreds of files to convert so I'm using the Iterators. After doing 10-20 files ...
0
votes
1answer
38 views

Get country statistics using Iterate Feature Selection in ModelBuilder

I'm using night light data from the NOAA and I want to generate statistics on luminosity for each country, ie what is the mean pixel value for a country. I have been following this guide: ...
0
votes
1answer
60 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 ...
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, ...
0
votes
1answer
58 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
95 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 ...
2
votes
0answers
83 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
65 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
61 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
295 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
0answers
66 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 ...
1
vote
0answers
57 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
0answers
88 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 ...
1
vote
0answers
352 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 ...
1
vote
0answers
187 views

Connect a sub-model with multiple outputs to current model

I have a model in model builder that is clipping multiple feature classes to my study area. It is running with an iterator and creating 4 new clipped feature classes that are only represented by one ...
1
vote
0answers
180 views

Calculate distance of downstream trace (geometric network) using ModelBuilder iterator

I'm using ArcGIS 10.1 and need to calculate the distance of down stream traces for each of several points in ModelBuilder. Using the Trace Geometric Network too, I have a feature class of points for ...
1
vote
0answers
146 views

How to Iterate ModelBuilder for Zonal Statistics?

I want to use ModelBuilder to split a DEM into multiple tiles, then run the iterator on each tile made for the Zonal Statistics tool to find the highest point(s) in each tile and give these as an ...
1
vote
0answers
56 views

Iterated field create to continue after failure

I am not a very good programmer and do not claim to be an expert in arc. I am going to try to explain this problem as clearly as possible and any solutions that you guys may have would be helpful. I ...
0
votes
0answers
4 views

ModelBuilder Feedback variable used with CON produces Error 000670 when run from ArcToolbox Menu?

I am using a ModelBuilder in ArcGIS 10.2 to extrapolate the cell's value of a raster in the NoData parts, using a Feedback Variable as Input (in red). The process applies Focal Statistic in NoData ...
0
votes
0answers
35 views

How to use Snap tool with iterator in ModelBuilder?

I have a folder containing large number of shapefiles that I would like to snap to a surrounding buffer. I need to snap UK district boundaries to 500m buffer around coastline. I have produced 200m ...
0
votes
0answers
26 views

Iterate origins and destinations in Modelbuilder for OD cost matrix analysis

Update: I changed my model, so I can iterate feature classes. My starting point is a gdb full of shapefiles of students (leerlingen), and another gdb full a shapefiles of school. leerling shapefile XX ...
0
votes
0answers
39 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 ...
0
votes
0answers
20 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
32 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 ...
0
votes
0answers
107 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
0answers
55 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 ...
0
votes
0answers
124 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
91 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 ...
0
votes
0answers
169 views

Linking two Models together in ModelBuilder

I am trying to link two separate models that iterate thought two different feature classes together into one, however I am having a small issue. When I bring in the sub-model into the larger one it it ...