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

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

Converting working ModelBuilder to Python script reports errors in ArcGIS Pro

I want to learn Python and ArcPy by converting ModelBuilder to Python script. First, I tried to use 'extract by mask' in this way.But it failed. # -*- coding: utf-8 -*- """ ...
user avatar
0 votes
0 answers
12 views

Rename layer in model builder with almost original name

I have a model inside a model and I would like to rename the output of the model to their original name with "_clean" in front. So if the layer input its 'lake' in the project i would like ...
user avatar
0 votes
0 answers
15 views

Making a QGIS batch process receive a csv to input the model parameters

I made a QGIS model in the modeler that cleans the layer and do some bufferes with some parameters that we enter. What I wanted is to execute this as a batch process where we select the layers we want ...
user avatar
0 votes
0 answers
27 views

Conditional shapefile merge using ArcGIS Pro ModelBuilder

I have a basic model in which I want to buffer a shapefile. I've got some spatial data that will always be included, but I'd like to have the option for the user to set a secondary shapefile as a ...
user avatar
  • 115
1 vote
1 answer
35 views

Making a QGIS graphical Model Builder work with optional layers (advanced)

I am trying this for a lot of time... QGIS graphical modeler allow us to put some advanced layers, but if we use them directly in the process the modeler will crash. I am trying to tackle this problem ...
user avatar
0 votes
0 answers
12 views

ModelBuilder export/sharing

I was wondering when trying to export a ModelBuilder, is there another way besides exporting it the whole package or a python script? Because with the ModelBuilder there will be different imagery ...
user avatar
  • 11
1 vote
0 answers
27 views

ArcGIS Pro Layers - Update Data Sources with Model Builder & ArcPy

So I'm attempting to write a script that updates the data source for the layers in my map. The script is incorporated into a model and gets some of the pathways from the model's outputs. When I run ...
user avatar
  • 151
0 votes
1 answer
38 views

Reclassifying in ModelBuilder of ArcGIS Pro

I am using ArcGIS Pro. I am trying to build a model to iterate between land cover raster files and reclassify them. However when I open the Reclassify tool, the remap section has been greyed out. I'm ...
user avatar
0 votes
1 answer
30 views

Using Field Calculator to put file name into field

I am using ArcGIS ModelBuilder. I want to use Field Calculator to put the file name into a field. I created a field using add field. But I don't know the function to call the file name. What I've ...
user avatar
1 vote
1 answer
27 views

Show inline substitution value as tool parameter

I am trying to name an output using inline variable substitution. I first use the calculate value utility to obtain the string I want (its name is Date in the model). I set this as a precondition so ...
user avatar
  • 495
0 votes
1 answer
46 views

Model works in ArcMap but in ArcGIS Pro gives ERROR 000229 failed to execute make feature layer

I am moving a simple ModelBuilder model from ArcMap(where it works fine) to ArcGIS Pro. It is to iterate through a selection of fields and then make a feature layer to use to select against. I keep ...
user avatar
  • 21
0 votes
0 answers
36 views

Add fields using Iterate multivalue in model builder returns only 3 fields

I am trying to add multiple fields to a table using iterate multivalue in model builder. The iteration values are the new field names. I tried creating 4+ individual variables but only 3 were used in ...
user avatar
  • 495
0 votes
0 answers
24 views

ModelBuilder tool outputs not being added to map using ArcGIS Pro

When I create a tool using ModelBuilder and run it as a geoprocessing tool (not through ModelBuilder), the output isn't automatically added to my map, as is the case with a usual geoprocessing tool. I ...
user avatar
0 votes
0 answers
30 views

Making NetCDF feature layer in ArcMap

I am using ArcMap 10.6. I have multiple netCDF files in a folder, where I try to iterate through them using the "Iterate Files" tool in the ModelBuilder. For each nc file, I simply want to ...
user avatar
0 votes
0 answers
14 views

Merging point and polygon in ArcMap ModelBuilder

I have a model in ModelBuilder to perform a merge which is used to iterate through from subfolder 1 to subfolder 32 that looks for the polygon-type shapefile and joins them. However, the model does ...
user avatar
0 votes
0 answers
30 views

ArcMap ModelBuilder join field error

I need to create lines from points using bearing and distance tool. For a mass of files I use Iterator. Also I need to join attribute fields from source point layer to each line layer that made from ...
user avatar
2 votes
1 answer
80 views

Automate Name-Based Merge

I'm struggling trying to use Model Builder's iterator tool. I'm trying to use the iterator to search through 6 geodatabases and merge each feature classes with the same name (BuildP, CisternA etc.) ...
user avatar
1 vote
1 answer
46 views

How to show or add the name of each polygon shape file to its attribute table

I have converted rasters to polygons. Each of them have 3 fields in their attribute table: id=0, fid=0, shape=polygon zm. How can I add name of each polygon to attribute table?
user avatar
  • 43
2 votes
0 answers
37 views

Possible to use output data variable from Iterator in SQL query?

I am looking to use a value returned by an iterator as part of an SQL query but cannot figure out the right way to do this with an SQL expression: I have a table of 7 text values (Cadastre) that the '...
user avatar
  • 21
1 vote
1 answer
48 views

Count records from a Feature Class, where the combination of 2 columns match another Table(View)

I have difficulty formulating a good title for this problem. Problem statement I have the following 2 datasets, that are included into the same file local GDB. For these tables I want to find the ...
user avatar
  • 1,066
0 votes
1 answer
42 views

Iterate over raster images and mosaic images based on same dates using model builder

I am trying to mosaic images with same dates in a folder. As there are images with different dates in the folder I have looped through the images with just SR_clip.tif extension using wildcard that I ...
user avatar
0 votes
2 answers
54 views

Select By Location and Calculate the Field Attributes Using ModelBuilder in ArcGIS Pro

I want to create a ModelBuilder tool that I can use to save my time when I need to populate a ward name into my asset layers. Here Ward is a Polygon feature layer and my asset layers can be point, ...
user avatar
1 vote
0 answers
17 views

ArcGIS Pro Modelbuilder - How to specify which map with the "add to display" option

I'm utilizing a model to update feature layers in AGOL. The model I have used follows this blog post: https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-...
user avatar
1 vote
1 answer
60 views

Variables in SQL expression in ArcPy script

I have a Python script with three parameters to collect user inputs via GetParameterAsText... Buffer_Distance = arcpy.GetParameterAsText(0) # a string data type number (e.g. 40) slp_min = arcpy....
user avatar
1 vote
0 answers
26 views

Importing KMLs to a geodatabase in ArcGIS Pro ModelBuilder

I've got a folder into which people will dump KML files, and a need to import them into a Feature Class (or more rather, three feature classes eventually - one for points, one for lines, one for ...
user avatar
  • 814
0 votes
0 answers
26 views

Can't see derived output of scripting tool in ModelBuilder, Add Surface Information does not work as expected

The add surface information tool in ArcGIS 10 (3D Analyst Tool) does not work correctly. The input parameter for scaling the data are set to 1 but after code execution the results are always ...
user avatar
  • 7,172
1 vote
0 answers
19 views

ArcMap ModelBuilder: Select Annotation from iteration of CAD (.dxf) files and then import them into a geodatabase

I'm trying to build a model which exports the "Annotations" and the "Area", "Line", "CadDoc" (after running the Import from CAD tool) of several DXF files and ...
user avatar
  • 161
1 vote
1 answer
18 views

Labeling Groups From ModelBuilder tool in Geoprocessing Pane using ArcGIS Pro

Is there a way to group the geoprocessing steps of a ModelBuilder model in the geoprocessing pane? I am building a model that creates a new feature class and then allows the user to append existing ...
user avatar
  • 335
1 vote
1 answer
42 views

Implement Script Tool with ModelBuilder as GeoProcessing Service

I built a model in ArcGIS Desktop 10.8.1 and want to implement a script tool at the end (inside the model). All elements are using relative paths and %SCRATCHWORKSPACE%\ in the file paths (as ...
user avatar
1 vote
1 answer
70 views

Join Field not joining all tables using ModelBuilder of ArcGIS Pro

I have a File Geodatabase in which there are 3 stand-alone tables and I have a shapefile to which I want to join fields of the standalone tables. I am using the Iterate Table tool of the ModelBuilder ...
user avatar
0 votes
1 answer
22 views

ModelBuilder symbology not showing/applied to layer

I am using ArcGIS Pro. I am executing this model outside of the ModelBuilder and it works almost as intended. I have checked and the model executes without a single warning message. The final output ...
user avatar
1 vote
1 answer
75 views

File input loop in ArcGIS ModelBuilder

I want to automate a task on ArcGIS, and I have created a function chain working well. The chain simply evaluates a point, calculates multiple hydrological rasters & values and gives output. I ...
user avatar
  • 13
0 votes
1 answer
56 views

Field Calculator in ArcGIS Pro ModelBuilder does not show fields

I want to calculate a new field named "urbanisation_degree" based on data which I add earlier in the process. In a first step, I extract raster data to points using "Extract multi ...
user avatar
0 votes
1 answer
27 views

Adding and calculating User Input Fields in ArcGIS Modelbuilder

I have a model which results in a list of routes with mileages. I want to add 6 fields to the mileage table (Freight Rate, Freight Cost, Material Amount, Material Rate, Material Cost, and Total Price)...
user avatar
0 votes
2 answers
42 views

Iteratively Mosaicing Multiple Raster Pairs by File Name in ModelBuilder

I'm trying to run 'Mosaic to New Raster' iteratively across 500 raster pairs in ArcGIS ModelBuilder. Either this tool or my model is not working. Intuitively, the model is correctly specified, but ...
user avatar
0 votes
1 answer
56 views

Raster Merge from each folder using Mosaic To new raster

I have rasters in each folder and I want to merge rasters of each folder and save them individually. In above model I am able to merge all rasters from both folders. Any way I can fix this in a model ...
user avatar
  • 385
1 vote
1 answer
32 views

Copying.tif files from one folder to another using ArcMap ModelBuilder

I am trying to select specific Rasters and get all the supporting files copied over to a new folder. For example: I have a folder with .tif and supporting files: So, I am trying to copy all the ...
user avatar
0 votes
0 answers
19 views

ETGeoWizards in Python takes no arguments

I have an ETGeoWizards license (11.8) and have created a simple Polyline to Points task in ModelBuilder (it runs in ModelBuilder). When I export to python and run I get the following error: "...
user avatar
  • 1
2 votes
2 answers
83 views

Removing characters using field calculator in ArcMap

I am working with automating a workflow using ArcGIS ModelBuilder, and the final output returned an error in the resulting output. Here the Test field is filled by adding a Prefix "City of" ...
user avatar
1 vote
1 answer
35 views

Turning values from one feature into Field names in another feature using ModelBuilder with ArcGIS Pro

I'm trying to use the Iterate Row Selection function to collect values from one feature, and then create a series of new Fields in another feature using the collected values as Field Names. There will ...
user avatar
  • 11
0 votes
0 answers
92 views

Syntax for Field Calculator in ModelBuilder of ArcGIS Pro

I'm migrating a legacy ModelBuilder tool that has a VB code block in it to ArcGIS Pro 2.9. It's a straightforward issue: The model runs a Calculate Field process. If the field is not null, do nothing,...
user avatar
  • 107
0 votes
1 answer
19 views

ArcGIS Near analysis ModelBuilder

I am attempting to iterate through one shapefile to find the nearest point in another shapefile. I am getting the following error when I attempt to use the Near tool on an iterated row.
user avatar
2 votes
1 answer
106 views

Changing inline variable %name% in ModelBuilder of ArcMap

I have a lot of MODIS tif files in a folder and I want to calculate zonal statistics of each tiff file according to polygon in my shapefile. I am trying this in ModelBuilder of ArcMap 10.3.1 However, ...
user avatar
1 vote
1 answer
76 views

Using Inline Variable Substitution in Field Calculator in ArcGIS Pro

I am putting together a model that will look at a field called "gridcode" that has values 1, 2, and 3. Depending on which value it has, it will calculate another field called Class_Name2. ...
user avatar
  • 335
0 votes
1 answer
50 views

ModelBuilder using iterator as precondition

Was wondering how I can iterate over field values and when all the iteration is done to move onto the group at the end. I've tried setting a precondition within the loop but that just causes the whole ...
user avatar
  • 61
0 votes
0 answers
30 views

Creating Model to select most recent data automatically using ArcGIS Pro

I have created a model that will run several tools and output an Excel file. I am trying to automate this process and the last step seems to be automating data selection. I need my model to select the ...
user avatar
  • 69
0 votes
1 answer
35 views

How to summarize fields of multiple feature classes using ModelBuilder or Arcpy?

I'm new to ModelBuilder. I have created a script in python that gives results for each month, using ModelBuilder how can I make a sum between each field of each month of the year to have a single ...
user avatar
1 vote
1 answer
62 views

Automating input variable of ArcGIS Pro ModelBuilder

Every day I get a new geodatabase that I have to manually input in the shown ModelBuilder to produce a report. I would like to automate the input process, so the ModelBuilder would locate the new ...
user avatar
  • 21
0 votes
0 answers
19 views

ArcCatalog Script differences outside and inside ModelBuilder

I have a script, in which the final product is a file with a PDF extension. The script only works, as it appears in the following section: But when I enter said script into ModelBuilder, it changes ...
user avatar
0 votes
1 answer
39 views

Include two iterators in ModelBuilder to use zonal statistics as table

I am facing a problem because I know is not possible to include 2 iterators in the same ModelBuilder model. I have 10 features (polygons) in a shapefile and 1000 rasters in a folder. I want to ...
user avatar
  • 209

1
2 3 4 5
43