Questions tagged [iterator]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

Nesting iterators using ModelBuilder in ArcMap

I need to iterate all files in one folder/geodatabase, and perform those operations for all files in a different folder/geodatabase i.e. a matrix, of all entries in one, to all entries in another. ...
0
votes
1answer
35 views

How to iterate folder in a model that has a sub-model (iterate raster) in ModelBuilder

I have multiple folders that contain a number of raster files. What I would like to do is iterate through every folder and resample each every raster file from 1km to 30m. Since only one iterator is ...
-1
votes
1answer
41 views

Using Model Builder iterators to create unique shapefiles from one big shapefile

I'm trying to use Model Builder in ArcMap to split one shapefile with multiple entries into unique ones and then create individual buffers for each of them. See image for the table. I think it should ...
2
votes
0answers
45 views

Error 999999, Table name is invalid - Zonal Stats as table

I am attempting to run a model that iterates rasters and computes zonal statistics returning a table. The raster's statistics are computer across all polygons in a specific shapefile. This model ...
0
votes
0answers
26 views

Iterate Workspace not working in ArcGIS Pro ModelBuilder

I created a model in ArcGIS Pro that will delete features (ex. drainage areas) that intersect with unfeasible landcover classes within a raster (ex. impervious). So I used the following model ...
0
votes
1answer
32 views

Using iterator in ModelBuilder with layers in REST Service

Is it possible to get an iterator in ModelBuilder to iterate through layers in a REST service? It appears to be possible to extract data from many REST service layers. However, I want to point an ...
0
votes
0answers
50 views

Iterating spatial join with multiple merge rules (and then creating raster) in ModelBuilder?

I'm using a Basic licence in ArcGIS Desktop 10.3 with Spatial & 3D Analyst extensions. I have a dbf file which contains point data for several days. I want my final output to be a) a point ...
1
vote
0answers
31 views

Using submodel within model in ArcGIS Desktop

I have two databases 175 shapefiles each I want to clip each one of them using the corresponding shapefile from the second database .. as I can't use two iterators I have to do a nested submodel ...
0
votes
1answer
120 views

Iterating feature classes in multiple geodatabases using ModelBuilder?

I have 5 geodatabases. All have a feature dataset that contains a point feature class called "Point" and a line feature class called "Polyline." I want to go through these feature datasets, take only ...
2
votes
0answers
22 views

Iterator (Iterate Feature Selection) running loop in undesired path using ArcMap ModelBuilder?

I am building a model using Iterate Feature Selection. I want to run the Iterator -> select by location -> Calculate field, and after finishing this loop (#3 in the image below), I will continue to ...
3
votes
1answer
53 views

Storing points from multiple GDBs as object

I often download data that comes in 30 minutes to 1-hour windows and then have to compile that data manually into one feature class, from multiple GDBs. I am trying to iterate through the separate ...
-1
votes
1answer
31 views

How does 'Iterator row selection' function work?

How does the 'Iterator row selection' function work?
3
votes
0answers
77 views

Preconditions not working on second iteration of ModelBuilder?

I'm working on a project where I have to iterate through geodatabases and handle some debug errors if they exist. For this I've created a ModelBuilder model, in ArcGIS 10.7. Essentially, what the ...
1
vote
1answer
51 views

ArcGIS Pro ModelBuilder iterate and lookup values/table for parameters?

I have a module I've written in the ModelBuilder that uses a few parameters. I need to run this module on several raster files, each time with different parameters. Is there a way to use the ...
1
vote
1answer
52 views

ArcMap ModelBuilder Iterator running only once and generating non-unique outputs

I'm trying to generate LST from landsat tiles using modelbuilder in ArcMap. I have used Iterators and Sub-Models inside the Main Model but the problem is that whenever I run the Main Model, it only ...
0
votes
0answers
21 views

Iterating clip in ModelBuilder based on different province/county names using ArcGIS Pro?

I have a featureclass with all counties/provinces from the Netherlands and I would like to do clips for roughly 8/9 counties based on their names in the feature class. I have a feeling that I have ...
1
vote
0answers
40 views

Error 000445 in iterate Resample for rasters in Arcpy

I'm trying to resample rasters using a foor loop. Something is going wrong but i don't know what... This is my code: import arcpy, os, math from arcpy import env from os.path import split, join from ...
0
votes
3answers
108 views

Model Only calculate value with zonal statistics as table

In a precedent post Multiple Output for Zonal Statistics as Table I was trying to have as many table in the output as the rasters in the input. To overcome my errors, I decided to add a "Model Only ...
0
votes
1answer
144 views

Multiple Output for Zonal Statistics as Table [closed]

I am trying to merge NDVI data from 2005 to 2018 (two .tif per decade) with a region land use. For this, I have used "iterate rasters" with 36 of .tif I'll be using, as the 'Input value raster' of ...
1
vote
1answer
146 views

Project raster with geographic transformation works stand alone but not in model with iteration

I will briefly describe my unsuccessful model shown below. It fails at the very last Project Raster step, where I receive an error mesage. The model: I have a workspace called South America. It ...
1
vote
1answer
24 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
53 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
217 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
79 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
1answer
52 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
50 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 ...
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
60 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
106 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
36 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
66 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
125 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
58 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
59 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
294 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
97 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
6k 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
346 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
56 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
380 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) ...
0
votes
2answers
335 views

Geoprocessing all shapefiles of folder using ArcGIS ModelBuilder?

I have 200 shapefile in a folder. All of them are similar. I need to select by attribute then apply the Eliminate tool and save the shapefiles. How do I do this automatically with all the feature ...
1
vote
1answer
69 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
65 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
43 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
31 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
216 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
91 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
45 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
127 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
1answer
102 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
2 3 4 5 6