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

0
votes
0answers
7 views

ArcMap ModelBuilder Iterator Running Once Only & 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 ...
1
vote
0answers
8 views

Arcmap (v10.2) Model Builder: Field parameter with number

all, I created a very simple model like this: So when I start my model, I put the feature I want to export, and the name I want. It works fine if I enter only letters in the field. But I want to ...
2
votes
0answers
23 views

Combining Several “Blocks” in ModelBuilder?

I have a model in three blocks. Block 1 iterates through feature classes in a DB clips them based on an extent boundary and stores into a folder. Block 2 takes input folder and check through ...
0
votes
0answers
29 views

Automating Creation of Network Dataset Using Polyline Input and ModelBuilder? [duplicate]

Is there a way to automate the creation of a Network Dataset in Model Builder using a line shapefile as an input? (ArcGIS 10.4) The only documentation I have been able to find on creating a network ...
0
votes
0answers
31 views

Iterating Loops in ModelBuilder of ArcMap 10.6.1?

I am trying to iterate through rows of a table, amass a list of distance values and then use those values as the Distance parameter in the Multiple Ring Buffer tool. All of this works great, except ...
1
vote
1answer
24 views

What is this Map Algebra expression performing in ArcGIS ModelBuilder?

I was given a model my someone else, and am trying to decipher exactly what they are doing. There is a step in the model which has the following expression: SetNull("%Raster1%"<0,"%Raster 1%") ...
1
vote
1answer
43 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 ...
7
votes
1answer
103 views

Toggling on/off number of inputs using ModelBuilder?

I am building a model to process between two and five files (the number of inputs changes depending on the scenario). I would like to have the option for the users to input up to five files, but ...
0
votes
1answer
43 views

Setting up if/then/else for choice of two options or boolean in ArcGIS ModelBuilder?

I'm using ArcGIS Desktop 10.6 and have a model as shown in the image below. I'm calling it option 1. The model exports GIS data to CAD DWG format and is comprised of two submodels, "Setup" and "Export"...
0
votes
0answers
22 views

Python Toolbox: Segmenting a process. Tool as an input of a Python Toolbox

I often run processes so big that take several days. I want to segment the process so instead of running a big input through the ModelBuilder I run smaller pieces of the same input and then, at the ...
1
vote
3answers
225 views

ArcGIS-Calculate field : Give the first value to the others

I'm making a model builder to automatize some linear referencing projects but I have some problems with the field calculator tool. My table contains 3 fields : ID | NOM | LIGNE and I'd like to ...
2
votes
1answer
21 views

Exporting data by month/year using ModelBuilder?

Using ArcGIS Desktop 10.6.1. I have a large dataset that I need to view sequentially by month AND year. Instead of using Select by Attribute for each month/year combo (i.e. February 2017-May 2019 for ...
-2
votes
0answers
23 views

Classifying Facilities in ArcGIS ModelBuilder?

I want to classify the closest facilities in ModelBuilder, according to the distance (for example). What tool am I supposed to use?
0
votes
0answers
16 views

Using ModelBuilder for spatial query?

I am using ModelBuilder to solve spatial questions of a related database table but confused as tools required to run in order to get my output for a question like: What is the total sum of a single ...
3
votes
3answers
76 views

Moving points closer to polyline using ModelBuilder?

I have a lot of points I need to move that are on the edge of the parcels closer to the centerline(road), not directly on top but about 5 feet away from the centerline. I know i can edit and move ...
0
votes
1answer
20 views

Adding output to ArcPy script in ArcGIS ModelBuilder?

In ArcGIS 10.5, I have the following script which grabs the files from a geodatabase and merges them into one layer: import arcpy # specify the path to the GDB with the asset files #make sure the ...
0
votes
0answers
14 views

ArcMap Model with parameters

How do I get the fields from the intersect results in my arcmap model to appear as the possible 'statistics fields' for my dissolve tool when using model parameters? I have the statstics field set up ...
0
votes
1answer
15 views

Using an ArcGIS Model Builder iterator to merge all shapefiles into one layer? [duplicate]

I have a GeoDatabase with a handful of shapefiles. The contents are likely to change often, so I want to build a tool that allows me to merge all the shapefiles in the GDB into one layer. This is ...
0
votes
2answers
32 views

Add Field to Fishnet in ModelBuilder?

I am making a tool in ModelBuilder that will allow me to create a fishnet (using Create Fishnet tool) and add field called "Reviewed" in one swoop. I want to use this when QCing data. I can add the ...
0
votes
1answer
24 views

ModelBuilder model only works in edit window?

I have a model that iterates through a single field (such as Name) and selects out each name in that field and ultimately creates a KML layer as the last output of each name in the field by using an ...
2
votes
0answers
102 views

Joining two fields after calculating?

I have been working with two layers and I am trying to join them and turn them into a raster data. The first layer is a watershed layer which I have assigned each shed a location from the center point ...
4
votes
1answer
1k views

Joining fields which must still be created in ArcGIS ModelBuilder?

I am in the process of creating a generic model in ArcGIS Model Builder. At one point in my model, I have to do a join between an existing layer (entry parameter) and a table issued from the "Zonal ...
3
votes
2answers
683 views

Adding iteration in model to join fields from several shapefiles into final one?

I have one grid (Atl1x1.shp) to which I need to add 9 Fields from 9 different shapefiles which are also grids (that is, 1 column from each shp, all with the same name). These shapefiles have the same ...
0
votes
0answers
12 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 ...
0
votes
1answer
132 views

How do I input this function to “Raster Calculator” in Model Builder , in ArcGIS 10.2? [closed]

The raster files that function refers are as follows: Precipitation (o “Raster” in figure 1): Variable CN_2S_7ma: Constant CN_8S_7ma: Constant The mathematical function that must be entered is as ...
1
vote
1answer
334 views

How to calculate sum for unique values in a model?

I have two layers. A layer represented by a fishnet and a layer represented by certain boat routes. After I intersect them I want to be able to calculate the sum and max value for certain ...
2
votes
0answers
39 views

Permanently changing color of tool/output in ArcGIS ModelBuilder?

I have a pretty complex model in ModelBuilder, and I'd like to custom-color certain tools and outputs. I'm not so fond of the orange-green-blue scheme that is there by default. However, when I change ...
1
vote
2answers
46 views

Can ModelBuilder interface let user choose tool from among those within toolbox?

I would like the model user interface let the user select a tool (or submodel) from among a list. Is it possible to prepare such a model using ModelBuilder without having to write a python script?
1
vote
1answer
63 views

Converting Python script from ModelBuilder?

I ran the ModelBuilder to Python script and now my script won't run. It has a problem with the local variables. Is there a fast way to declare all the variables even though some of them are created ...
1
vote
1answer
21 views

Enabling model tool even if field already exists using ArcMap ModelBuilder? [duplicate]

I made a quick little tool in ModelBuilder to add specific fields based on a precondition (checked boxes). The issue I'm having is that if any of those fields already exist in the feature I'm trying ...
2
votes
1answer
1k views

Using If Then Else statement in ArcMap ModelBuilder?

I have a model that adds several fields, two which are manual inputs (County Name and User). I am manipulating several parcel layers (approx 90 counties). In my model, one field takes the state and ...
2
votes
2answers
1k views

Using Python Script tool in ModelBuilder to check if field exists, if not, create one?

I'm trying to create a script tool to use in ModelBuilder that will check the incoming dataset for the existence of a particular field. If the field exists it should simply go on to the next calculate ...
0
votes
0answers
31 views

Finding nearest 10 observations that occurred 2 years before original observation using ArcGIS Pro ModelBuilder?

I have a point sample of house sales (~42k points over 9 year period) with a date field(integer), and for each point I want to find the 10 nearest houses within a year of sale and also which were sold ...
0
votes
0answers
26 views

ERROR: Failed to write a pixel block. [Possibly out of disk space]

I have a problem with the ModelBuilder in ArcGIS. I make an Iteration and after 7 working iterations I always get the following error when executing Cost Distance: Failed to write a pixel block. [...
0
votes
3answers
55 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
33 views

Re-configuring a Near Table with Multiple Near Features

I'm trying to reconfigure the results of a near table in ArcGIS Pro. The table currently shows the nearest 5 features from a lake layer relative to multiple project locations. I've then used a join to ...
5
votes
2answers
318 views

How to publish a model as a service?

I am trying to share a map as a service and overwrite an existing Feature Service in ArcGIS Online. I put together a small model to connect to the database, to publish and replace existing item online,...
1
vote
0answers
18 views

Using Join Field more than once in ArcGIS Pro ModelBuilder?

I have a model where I'm trying to aggregate the zonal sums of a set of ~30 rasters into attributes on a shapefile of country boundaries. Ideally my model would create a new field in the country ...
0
votes
1answer
51 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 ...
0
votes
1answer
42 views

Selecting max value in SQL query from Extract by Attributes?

I currently have a raster that has 3 columns in the attribute table: OBJECTID, Value, and Count. As part of ModelBuilder, I am running this raster through the Extract by Attributes tool. The Extract ...
2
votes
1answer
28 views

How to get the source name of a feature layer

I have feature layers that have a different name in the TOC then that they do in the GDB. I cannot change either of these and I need the name of the feature class from the GDB in order to make my ...
1
vote
0answers
15 views

Selecting surface constraint using ArcGIS Pro ModelBuilder?

I created a model using ModelBuilder in ArcGIS Pro to make a LAS ground only layer from LAS files. I first created LAS dataset using LAS files and then used make las dataset layer option. I am able to ...
0
votes
2answers
67 views

Using Append Parameter in the Add Locations Network Analyst Tool in ModelBuilder?

I am trying to get ModelBuilder to create a route for each row in a .csv file. Each row has one start and stop locations (Point A and Point B). I need to add both start and stop locations to a network ...
1
vote
1answer
25 views

Saving Customized Toolbars

I am trying to put together toolbars with model builder tools I created. I followed the instructions on ESRI's page, but it doesn't seem to want to save. I created the toolbar in ArcCatalog, as well, ...
1
vote
0answers
95 views

Creating clusters based on nearest distance attribute in ArcMap using ModelBuilder

I am attempting to create a tool via modelbuilder that creates clustering for a polygon feature class based on the distance field attribute (between one polygon to another) that I have created using ...
1
vote
2answers
23 views

Getting Text using Inline Variable Substitution in ArcGIS Desktop ModelBuilder?

I am trying to use inline variable substitution (%Input Feature%) to use the name of an output of a Clip Tool (let's call it "(Final) Output Feature Class) as the name of the output table in the next ...
1
vote
0answers
20 views

Model Builder not showing feature layer FID

In the middle of a routine I'm making on model builder I have a generate near table function beetween two feature of points. The results give me a table with only the coordinates of the points and ...
0
votes
1answer
28 views

In ArcGIS 10.6, how do I build a model to intersect iteratively?

This is my first time building a model from scratch, so let me know if I've omitted anything in describing this question. I have a geodatabase that contains shapefiles (polygons) of watersheds. I ...
4
votes
3answers
4k views

Working around ArcGIS Pro inability to export models as Python code?

ArcGIS Pro 2.1 does not allow saving / exporting of a model constructed with ModelBuilder as a Python script. It seems that the only way we can circumvent this limitation is to click on each ...
4
votes
1answer
707 views

Creating ArcMap toolbar button from model tool?

Using Arc 10.3.1 ModelBuilder, I've just successfully created my first tool, which is stored in a toolbox within "My Toolboxes". I run the tool by opening the Arc Toolbox button, dropping down to the ...