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,229
questions
0
votes
0
answers
23
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
37
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
20
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
29
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 '...
1
vote
0
answers
24
views
How to iterate 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
14
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
21
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
75
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
34
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
33
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
46
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
59
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
93
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
52
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
87
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
19
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
23
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
42
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
52
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
352
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
63
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
19
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
151
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
63
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
55
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
35
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
88
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
83
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
59
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
92
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
0
answers
20
views
Where do I save output feature classes from web tools in ArcGIS Pro? [duplicate]
I have a model that creates several temporary layers and then one final output layer. When I run it in ModelBuilder, I specify the output path each time depending on the project I'm working in since I ...
0
votes
1
answer
75
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
33
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
90
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
94
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
27
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 ...
1
vote
0
answers
21
views
Combining columns with same name in ArcMap ModelBuilder
I am currently working on a project using ArcMap 10.7 where I have separated some points into three different layers for different buffer distances. I have used union to combine them again, and ...
0
votes
1
answer
31
views
Iterator reports only last inpust shapefile - Merging multiple shapefiles into a single geodatabase feature class
]I have 10 shapefiles in source folder.
I made a model, which use iterator iterate feature classes and tool the feature class to feature.
I would like to merge multiple shapefiles into a single ...
1
vote
1
answer
59
views
Inserting Modify Features Clip (Discard area that intersects) into ModelBuilder in ArcGIS Pro
Does anyone know how to insert the Modify Features Clip tool into a ModelBuilder in ArcGIS Pro 3.03?
I'm wanting to cut a hole in a polygon based on another feature class, and do this for ten ...
1
vote
0
answers
77
views
ASC to TIFF Conversion and File Merging using ModelBuilder
I am using ModelBuilder. I would like to:
Convert catalog ASC files to TIFF format.
Merge TIFF files into a single file.
I am able to accomplish the first step successfully, but I'm struggling with ...
1
vote
1
answer
77
views
Iterate through and modify data in a feature class using ModelBuilder
Using ArcGIS Pro 3.1.0
I'd like to create a model that iterates through features and modifies fields based on a logical if-statement. Specifically, I'd like to check if each field begins with number, ...
0
votes
1
answer
43
views
%Name% can't get the file name in model builder for Arcmap [closed]
When I try to use %Name% to get the shp name, I get the wrong name. The result is "%Name%.tif".
It seems like can't get the right name. How can i fix it?
0
votes
1
answer
30
views
Iterating process of removing values in fields of shapefiles using ArcMap ModelBuilder
I have a file geodatabase containing about 179 shapefiles.
In each of the shapefiles the attribute table in the fields (Ref: Picture), rows with same values are present which is identified from field, ...
0
votes
0
answers
62
views
ERROR 000735: Expression: Value is required with ERROR 000728: Field does not exist within table
I have a script written (exported from model builder 10.8), and syntax revised, to essentially to export ArcFM data to take a specific field, and bring it into another field that is not ArcFM in ...
1
vote
0
answers
41
views
Assign input to submodel -- Convert PyQGIS to ArcGIS Model
I have a point feature class containing traffic counts for multiple (500) intersections (TrafficCounts) and a polyline feature class containing roads in my county (Roads). I have created a model which:...
1
vote
0
answers
46
views
Snap a Point to a Polygon Edge in Direction of Connecting Line in ArcGIS [closed]
I'm looking to create a model or write some python for this task, but I'm not entirely sure where to start. I have a point that falls within a polygon feature representing building footprints. Instead ...
0
votes
1
answer
27
views
Finding specific feature class in multiple geodatabase using ModelBuilder
I have multiple geodatabase and shapefiles in multiple sub folders. I would like to search the feature class with keyword “building”, and then export all of them into a single geodatabase with ...
1
vote
0
answers
53
views
When I add a custom R Script Tool to my ModelBuilder, it gives me this error message
I have been trying to add an R Script Tool to my model in Model Builder within ArcGIS Pro--the tool, called Tree Detection, works well when I run it on its own, but every time I try to run it as part ...
1
vote
1
answer
38
views
Why does the Reverse Geocoding tool give flipped intersection names on repeat queries?
I've been using ArcMap 10.8.2 the last few weeks in order to create a tool to streamline the creation of an Excel sheet used by a city's wastewater engineering technicians to list stormwater assets ...
1
vote
1
answer
384
views
Arcade expression to calculate field in point dataset based on whether its features lie within specified polygon dataset using ArcGIS Pro ModelBuilder
Can anyone help with an Arcade expression to calculate a new field in a point dataset based on whether or not each point feature is within a polygon dataset in ArcGIS Pro ModelBuilder?
I have a point ...