Questions tagged [modelbuilder]
An application of ArcGIS Pro and also of ArcGIS Desktop 10.x that is used to create, edit and manage models within its Geoprocessing Framework
2,241
questions
0
votes
0
answers
9
views
Iterate raster calculator operation over a pair of previous raster outputs
I am trying to create a ModelBuilder model that has to iterate a raster calculator operation over a pair of raster. I have 2 series of rasters for different sub-locations, like ...
0
votes
1
answer
13
views
Alter the text size of a modelbuilder label in modelbuilder, ArcGIS Pro
I have an ArcGIS Pro v3.3 model in model builder. I would like to add some text to describe the steps for the user. I can add a label to the model but as shown below but the text size is too big. I ...
3
votes
2
answers
60
views
Create random points using minimum distance calculated on the fly using ModelBuilder in ArcGIS Pro
As part of a larger, more complex model, I need to generate random points over an input feature class where the ModelBuilder calculates the minimum allowed distance on the fly. This is my minimum ...
1
vote
1
answer
48
views
Overwriting feature layer using lyrx file
I am trying to come up with a method that utilizes lyrx files to routinely overwrite a feature layer on ArcGIS Portal. I've tried a few methods that utilize Python scripts, ModelBuilder and Task ...
0
votes
0
answers
31
views
Using "iterate by row" to combine rows with same value
I have a dataset with about 15,000 rows, each representing a census block that has been split across 1 of ~600 polygon zones (basically so each of the 600 zones is divided into the census blocks). I ...
1
vote
0
answers
28
views
ArcGIS intersect lines except for identical geometry with themselves
ArcGIS Pro 3.2.1.
I have streets that I'd like to turn into intersections. On occasion, there are duplicate street lines (same geometry) that have different names (using an alias table is currently ...
0
votes
0
answers
24
views
Snap usage with for in ModelBuilder in ArcGIS [duplicate]
Did anyone manage to use the Snap tool with iterators?
I could not find what I should write the expression and code block for defining the variables of snap tool.
0
votes
0
answers
35
views
Setting parameters in a tool using values from a table
I have to run the Fuzzy Membership tool for more than forty different instances. Each instance has unique minimum and maximum values. Some have the same inputs and all have different outputs. I have ...
0
votes
0
answers
35
views
ArcGIS 10.8.2 ModelBuilder, IterateFeatureClasses (RECURSIVE) is waiting forever
Iterator has not been working in the models I have built with ArcGIS Model Builder for the last month. It waits forever but it doesn't start. What could be the solution? I used it before without any ...
0
votes
1
answer
29
views
Getting Error from ModelBuilder (calculate values)
I want to remove the last 7 character from parsepath (%Value%)
what is wrong with this code?
-2
votes
1
answer
43
views
Using Modelbuilder to Iterate Rasters and Calculate [closed]
I have a series of files in a folder:
2020-04-28-00_00_2020-04-28-23_59_Sentinel-2_L1C_B04_(Raw).tiff
2020-04-28-00_00_2020-04-28-23_59_Sentinel-2_L1C_B05_(Raw).tiff
2024-04-27-00_00_2024-04-27-...
1
vote
1
answer
35
views
How to clip a multipart polygon inside an iterator in ModelBuilder in ArcGIS Pro
I have two shapefiles: a 300x300m grid and land use, and a Model Builder with the structure below.
I want for every grid a 300m buffer, and each buffer is used to clip the land use shapefile, but the ...
0
votes
1
answer
57
views
Calculate distances between all point features in one layer and all point features in another layer (NOT only nearest)
I would like to calculate distances between all point features in one layer and all point features in another layer using ArcGIS Pro 3.1.2 tools or ModelBuilder. I'm not looking for distance to the ...
0
votes
0
answers
30
views
Iterating over 2 input raster folders for raster calculator in ArcGIS Pro ModelBuilder
I'm currently on a project in ArcGIS Pro where I want to calculate the RVI of a RS time series collected by Sentinel-1. Unfortunately, I only have for each date one Tif-file for the VH and one Tif-...
0
votes
1
answer
87
views
Removing old parameters from ModelBuilder of ArcGIS Pro
I am using ArcGIS Pro 3.2.
I have a ModelBuilder with parameters. I ended up removing some and then adding different parameters, but somehow ModelBuilder is still referencing the old parameters.
Even ...
0
votes
0
answers
62
views
ModelBuilder to iterate through multiple rasters in different folders and setting to local memory
I have many rasters contained in different folders with multiple types of data (tif, JSON, xml). The path to my data is as follows: C:\Planet\2023\August
Within the august folder, there are 7 ...
0
votes
1
answer
101
views
Batch editing ArcGIS Layout file text elements and exporting in ModelBuilder
I regularly have large series' of maps/layouts in ArcGIS Pro which I need to export for various different documents, but each layout has a required text element in it that states what document it's ...
0
votes
1
answer
36
views
ModelBuilder split and delete line segments over x length
I have a Polyline created from a table, most of the points are within 5 feet of each other but between sets of points there is at least 20 ft without points. How can I remove or split/delete those ...
0
votes
1
answer
101
views
Using Merge in ModelBuilder of ArcGIS Pro
I am relatively new to ModelBuilder.
I am trying a basic task using the merge function.
I have a folder which consists of a lot of shapefiles. Each shapefile from the folder needs to merge with file '...
0
votes
0
answers
58
views
Iterating snapping input distance in ModelBuilder
Below is an image of my model. I want to run the snap between line features, then unsplit the lines (same as edit merge), then snap that output but at a greater distance threshold. I'm doing this ...
0
votes
0
answers
24
views
Does Extend (ArcGIS Pro) not work with lines pointing the same way?
I have lines along sidewalks those lines have gaps between them. I want to bridge the gaps with a 5' threshold. Extend doesn't seem to work with lines pointing the same direction, and only ...
1
vote
1
answer
33
views
Submodels in ArcMap work independently, but when linked in a single model I get error 000732
This has started happening across a couple models I've made. I'll have a basic submodel that links to a buildings layer for an entire country (for example), then clips and buffers and saves it with ...
1
vote
1
answer
82
views
Using ModelBuilder in ArcGIS Pro
I am trying to create a ModelBuilder model to calculate factor of safety for shapefiles. However, whenever I try to run the python my 'Slope' comes up as undefined and I have no clue what to do.
Here ...
1
vote
2
answers
40
views
If a feature class is already in the desired projection, does it hurt anything to project it again?
I am working on a project within ArcGIS Pro 3.1.3. Ultimately I am trying to create a submodel that will be inserted in a larger workflow eventfully. This submodel is intended to convert a shapefile ...
0
votes
1
answer
42
views
Pick projection from another layer while using project tool (ArcGIS Model Builder)
I am using ArcGIS 10.8.2. I built a model but have a problem.
I want to project my layer with picking projection from another layer in model.
Any good idea for that?
1
vote
0
answers
51
views
Model Builder: Calculate field from Parameter defined Joined table returns 'u"String"' instead of 'String'
Using Pro 3.2.0. The goal of this Model is to use a .xlsx spreadsheet to update values in a feature class which will be shown in a webmap. The .xlsx in question was generated from the Master Tracker (...
0
votes
1
answer
83
views
Using "Subdivide Polygon" in ModelBuilder with an iteration via the split angle (value from input feature class) to split polygons in their centres
I have a lot of polygons that I would like to split automatically in the centre/into two equal parts in ModelBuilder. My idea was to first determine the orientation of the polygons using the Minimum ...
1
vote
0
answers
99
views
Using "Field Type" Variable (Derived from Field Iterator) as inline-variable (with a prefix string) in field calculator
I am trying to calculate the per person load discharge by multiplying "Service Population" of various years to a constant Double type variable fed as a parameter called "Loading".
...
0
votes
0
answers
58
views
Random error iterating add fields (multiple) to folder of shapefiles
I have a folder of shapefiles in iterating through and a series of processes. I am getting several seemingly random errors, between which field is the issue or on which shapefile it happens to, mostly ...
1
vote
1
answer
164
views
ArcGIS Pro ModelBuilder Rename invalid characters
I want to take all shapefiles within a folder, import to a new gdb, and iterate several processes. Including rename, add and calculate fields, then define the projection. I keep running into issues ...
0
votes
0
answers
32
views
ArcGIS Spatial Join not adhering to merge rules
I'm attempting to extract soil data into a fishnet grid, whereas there can be multiple underlying soils overlapping each grid cell.
I've successfully done this via Intersect -> Calculate Geometry (...
0
votes
0
answers
37
views
Bypass warning using "If Field Value Is" using ArcGIS Pro ModelBuilder
I'm using the "If Field Value Is" in ArcGIS Pro ModelBuilder so that the naming of the output file is different based on each selection earlier.
I get the warning "The process did not ...
0
votes
0
answers
88
views
Sharing ArcGIS Pro project with custom tool(s) and maps
I have an ArcGIS Pro project with a map and a custom ModelBuilder tool that converts selected GIS features in the map to a CAD file. The layers in the map come from an enterprise geodatabase and a ...
1
vote
1
answer
78
views
Iterate feature classes then clip, but skip if output is empty
I want to make a ModelBuilder tool that takes shapefiles from a specific folder and clips them. The shapefiles cover an entire country and I have to clip them to project areas when we have new ...
3
votes
2
answers
624
views
How to add a custom tool to ArcGIS Pro tab/ribbon
In ArcMap, we were able to customize the toolbar to add our own Python or ModelBuilder tools. I'm trying to figure out how to do this in ArcGIS Pro but not having any luck. I am able to add a new tab ...
0
votes
1
answer
89
views
Error publishing feature layer using ModelBuilder in ArcGIS Pro
I've created a model in ArcGIS Pro ModelBuilder which attempts to carry out the following:
Variable: Database connection (sql server)
Make Query Layer (input = Database Connection, output = "...
0
votes
0
answers
33
views
How to dynamically update available custom transformations list in ArcGIS Pro toolbox?
I am in the process of creating a custom toolbox with ModelBuilder in ArcGIS Pro 3.0.3. In that toolbox, I have two tools :
Tool A : it creates a custom geographic transformation. I used the tool &...
0
votes
1
answer
315
views
Pass a variable to a SQL Expression for a Select by Attribute in ModelBuilder
Working to create a script which iterates over a set of CSV files and then joins to a ZIP file. Once that is completed, it goes through to Select by Attribute to ensure we are looking only at true ...
2
votes
1
answer
114
views
Using "export table" on a raster attributes table in ArcGIS ModelBuilder is resulting in different results than using it outside of ModelBuilder
I'm trying to build a model that after a bunch of processing exports the raster attributes table to an excel file. To do this, I figure I need to first use the "Export table" tool, followed ...
0
votes
1
answer
92
views
Creating drop down list in ArcGIS Pro ModelBuilder
I'm trying to create a drop down list in ArcGIS Pro ModelBuilder.
The goal is to have a list of different vegetation types that then will be used for further analysis (e.g. mangroves, saltmarsh, ...
0
votes
1
answer
51
views
Build a model in ArcGIS Pro Modelbuilder (3.1) to iterate over text files that are saved in a non-standard format as if they were CSVs
I have a folder that contains text files that are essentially space-delimited CSVs, but have a file extension that ArcGIS Pro doesn't work with natively. I want to build a model that iterates over the ...
0
votes
1
answer
139
views
Copying an attribute field from a polygon to a polyline
Is there a GP tool in ArcGIS Pro to copy a date field from a polygon feature class to a polyline feature class? I cannot use the join tool because there are no common fields after running the polygon ...
0
votes
1
answer
414
views
ArcPy script to apply symbology to layers works in the Python window but not as a saved script for ModelBuilder in ArcGIS Pro
I have some scripting where the goal has been to create data and spatializes them from tables through an FME workbench saved as a data interop tool and saved in a FGDB, which then a script is ran to ...
1
vote
1
answer
107
views
Locking custom toolbox properties and metadata using ArcGIS Pro
I created a custom toolbox, made of models, for a client. I used ArcGIS Pro 1.0.1.
I would like to know if it is possible to "lock" the metadata and the properties of the toolbox models, so ...
3
votes
1
answer
127
views
ModelBuilder to automatically calculate area of feature for use in field calculator
A common task I have is to take a site area that encompasses several different properties and make a map showing how much of each property is within the site boundary. Then I calculate the proportion ...
0
votes
1
answer
156
views
Create user-specified output path parameters when publishing ArcGIS model as a web tool
I have a model saved in ArcGIS Pro that I'm trying to publish as a web tool, but I'm struggling to create a parameter that allows users to specify the workspace location where the output feature ...
0
votes
1
answer
50
views
Model Builder - Iterate user selected KML files as input - NOT a folder as input
I am trying to create an iterative KML to layer geoprocessing model.
The goal: I want to prompt the user to select specific .kml files in a directory to process as well as prompt for the output folder....
2
votes
1
answer
119
views
Using random value generator within if/else statement in Field Calculator in ArcGIS Pro
My task is to populate empty cells of the field "NUMBER" with random values (interval 1-50) in all feature classes while iterating through Geodatabase in the Modelbuilder.
Here is the code:
...
0
votes
0
answers
148
views
Append in ArcGIS Pro ModelBuilder won't recognise Calculated Value (GDB path) as a path when used as target dataset
I am updating a Model built & still functional in ArcMap.
The model starts by running a piece of python that checks if a GDB with a parameter-defined name exists already, or creates it. Either way,...
1
vote
0
answers
28
views
Choice of two input files in ModelBuilder
I'm trying to create a model in ArcGIS Pro that exports selected features in a map, to CAD. It is comprised of two nested models, the first model collects and manipulates the features and the second ...