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

learn more… | top users | synonyms (1)

0
votes
4answers
35 views

ModelBuilder - Iterate through tabels to join and export and keep original field names

I am trying to iterate through an excel with over 200 sheets and join each to a ZIP code layer. I then need to symbolize each of those the three different ways and save that to a layer file. In order ...
6
votes
2answers
332 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
20 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
120 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
46 views

Iterating Table Fields to Create Individual Shapefiles

I am trying to create individual shape files from a single table that contains the following: Weather Station Names Station XY Cordinates 31 individual field columns of daily data for each weather ...
1
vote
1answer
60 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, ...
1
vote
1answer
51 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
46 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
24 views

Creating coded values with iteration from a field

I'd like to find a way to add coded values to a Text domain using values from a table field, if such a thing is even possible. I'm using the Add Coded Value to Domain tool connected to two variables: ...
0
votes
1answer
46 views

ModelBuilder, which tool should I use to rename layers with value from table?

Hi I have a ModelBuilder tool with an iterator that splits a feature into multiple shapefiles based on a attribute field. The problem I'm running into is instead of simply using the number values for ...
0
votes
1answer
129 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
33 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
67 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
114 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
51 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
0answers
104 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
79 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
307 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
31 views

Using ModelBuilder or Python parser of Field Calculator to check values between two datasets?

I have a *.dbf that I need to check values against for a shapefile. I need to report whether the values match the dbf in the shapefile and, if not, what the value should have been (in two new ...
1
vote
0answers
59 views

Why the iterator never ends?

I set a iterator to create two categories of feature class, and then join and dissolve them. The calculation works fine. However, the running result never shows completion even when the calculation ...
1
vote
0answers
28 views

Nested iterators - batch merge from multiple outputs

I'd like to ask you some advice for nesting an iterator (from a submodel) into a master model which also include an iterator (see pic attached). The whole purpose is to 'Merge' the iteration output of ...
1
vote
0answers
98 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
63 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
113 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
375 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
249 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
205 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
156 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
5 views

Iteratively Change Object's Instance Attributes PyQGIS

I am trying to create new instance attributes (NOT feature attributes) for a collection of features in a vector layer in PyQGIS. I'm getting some weird results and am wondering if this is even ...
0
votes
0answers
29 views

Skip an iteration in ModelBuilder?

I am trying to iterate through some feature classes, named "Hos_AllPatients2014", and select the certain data and name it "Hos_IP", then export it to the corresponding folder "Hos". I have already ...
0
votes
0answers
21 views

Using a Value Table to Calculate Multiple Fields

I'm looking to develop a tool (ideally through model builder as my python writing ability is not stellar) that creates a simple user interface that has dropdown menus for desired fields of a selected ...
0
votes
0answers
29 views

Synchronize multiple sub model iterators in ModelBuilder?

I have quite a few burn date images (geotiff) for the past 14 years (one image for each month). My area of interest is in 4 images. First i need to mask the 4 images to extract area of interest and ...
0
votes
0answers
45 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
44 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
57 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
24 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
37 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
150 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
60 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
156 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
108 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
196 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 ...