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

68
votes
6answers
11k views

When to use ModelBuilder over Python scripting and vice versa?

I am new to Python scripting in ArcGIS but not new to ModelBuilder. I would like to know the benefits of Python vs ModelBuilder. When should we write Python script for GIS automation rather than ...
33
votes
6answers
2k views

Sharing Open Source Python/ArcPy Code and Models for ArcGIS Desktop?

I will be writing scripts for ArcGIS Desktop in Python with ArcPy. Is there a community or open source project where code and models can be shared?
16
votes
1answer
1k views

Will ArcGIS Pro have (better) ModelBuilder?

An earlier Q&A (What are Esri's new "ArcGIS for Professionals" and "ArcGIS Pro"?) provided some reassurance that ArcPy code would have re-use value with ArcGIS Pro: ...
15
votes
2answers
788 views

Making ArcGIS for Desktop play sound on speaker when model completes?

I would like to be able to sleep while Models are running for much of the night in ArcGIS for Desktop . I would like to have ArcGIS for Desktop play a sound when it finishes, to awaken me. Is this ...
15
votes
5answers
2k views

Applying version control to ArcGIS Models

Version control is an indispensable tool for software development, allowing one to reliably and cleanly step back in time to the last time X did it's job exactly right, or to see what changed between ...
11
votes
3answers
20k views

Iterating feature class output file names using ModelBuilder?

I am trying to iterate a series of feature classes (polygons) in model builder to convert a series of polygons to rasters, however, I am having an issue with the output file names. After inserting ...
11
votes
2answers
10k views

Exporting data from Collect Values output in ArcGIS ModelBuilder?

I'm currently playing with ModelBuilder. I've added a picture of the model I have at the moment. This model is currently iterating 6 shapefiles, so each of the 'output values' contain 6 figures in a ...
11
votes
3answers
2k views

Adding arbitrary code to ArcGIS ModelBuilder?

Is there any way to add arbitrary code snippets to an ArcGIS model? I envision something similar to the "show code block" the expression builder in advanced labelling or field calculator. For ...
11
votes
2answers
8k views

Finding differences between shapefiles using ArcGIS for Desktop?

Every month I have to QA/QC some streets data for an entire county (over 47,000 records). The first step is to compare the two files. Currently, I'm using a tool that was created in house via VBA ...
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 ...
10
votes
2answers
26k views

Extracting by Attribute Using ModelBuilder with User Input?

Using ModelBuilder, I want to create a tool that will let a user choose the value or values that will be used to extract a shapefile. I have a parcel layer with a "Parcel_Type" field. I want the user ...
10
votes
1answer
12k views

Creating a spatial “Many to one” join

I'm trying to create what I call a "many to one" join. I don't know if that would be the correct term or not. I have a table that has unique account numbers for mobile homes (i.e. - M1007970) per ...
10
votes
1answer
1k views

Can concurrent processes be run in a single model?

In model builder (for Arc GIS 10) is it possible to run two or more geoprocessing operations concurrently? For example I have to run repair geometry on 2 files and then merge them. Currently it ...
10
votes
2answers
739 views

Can ArcGIS ModelBuilder open Excel file for manual editing, then feed those edits back into model?

I have been tasked with creating a model using ArcGIS ModelBuilder, that initially runs a couple of geoprocessing tasks, before then joining an Excel table to the result of those geoprocesses. However,...
9
votes
3answers
9k views

Why is it important to use feature layers in ModelBuilder?

I am trying to understand creation of a geoprocess with ModelBuilder, but I don't know why it's important to use feature layers instead of feature classes when creating a geoprocess with ModelBuilder. ...
9
votes
1answer
4k views

Generating multivalue choice list in ArcGIS using Tool Validation without using Frequency?

I'm trying to adapt a model and script combination found on ESRI's blog site titled 'Generating a multivalue choice list'. However, I've concluded that part of the validation used in the embedded ...
9
votes
1answer
4k views

Passing variable from ArcPy script to ModelBuilder?

I have a model that passes a variable to a python script. The script uses that variable to query some directories and return a list of paths. What I want to know is: How can I then use each of those ...
9
votes
3answers
1k views

Why ModelBuilder cannot see Summary Statistics field?

I'm having some problems adapting a few models inherited by me from a colleague. Inside this model, we attempt to calculate Summary Statistics, but the model can't find the field that it needs to use....
9
votes
1answer
339 views

Why does a z factor of 1 get turned into 0.999998 in my output

Just built a model that uses 3D Analyst - Surface Volume. I am trying to use a z factor of 1. Whenever I run the model my output table shows that a Z factor of 0.999998 was used instead of 1. I ...
9
votes
0answers
135 views

Iterating a model to create 3 buffers around three points and find their intersection (trilateration) in arcgis 10 [duplicate]

This past summer I recorded the location of a large number of plants I was working with by calculating the distance from each plant to each of 3 tripods for which I have GPS coordinates. I'm trying to ...
8
votes
5answers
2k views

How to split points by polygon using ArcGIS Desktop?

I am looking for a way to split points by a county polygon feature class. The attached image shows two feature classes: one composed of points and the other a county polygon feature class. The split ...
8
votes
4answers
10k views

Setting single output location for multiple files in ModelBuilder?

I have created a model in ModelBuilder. The first step is for the user to specify the location of the File Geodatabase that all the outputs will be saved in. What I want is for all the outputs (from ...
8
votes
2answers
3k views

Batch Convert Folder of Shapefiles to KML / KMZ

I am looking to convert a folder with multiple shapefiles (over 100) to KML/KMZ files. I am sure I can build a model in ArcGIS to do this conversion but I am unsure on the iteration I should use. I ...
8
votes
1answer
1k views

Using wildcard to Append multiple feature classes in ModelBuilder?

I have a folder of shapefiles and each one starts with a code. There are multiple shapefiles that start with each code, and I would like to create a model in ModelBuilder that will select the ...
8
votes
2answers
7k views

Calculating XY coordinates in Decimal Degrees from projected dataset in model or script?

Is it possible to calculate points XY coordinates in Decimal Degrees in model or script when a feature class is in projected coordinate system? It's easy when a FC is in geographic coordinate system: ...
8
votes
1answer
2k views

nested iterator, 2 iterations in one model, collect values, cell statistics, batch processing dialogue box

(ArcGIS10, SP2, ArcInfo) This is my model, and it works perfectly, but... I do have a large amount of data to process. The interim output files (from raster calculator, collect value) would reach ...
8
votes
2answers
555 views

How to identify a FRONT LAND?

I work at a town hall. I need to identify the front of the land. Here in my country we call it of "TESTADA" or "FRENTE DE LOTE". I did not find the exact term in English. THE FRONT OF A LAND is a ...
7
votes
6answers
18k views

Search if field exists in feature class

I have a few dozen feature classes, one of which contains the field I am looking for. They are stored in several different file geodatabases. Is there a quick way of searching each feature class to ...
7
votes
5answers
22k views

How to get all field names from table using arcpy.ListFields?

I have a table: , Script at ModelBuilder's "calculate values": Expression: a("%path%") Code BLOCK: def a(path): fields = arcpy.ListFields(path,"FID_*") for field in fields: return field....
7
votes
3answers
17k views

Removing spatially duplicate features using ModelBuilder?

I am creating a model to remove features which are duplicated within a polygon feature class. Most of the features are duplicated once, but about a quarter have up to three or four exact copies. I do ...
7
votes
2answers
11k views

Batch Clip in ModelBuilder of ArcGIS for Desktop?

I have multiple rasters and feature classes that I want to clip to a study area. I am pretty new to ModelBuilder. I know you can right click the clip tool to batch clip outside of ModelBuilder but ...
7
votes
2answers
699 views

Collapsing folder structure into single folder using ArcGIS ModelBuilder?

I have a single folder, let's call it Folder1, which contains multiple folders; FolderA, FolderB, FolderC.....FolderZ. Folders A-Z each contain multiple file geodatabases. Folders A-Z do not contain ...
7
votes
1answer
4k views

Clearing in_memory workspace within ModelBuilder?

I have been using in_memory workspace within ArcGIS 10.1 ModelBuilder as part of a workflow to mosaic and clip raster datasets to study area bounds (Figure 1). The model runs fine the first round but ...
7
votes
1answer
683 views

Do ModelBuilder or Geoprocessing tasks run slower if screen locked?

Is it true if you are running ModelBuilder or a geoprocessing task on a large raster\vector dataset then locking the computer would that cause the ModelBuilder or any geoprocessing to run slower? Is ...
7
votes
4answers
612 views

Do you use a proven workflow to edit and document ArcGIS ModelBuilder models?

Do you have any reference to best practice examples , or can you share your expertise on how to keep track of edits to ModelBuilder models , track changes between model/tool versions and maintain ...
7
votes
3answers
1k views

Are there any simple models for wildfire hazard mapping with ArcGIS ModelBuilder?

I am interested in producing a simple fire hazard/severity map via ModelBuilder from commonly available datasets (e.g. DEM, NDVI, slope, aspect, land use/cover, etc). Are there any resources or ...
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, ...
7
votes
1answer
2k views

Summing Attributes from a Related Table?

I have a line feature class representing road segments, with each road segment having a unique ID. This feature class has an attribute of average observed daily traffic counts. I have another table ...
7
votes
1answer
1k views

Waiting for Python script tool to complete in ModelBuilder?

I have an Arcgis (10) model which has 2 process that need to be run sequentially. The 1st process is a python script that creates multiple rasters, but that output is not known to ModelBuilder, ...
7
votes
2answers
2k views

Modelbuilder Workspaces: Defaults to a folder, would like it to be a geodatabase

I'm having an issue with modelbuilder workspaces. I have created a simple model to clip a raster, run focal statistics on it, and create contours. I have a workspace variable as an input. If I run the ...
7
votes
1answer
756 views

Can I automate the transfer of symbology information of a raster to a polygon feature?

I have a raster dataset that is symbolized using Natural Breaks (Jenks) classification (9 classes). To reduce file size for web service display and download, I used the Reclassify tool to remap pixel ...
7
votes
1answer
2k views

How to use %value% (from For iterator) in SQL expression of Calculate Field in ModelBuilder?

I have a shapefile with data of fish specimens and the coordinates where they were tagged for research purposes. One of the fields in the attribute table of these shapefiles is the fish length in ...
7
votes
1answer
101 views

How to toggle 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 ...
6
votes
1answer
7k views

How to use ET GeoWizard tools or Xtools Pro in ModelBuilder or Python to automate processing?

Is it possible to use ET GeoWizard or XTools Pro tools in automation of mapping in either in ModelBuilder or Python?
6
votes
3answers
5k views

Which is more efficient process in ModelBuilder - Merge/Dissolve or Union/Dissolve?

I'm creating a model which combines four very large files and dissolves them. At the moment, my workflow uses the Merge tool and then the Dissolve tool. However, I was wondering if using the Union ...
6
votes
3answers
8k views

Extracting certain fields for selected feature from point shapefile file with multiple features using ModelBuilder?

I have a point shapefile that is filled with many features. If I have 1 feature selected I need to be able to export certain fields of that selected feature (ID, lat, long) into a dbf file. What ...
6
votes
1answer
115 views

Is there maximum number of .DBFs that can be joined using ModelBuilder?

Is there a maximum number of .DBFs that can be joined using the Join Tool in ModelBuilder? I tried joining 480 .DBFs but results generated only 250 fields in the input table. Is this a glitch? I am ...
6
votes
1answer
2k views

Creating generic tool with ModelBuilder in ArcGIS Desktop?

We are working on the creation of a tool with ModelBuilder in ArcGIS Desktop 10.1. We want to build a generic tool that can be launched from any computer. In order to do so, we have set the input ...
6
votes
2answers
644 views

Import ArcInfo licence when required by tool in ModelBuilder?

Is it possible to check licences in/out as needed within modelbuilder? or will the following work -write a script to turn arcinfo licence on when the tool requires it and off once it's done? I need ...
6
votes
2answers
3k views

Performing in-line variable substitution for path in ArcGIS ModelBuilder?

I am having difficulties in finding a way to use the input path and set is as the output path for a simple Copy Features tool. I use the substitution by the workspace but it outputs the results into ...