Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [iterator]

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

1
vote
1answer
13 views

Export Rasters from geodatabase containing specific words in title

I have a file geodatabase containing +200 rasters. I want to export a selection of these based on words in the middle of the file name. Example file names below: Bat_day_male Bat_night_male ...
3
votes
1answer
38 views

Iterating in ArcGIS ModelBuilder?

I'm trying to make a model where I make a copy of 'geodatabase A' to another location as 'geodatabase B', delete all of the datasets within, and create new datasets for geodatabase B. The reason I'm ...
2
votes
1answer
30 views

Creating ArcMap Model with multiple iterators? [duplicate]

I'm using ArcMap version 10.4.1. I'm attempting to create a model which almost works perfectly but I can't figure out the last bit. Ultimately I want to run the "extract by mask" tool multiple times. ...
0
votes
0answers
22 views

Using ModelBuilder Iterator sub-model then append?

I've created an iterator as a sub-model that collects values, then a main model that appends those values together upon completion of all iterations. My issue is if the iterator runs 10 times, then I ...
0
votes
0answers
17 views

Multiplying individual raster layers by corresponding values in Excel file?

I have two groups of items I want to multiply, using the Times tool. I have a geodatabase full of density raster layers. I also have an excel sheet. This excel sheet has a column listing the names ...
0
votes
1answer
21 views

Using ModelBuilder to Summarize Multiple Feature Classes?

I am trying to create a model that will iterate through all the files in a Database, return the counts of each feature class, then add them all together to get a final count and put the result in a ...
1
vote
1answer
40 views

Forcing Feature Compare tool to iterate through multiple files in specific order?

I am working with multiple layers and I have been asked to find the percentage of change between them: GEOM, ATTR and ALL. I know that there is the Feature Compare tool and the Table Compare tool (I ...
0
votes
0answers
18 views

Adding same field(s) to multiple shapefiles in ModelBuilder?

I have 18 feature classes that I need to convert to shapefiles and then add the same 12 new fields to. I know I can do this using the "Batch" option, but I'd like to do this in ModelBuilder so that I ...
1
vote
0answers
18 views

Adding input files of near tool using %name% or %value% function?

I am trying to caluclate the nearest distance between road and road_buf shp. But I'm struggling to add input features using %name% function in NEAR TOOL. I want to add road_buf file as "c:Desktop\...
1
vote
0answers
51 views

Model Builder iteration process problem: could not create the output tables invalid extension

I encountered problems with my Model Builder in Arcmap 10.4: I want to perform some statistics on my rasters using the same polygon (buffer). I use the Raster Iteretor and I did check if the extent ...
1
vote
1answer
53 views

Using Row Iterator and IDW in ModelBuilder?

I am using ModelBuilder to perform inverse distance weighting. I would like to interpolate values using a point file with values for several unique dates - resulting in a raster dataset for each ...
1
vote
1answer
32 views

Iterate bug in ArcGIS ModelBuilder?

When I add inn an iterator into my model, the first tool (which in this case is "make XY event layer") keeps running in a loop. This occurs even if the iterator is not even connected to anything. Once ...
0
votes
1answer
37 views

Selecting points in polygon in a range of time (ArcGIS)

I have: - point GPS for people (time in seconds) - buffer GPS for a car (time in seconds) What I want to do is for each buffer GPS coordinate, I want to find the number of GPS people points inside ...
0
votes
1answer
46 views

Using Con tool with iterator in ArcGIS ModelBuilder?

I have been using ArcGIS Modelbuilder on 16 years of MODIS LST 8 day data, ie. quite a few files. I want to use the QC pixel data at error <=1, 2, and 3K to overlay on the base LST data so I can ...
0
votes
1answer
36 views

Using ArcGIS ModelBuilder row iterator?

I have a process with an address list as an input table. The row iterator should iterate through entries of the address name column and then I use the output values for some other stuff. It works ...
1
vote
0answers
24 views

Using ModelBuilder to Iterate Row Selection with ArcMap?

I have a model that does a lot of linear calculations, then eventually runs into an ITERATE ROW SELECTION tool. I only want the iterator to cycle through the tools downstream of itself, but instead ...
0
votes
1answer
92 views

Make NetCDF Raster Layer tool in ModelBuilder - Cannot export as geotiff

I am attempting to iterate through thousands of .nc files to convert them into geotiffs using the Make NetCDF Raster Layer tool. I am using ModelBuilder to accomplish this. The iterator works fine, ...
1
vote
1answer
75 views

Using Iterator with ModelBuilder for clipping and splitting in ArcMap?

My input feature class is a county-wide dataset and the input clip feature is a township’s ‘section.’ I have 576 different ‘sections’ in which to clip the county-wide data out to. Though I dont have ...
1
vote
2answers
914 views

Arrange pair of coordinates in Python lists [closed]

I have these coordinates of a bounding box in this format: (51.901071, 7.543488, 52.002215, 7.692406) and I want to convert it into a list of coordinates so that I can iterate through the pair. The ...
1
vote
0answers
87 views

Iterating polygons in folder as input in QGIS Modeler like ArcGIS ModelBuilder

How do I iterate polygons in a folder as input in QGIS modeller? Usually, ArcGIS can iterate polygons as an input for functions like union, merge, intersect, etc. But I cannot find the way to do ...
2
votes
0answers
26 views

Logical operators and looping back through a process in Modelbuilder

I am using a series of models in ArcGIS Pro 2.1 to manage gaps and slivers on a very large dataset, and have hit a wall trying to use a logical operator. I have split the data into multiple smaller ...
1
vote
2answers
172 views

Batch Calculating Indices

I have 111 Landsat8 scenes which I want to calculate several indices for. The algebra to calculate them is most of the time Index= (b1-b2)/(b1+b2). I have the single bands (bands 1-11 respectively) ...
1
vote
1answer
31 views

Move to next iteration in event of empty feature class

I'm working on a model that processes lidar data from a public layer file, one quadrangle at a time, as I don't have a powerful enough machine, or enough storage to do it all at once. I am looking for ...
0
votes
1answer
37 views

How to use preconditions with row counts when some row counts = 0?

I have a model that iterates through a series of neighborhood polygons and clips several different datasets using the iterated neighborhood polygon. I am trying to determine the number of features ...
1
vote
0answers
34 views

Using For Iterator in ArcGIS ModelBuilder?

I'm trying to build a rather easy model but somehow couldn't find a solution to one problem: I work with a main model and a submodel which contains the iterator "for". I want to buffer a feature class ...
1
vote
1answer
19 views

Double Iterator Name in ArcGIS

I have a created a simple model in ArcGIS ModelBuilder. It works fine, however, I have problems saving the resulting files with appropriate names. I iterate over 150 feature classes and sent them ...
1
vote
1answer
88 views

Intermediate data not deleted properly after running model in ModelBuilder after Windows 10 update?

yesterday my Windows 10 got update and finally, the Active X warning that has occurred for more than a year now vanished. Instead, I ran into another problem that never happened to me before and that ...
0
votes
1answer
54 views

Iterate Row Selecton - Buffer Distances

I am trying to iterate through a set of 50 points of GPS data. Each have their own unique Estimated Horizontal Accuracy. What I am looking to do in ModelBuilder is create a model so that it creates a ...
1
vote
0answers
34 views

Iterate rows in polygon, use result to select by location

I'm not overly familiar with iterators but basically I have a polygon with multiple rows. I want to select each row in that polygon feature class and use the selected polygon in a select by location ...
2
votes
1answer
66 views

How to Remove Decimal Points From Measured Grid Label C#

I'm creating a map layout with a measured grid using visual studio and ArcGIS Engine 10.4. I was able to change all the properties for the grid label (color, font and font size), except for the part ...
0
votes
0answers
66 views

Using iterators in submodels for multiple inputs in ArcGIS ModelBuilder

I am attempting to run GeodatabaseSchemaCompare across multiple geodatabases. Each database has its own unique base (template) database. And, because the tool outputs a SchemaCompare folder with the ...
0
votes
1answer
65 views

Iterate Cell Statistics Every 5 Raster [closed]

If I am going to use cellstat alone, CellStat would produce mean of 2000 rasters inside the FOLDER(ALL RASTERS). I want to average only every 5 raster which would result to 400 rasters. How do you do ...
1
vote
1answer
80 views

Using iterator in a cost distance analysis model with multiple destinations

I am building a cost distance model to find three different paths. Each has his own start and end point. So there are three start points with each an end point belonging to it. I want to use an ...
1
vote
1answer
176 views

Error 000735 when using collect values

I am using a Feature Class Iterator in a Submodel ending with Collect Features: The main model looks like this: When I want to run it I only get this error: I have no clue why he says the value ...
0
votes
1answer
88 views

Modelbuilder iterator only puts out the last input?

I need to use an iterator in a model process. My problem is that I always only have one output instead of three. There are three Polygons e to run. The output always only contains the last Polygon one ...
1
vote
1answer
63 views

Nested iterator in model not working?

I am trying to iterate through 2 folders (1 for points, and 1 for polygons) and use the output values as inputs for another submodel that applies IDW, Focal Statistics, and finally a Clip (to a ...
0
votes
2answers
40 views

Adding dynamic name in tool parameter?

I am building a model in ArcMap ModelBuilder that will take an input dataset folder, iterate through each shapefile in that folder and use that shapefile as an input for another tool. I then want to ...
1
vote
1answer
412 views

Using output of iterate files as input for merge tool in ModelBuilder?

I am using trying to use an iterator to run through and folder of shapefiles and add them as input to the merge tool in ArcMap ModelBuilder. Something seems amiss; when I connect the iterate output ...
0
votes
0answers
46 views

Iterate every 10 minutes in ArcGIS ModelBuilder using date field?

I'm creating a model in ArcGIS ModelBuilder and I need to make a selection by attributes every 10 minutes using a date field, so I'm looking for a way to use an iteration for this, the table I'm ...
0
votes
1answer
59 views

modelbuilder stuck values during iterating

I am creating a model that finds all the tracks(points) a wolf pack leaves who cross into a park using select by location, easy. I than want to find all the tracks(points) those same wolfs made on ...
1
vote
1answer
145 views

Iterate Rasters will not connect to the Raster Calcuator tool

Using ArcGIS Desktop, 10.5.1 I need to iterate through hundreds of FGDB rasters (single band, 16-bit, unsigned) that are stored in a single FGDB. I need to modify each iterated raster with the Raster ...
2
votes
0answers
110 views

ArcMap ModelBuilder: Output of Raster Iterator only runs one Output [closed]

I built a model in ArcMap 10.3.1 to quickly repeat a process with multiple raster images stored in the same folder. The idea was to have the model iterate through the rasters , then have the pixels ...
1
vote
1answer
133 views

Iterator in ArcGIS with for loop

I have a problem represented in that when I make an iteration with For loop, it does not return many results as it is specified, and instead it just return one value. I am using a simple model builder ...
4
votes
1answer
168 views

Iterate over feature classes with multiple wildcards

Is there a way how to iterate over feature classes in Model Builder in ArcGIS 10.3 using a number of different wildcards? The wildcards I want to use are strings in the middle of the feature class ...
3
votes
2answers
49 views

Parent model that iterates over nested models that iterate over Buffer?

I have these two nested models (sub-models) that are buffering each feature in a feature class and creating a shapefile for each result (their geoprocessing is identical). They both work fine when run ...
0
votes
2answers
122 views

Iterate over two Feature Classes Inputs in ModelBuilder

I use a tool (Centrality of Urban Network Analysis) that requires two input files: a polygon layer made of buildings and a Network Dataset. Since my area of analysis is quite huge I divided it into 40 ...
1
vote
1answer
70 views

Iterative selection by attribute and then location using ArcGIS ModelBuilder?

I am trying to divide and record a road dataset using a GRID I just created. Is there a way to perform that using only the ModelBuilder or do I have to use Python (never tried before..)? Here is ...
5
votes
2answers
203 views

Using iterator for lasd files in ArcGIS ModelBuilder?

I am trying to use model builder to create a number of DEMs from LiDAR point clouds. To do so, I need to filter the point clouds for ground points only and then convert the points to raster. In the ...
2
votes
1answer
46 views

Features are displayed as inline-variable

I run ArcGIS Pro 2.0 on windows 10. ' I run a model where the last tool is 'Sort' and the output is a featureclass to a geodatabase. In my models I use the iterator inline variable, %Name%, from ...
1
vote
1answer
93 views

How to Iterate Across Fields as Inputs for a single tool (Kernel Density) in ArcGIS ModelBuilder [duplicate]

I am trying to make Employment Distribution of map of a given area in ArcGIS. All the employment information is in this one point shapefile from Census. Different fields show different number of ...