Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
2answers
702 views

Parse path for any workspace

I have a model which adds and calculates a new field with a workspace path. I upload only one layer from database to the model (called "tline"). Parse path can detect only the name and file of this ...
0
votes
1answer
21 views

Collecting Moran's I output values in ArcGIS Pro?

I am running an iterator in ModelBuilder that ultimately takes the output from each iteration (a point feature class) and runs the spatial auto-correlation tool (global Moran's I). I have about 450 ...
0
votes
1answer
154 views

Extruding Height in ModelBuilder of ArcGIS Pro?

I am trying to create a ModelBuilder in ArcGIS Pro to convert KML files to Multipatch. The steps: KML to Layer tool I select the layer and in the Appearance contextual tabs, I will extrude the ...
0
votes
0answers
18 views

How to read and use attribute values of a feature class in a calculation using arcpy?

I have a table of 6900+ attributes within a feature class. I want to use the values of these attributes, specifically the fields 'DIST_Port' and 'Num_trips'. I want to run through these and provide a '...
1
vote
1answer
104 views

QGIS plugin creation using ArcPy Model in ArcGIS

I have created a ModelBuilder in ArcGIS 10.3 and exported the Python file. Now I want to use that Python file in QGIS plugin. Can that be done?
0
votes
0answers
18 views

Using ModelBuilder and Inline substitution in ArcGIS Pro?

I am creating a model and was wondering whether it is possible to use inline substitution with variables that are a table of values or multiple values, shown below.
0
votes
0answers
17 views

For ArcGIS Pro - What if you need two iterators in one model? Looking to batch clip multiple shapefiles with a Feature Selection iterator?

I am working on a series of maps in ArcGIS Pro, matching wind speed and direction with a modeled migratory path of 19 sparrows for the month of April. The wind speed and direction shapefiles are from ...
1
vote
0answers
12 views

Iteration for “Selection by Location” in ArcGIS modelBuilder

I have a featuredataset of 50 Features which are supposed to have intersection with some lines and their Buffers which are in different feature classes. I have created a separate GDB for the Buffers ...
4
votes
1answer
84 views

Update Cursor skipping last row?

I have created a python function within field calculator to calculate the time difference between a timestamp (yyyy-MM-dd HH:mm:ss) in a row and the row after (the interval field in seconds). I have ...
0
votes
0answers
27 views

SQL expression for “current” layer when using iterator?

I am trying to run a model to select the maximum (wind measurement) value from each weather station (called SNXXXXX), which has their own feature class in my input gdb: in the Feature class to ...
0
votes
2answers
91 views

Geoprocessing automatically 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 ...
0
votes
0answers
16 views

Splitting polygon using ArcGIS Pro ModelBuilder?

I would like to split several polygon features using other polygon features inside a model. I use arcgis pro 2.2.4 When I do it manually, it works perfectly fine and quite fast, but inside the model ...
0
votes
0answers
8 views

Deleting multiple ArcFM features through model?

I am trying to create a model in ModelBuilder which will allow me to delete multiple features (manholes). I am new to this so I'm on a bit of a learning curve at the moment. These features are ...
-1
votes
1answer
296 views

Setting up batch file for fragstats using 1000s of landscapes (tif) in ArcGIS Desktop?

I have 1000s of tif rasters of land cover (at the county level) that I would like to process in fragstats, and would like to use batch processing. The Fragstats help file is basically useless. Is ...
1
vote
0answers
12 views

Creating catalog of ModelBuilder models?

I have to create a catalog with several models that was made with ModelBuilder. Do you know a way to record basic information of a model and do it several times. i.e. (Path, Variables, elapsed time)?...
0
votes
0answers
11 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 ...
0
votes
2answers
3k views

Select Layer by location does not work

I am having trouble using the "Select Layer by Location" tool. I want to select everything from shapefile A (green) that overlays with Shapefile B (red). Here is the raw data: And one example of the ...
1
vote
1answer
14 views

Model only works one time and then fails, Error 000732, “Precondition fails”

I have a huge ol' model that's built to copy a bunch of data from one GDB into a different GDB and then delete two of the feature classes. If I build the model from scratch, it'll run fine the first ...
1
vote
1answer
50 views

Outputting Polygon Neighbors into special format using ArcPy?

I need Polygon Neighbors to give me data in a specific format. Every polygon should have its own line in the output. Take this, for example(it's obviously not ArcGIS formatted, but it serves the ...
0
votes
1answer
24 views

Counting attribute value based on location using ArcGIS Pro?

I have a school district polygon divided up by neighborhood, and I am trying to determine the number of students from each grade per neighborhood. The student point file contains an attribute with ...
1
vote
2answers
224 views

Azimuth from last point to next point

I found an script on https://community.esri.com/blogs/dan_patterson/2016/09/01/distance-calculations-using-the-field-calculator but the script is giving the azimuth to the next Objectid point and what ...
1
vote
1answer
16 views

ArcGIS Pro geoprocessing tool parameters - default settings

I would like to set my ArcGIS Pro geoprocessing tool parameters to a default value for repeated routine update cycles. The primary tools I'm using are "Create Vector Tile Package" and "Create Mobile ...
10
votes
6answers
13k views

Moving / offsetting point locations using ArcPy or ModelBuilder?

I have a number non-georeferenced CAD layers (see this question) that have text annotation features. I have created a model to convert the text to points, but after converting the annotation to a ...
0
votes
0answers
9 views

Does Calculate Value run only once in Batch mode? [duplicate]

I wrote a model with a model-only tool (Calculate Value) as the first step. While running the model in single time, it works fine. But while run in batch mode, it yields silly results. I checked the ...
7
votes
2answers
3k views

Does Calculate Value (Model Only Tool) work correctly in tools run in Batch?

Am I correct that if my model has a model-only tool (Calculate Value), and then I run the model as a batched process, it will not run the Calculate Value expression? I wrote a model to upload, ...
0
votes
0answers
20 views

Copy Rows to SQL Server Table using ModelBuilder?

I want to copy a table in my GDB to a table in MSSQL server 2012. I'm using the "Copy Rows" tool in ModelBuilder, but when I run it, I get the following error: ERROR 000210: Cannot create output ...
2
votes
1answer
23 views

If/Else in ModelBuilder not showing the correct True/False outcome

I'm creating a model that queries the number of features in a feature class and runs one of two scripts depending on if the feature class is empty or not. I'm using Get Count to calculate the number ...
0
votes
0answers
10 views

Iterative Processing for make NetCDF table View in ArcGIS Desktop?

I am trying to process NetCDF file using Make NetCDF view table but do not understand where it stores output? I have 32 nc file for which I am using ModelBuilder.
1
vote
1answer
21 views

Calculate field tool doesn't stop running because of codeblock in ModelBuilder?

I am running the following model, which seems to work and populate the added field that I want, but the final calculate field doesn't stop running even though it seemed to do what it should. The point ...
1
vote
1answer
13 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 ...
1
vote
0answers
67 views

QGIS RASTER CALCULATOR - Getting the Minimum and Maximum Values of a Raster Layer

I try to work with the minimum and maximum values of a raster layer in the raster calculator in QGIS 3.6. I try to do the following formular: ( @RasterCellValue - @RasterMinValue ) / ( @...
3
votes
1answer
53 views

Selecting polyline between two point features using ModelBuilder?

I am looking to select a segment of a polyline that is between two GPS points in ModelBuilder. The line segment is created by enabling a user to define his/hers begin end point, and then using the ...
1
vote
1answer
32 views

In ArcMap batch processing model outputs different coordinate system and datum

I've made a simple model that takes a CSV of lat/longs with radio signal levels, makes an XY event layer, selects values over -120, then converts to raster. In the Make XY Event layer the spatial ...
3
votes
1answer
413 views

Using Local Routing Tool in ArcGIS ModelBuilder?

When I create a model in ArcGIS ModelBuilder using the Network Analyst Tools, I am able to create Locations and make the Route Layer and Solve. However, I need to be able to add barriers as well as ...
4
votes
4answers
1k views

Repeating steps based on different field using ModelBuilder?

I have built a model to interpolate air pollution from 40 recording stations using IDW. The results are then exported to an average for census divisions. I need to repeat this process hundreds ...
1
vote
0answers
11 views

Select by attributes ModelBuilder - text string partial values for parameter

I have a feature class of suburbs that I want to do a select by attribute on the Locality (=suburb names) field, passing a user input string parameter to selection expression. I have the query ...
0
votes
0answers
33 views

Making different classes create different size buffers/Thiessen polygons based on point data in ArcGIS ModelBuilder?

Is there a way of getting point data with different classes/numbers create different buffers/Theissen polygons in ArcGIS ModelBuilder? For example: If two points are plotted on a map with the ...
0
votes
0answers
13 views

Automatically add labels to point layers using ArcGIS ModelBuilder [duplicate]

How can I get labels from a specific column to be displayed when adding point data to a map using ArcGIS ModelBuilder?
1
vote
1answer
15 views

Finding calculate value or collect values tools?

I am using ArcGIS Desktop 10.5.1 and I need to use the calculate value tool or collect values tool to in ModelBuilder, but I cannot find those tools. Do I need to download them from somewhere else?
2
votes
1answer
24 views

Including buffer to IDW in ModelBuilder

I have created a model with ModelBuilder to interpolate values with the IDW tool, iterating through rows. How can I restrict interpolated values to regions within a 20km buffer? I tried setting the ...
3
votes
1answer
40 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
31 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
38 views

ModelBuilder Create Tin gives ERROR 000800?

I'm building a model that iterates through several feature classes. Part of the process is creating a TIN from polylines. When I run the model inside the editor it executes correctly without a ...
0
votes
1answer
65 views

ModelBuilder Speed. Runs very Slow

I've built out a model but it takes what feels like a very long time to run. About 60 seconds for each iteration and I only have 200 records. I am not sure what is normal or expected for these types ...
0
votes
0answers
32 views

ModelBuilder and Raster Calculator Error 000539?

I'm currently working in ModelBuilder trying to use the Raster Calculator and I keep getting the error message 000539. The error according to ESRI says it's an invalid pathway. What I have circled ...
-1
votes
1answer
38 views

Running Model in Python

Having a lot of trouble trying to run a model I built in ModelBuilder in Python. What is the proper way to do this? I'm adding the toolbox then running the model. Seems easy enough but I'm getting an ...
0
votes
0answers
15 views

Joining xls file with shapefile attribute through ModelBuilder?

I have folder contains xls files and I need to make join for each file with a shapefile attribute using ModelBuilder. My trial is as follows: and obtained "Precondition" option only. How can I ...
0
votes
0answers
26 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
44 views

How to apply a model for each value in the attribute table?

I have big data on production values of farmers (shapefile). Each farmer has a number of parcels in the attribute table. I try to apply a model for each farmer in the attribute table. The model simply ...
1
vote
0answers
71 views

Check if error due to no spatial reference of extracted raster? [closed]

I have raster file without spatial reference and I extracted my area of interest by shapefile that has spatial reference. Finally, I got extracted raster with spatial reference. Can I assume the ...