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

learn more… | top users | synonyms

2
votes
1answer
33 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
59 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
15 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
61 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
59 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 ...
1
vote
0answers
40 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
1answer
82 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
39 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
43 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
62 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
81 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
42 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
38 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
43 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
45 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
108 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
44 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
1answer
44 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
56 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
108 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 ...
4
votes
1answer
205 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
120 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 ...
1
vote
0answers
236 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 ...
0
votes
1answer
110 views

Naming naming output files where original file name retained without file extension using ModelBuilder iteration?

I am using iterate raster in ModelBuilder to create hillshade and slope simultaneously for many rasters within one folder. My problem is when I name the output files. Whenever I use, %Name%, the ...
1
vote
0answers
120 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 ...
0
votes
0answers
48 views

Using 'Generate Near Table' to match a point in one layer with specific points in another layer

I am trying to find the distance between a mutual fund's headquarters location and the stocks that it owns. For example, the mutual fund, Union Investment (headquartered in Lincoln, Nebraska) owns 48 ...
1
vote
2answers
98 views

Iterate through each county in a shapefile, select the county and make a second selection by location - modelbuilder

The goal of my project is to create a table with two fields. The first field showing a county name and the second field listing every county that touches the boarder of the county listed in the first ...
2
votes
1answer
496 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 ...
1
vote
0answers
140 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 ...
2
votes
1answer
918 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 ...
5
votes
1answer
160 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 ...
0
votes
0answers
432 views

ModelBuilder: iterate raster output as input for raster calculator?

I remove values (above 249 and below 49) from raster files (called Name in the example) with the raster calculator. I do this by passing the following condition to the raster calculator: Con("%Name%" ...
0
votes
2answers
100 views

Using ModeBuilder to populate a table with the feature count of multiple feature classes

Specs: I'm using ArcInfo 10.1 and have all extensions available to me. I have a folder with many file geodatabases. Each file geodatabase contains 2 feature classes. One is a point fc and the ...
3
votes
2answers
108 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 ...
1
vote
0answers
122 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 ...
4
votes
1answer
418 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 ...
0
votes
0answers
149 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 ...
2
votes
2answers
445 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, ...
0
votes
1answer
678 views

How to truncate the %Name% string for inline variable substitution

I'm using model builder to iterate through feature classes in datasets. With each sucessive process step (each model) I'm using the %Name% variable to name new feature classes in a new dataset. I ...
4
votes
1answer
338 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 ...
1
vote
0answers
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 ...
1
vote
1answer
147 views

Need iterator help in create near feature script

I'm having two specific problems with this python script I'm developing. Background: I am trying to generate near_tables from fc's stored in fgdb, join the near table back to target feats, and save ...
2
votes
1answer
457 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 ...
1
vote
1answer
2k 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
101 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 ...
1
vote
2answers
355 views

ArcGIS 10.1: “ERROR 000223: Cannot extract event table properties” when iterating through multiple files/folder

I am trying to convert ~270k csv-files with lat/long-data to layerfiles. The files are split into folders by year, i.e. ~30 folders with ~9k csv-files in each. I have written a script to iterate ...
2
votes
2answers
216 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 ...
1
vote
1answer
813 views

ModelBuilder: How2 pipe output of Iterate Raster tool into Raster Calculator tool?

Re: ArcGIS v10.1 ModelBuilder Hello, THE PROBLEM: Using ModelBuilder and map algebra, I want to compute a ten year average grid from a stack of 10. The problem is that only 1 grid (%raster%), the ...
2
votes
2answers
674 views

Model Builder - iterate through columns in a table

This seems like it should be a no-brainer, but I am unable to find any info on how to use model builder to run a certain spatial analysis function on each column in a table. Problem: I have a table ...
3
votes
3answers
121 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 ...