An application of ArcGIS for Desktop that is used to create, edit and manage models within its Geoprocessing Framework

learn more… | top users | synonyms (1)

5
votes
2answers
1k 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, ...
3
votes
2answers
13k views

How to Extract 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 ...
5
votes
3answers
12k views

Remove 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 ...
8
votes
2answers
7k 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 ...
13
votes
5answers
1k 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
2answers
4k views

How to find differences between shapefiles?

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 ...
2
votes
3answers
1k views

How to Iterate through Bands of Raster using ArcGIS 10.1 ModelBuilder?

I have a large number of rasters with 3 bands (R,G,B). What I want to do is add all 3 bands of each raster together to end up with a single band image with the summed R,G,B values in each pixel but ...
8
votes
6answers
8k views

How to move / offset point locations using ModelBuilder or ArcPy

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 ...
8
votes
3answers
5k 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. ...
6
votes
2answers
4k 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 ...
5
votes
2answers
3k views

Using ArcGIS ModelBuilder to perform In-line variable substitution for input data path? [duplicate]

Does anyone know how/if you can use in-line variable substitution for an input path name in ModelBuilder for ArcGIS 10? I used "get field value" to retrieve a code from one feature class, and I ...
4
votes
1answer
403 views

Using Collect Values Tool with Union in ModelBuilder?

I would like to feed a list of feature classes (only one polygon per feature class, but up to 150 feature classes) into the Union tool in ModelBuilder by using a Feature Class Iterator and the Collect ...
3
votes
1answer
4k views

Using count points in polygon tool in ModelBuilder?

I have two layers: one point and one polygon grid layer. Trying to count the number of points in each grid polygon and have it become an attribute in the polygon layer. Currently using ArcGIS 10 with ...
2
votes
0answers
365 views

Problem loading output layer QGIS

Every time I run operations with temporary file output from the graphical modeler, I get the following error message: Oooops! The following output layers could not be open CLIP: ...
2
votes
3answers
3k views

Using Feature Class “Name” from Iterate Feature Classes to Calculate Field with ModelBuilder?

I am using ArcGIS 10.1 for Desktop. My goal is to create shapefile that contains merged feature classes from a geodatabase. I would like for there to be a new field in the resulting shapefile that ...
2
votes
2answers
4k views

Using Value from Iterate Feature Selection to Calculate Field in ArcMap 10.1 ModelBuilder

I have two polygon feature classes, an alignment layer and a parcels layer. I am trying to use ModelBuilder to create a tool that will do the follow: iterate through groups in a single field of a ...
2
votes
1answer
2k views

Iterating through columns in table using ModelBuilder?

I am unable to find any info on how to use ModelBuilder to run a certain spatial analysis function on each column in a table. I have a table to sample locations and at each location there are a ...
2
votes
1answer
749 views

How to separate raster bands in ModelBuilder?

I have a simple model that iterates through folders to collect imagery, mosaics them and clips the mosaic to a study area boundary. I need to produce an NDVI from the clipped 4-band mosaic ...
1
vote
3answers
2k views

Create an X,Y latitude and longitude grid from an raster

I have a satellite image (LandSat 5), I want create a raster with X,Y coordinates, this is possible in Model Builder of ArcGis 10.0? or other option. I know that the option $$YMAP ($$XMAP) not work ...
1
vote
4answers
2k views

Do the Data Interoperability Tools need a Special Licence?

I am tring to add a function quick export from Data Interoperability Tools to a Model Builder in ArcGIS10.0 but I have an error called Error 000816: the tool is not valid. That is because I need a ...
-1
votes
1answer
115 views

Executing ModelBuilder using C# classes?

How can I execute ModelBuilder in ArcMap 10.1 using .NET 2013 C# classes?
6
votes
4answers
10k 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 ...
5
votes
1answer
1k views

Stop ArcGIS model until all values are collected and then merge?

This is similar to Modelbuilder - If precondition is false, continue iterating next input but I want the iterate tool to run to collect all the values and only then continue to the merge. Any ideas? ...
4
votes
1answer
991 views

How to prevent running part of a model when iterator is used?

My process is to run Buffer on two feature layers, intersect the buffers and then Clip intersected buffers with polygon object from Iterate Feature Selection iterator. Here's my model: The model runs ...
4
votes
1answer
867 views

Raster Calculator dynamic map algebra expression

Is it possible to dynamically construct a Map Algebra expression that is dependent on the output of another tool, either using model builder or arcpy? For example, say I have a model that performs a ...
4
votes
2answers
865 views

How to automatically email interim results from model builder?

I want to get model builder to email me the results of processes at certain stages so that if there are issues I can remotely login and deal with them as I do with python scripts. I have a python ...
3
votes
2answers
1k views

Specifying pixel depth in ModelBuilder?

I have a simple model that calculates the NDVI from bands 3 and 4 of a raster dataset. The input bands are 8-bit unsigned, whereas the default output NDVI is signed 32 bit. How can I specify the ...
2
votes
1answer
469 views

Relative paths not working in model builder

I checked "Store relative path names" in my model, but ArcGIS seems to ignore the settings - the paths are always the same as on my computer. Plus, the "Store relative path names" unchecks ...
2
votes
0answers
2k views

Why am I getting an ERROR 000728: Field *fieldname* does not exist within table even though field exists?

I do some script for a shapefile's table. And this script works for 2 fields and do not for other ones, because of: ERROR 000728: Field FID_158_01 does not exist within table But this field is ...
7
votes
4answers
436 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 ...
5
votes
2answers
2k views

ArcGIS modelbuilder: Iterate through Excel sheets?

I am trying to use modelbuilder (ArcGIS 10.1) to add XY data to ArcGIS, then export the events as Feature Classes. The data comes in one xlsx document with a large number of sheets, each with an X and ...
5
votes
2answers
1k views

Compound variables in Model Builder?

I'm trying to create a model wherein one of the parameters is a compound variable, that is made of multiple variables joined together. How can this be done? For example: create an insider buffer ...
3
votes
1answer
593 views

Area precipitation using IDW

I'm having the following problem with IDW automation. I have a catchment and several gauging stations measuring daily precipitation amounts. I would like to interpolate the precipitation amounts from ...
2
votes
1answer
1k views

How do I use 'model builder' in QGIS 2.2?

I am trying to learn how to use the 'model builder' in QGIS 2.2. I have used model builder in ArcGIS, but I don't understand how to do it in QGIS 2.2? What I want to do is to make buffers, clip ...
2
votes
2answers
1k views

How to create a folder in HOME Folder with ModelBuilder in ArcGis 10?

I am just getting started with ModelBuilder and I would like to create a folder in the same folder where the respective mxd is located. The tool have to be usable in different projects, so setting ...
0
votes
1answer
74 views

Model with Iterate selected feature not working. What's my mistake?

I have a Shapefile with point features representing pour points. I need to delineate their watersheds individually, because many of them overlap. I'm using the following model to select a point from ...
6
votes
1answer
3k views

Passing a variable from a 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 ...
4
votes
1answer
364 views

Can ArcGIS ModelBuilder be exported to Python and run in QGIS?

Is it possible to construct a geoalgorithm on the ArcMap modelbuilder, export this entire algorithm to python syntax (without having ANY knowledge of python) and then import this algorithm to QGIS and ...
4
votes
2answers
1k views

Arcpy remove invalid character

I've built a model that takes the name of the Excel worksheet containing xy data, and uses that name as the name of the output shapefile. ( Worksheet "massachusetts_sightings" in an xlsx becomes ...
3
votes
2answers
463 views

Calculating Z-scores using ModelBuilder in ArcGIS Desktop?

I am trying to take the natural log and then calculate z-scores on cell values in several composite band GRID rasters in ArcGIS Desktop. I am not fluent in Python and do not see a way to automate ...
3
votes
2answers
951 views

Create line from two points, two different feature class

I'm attempting to automate this in ModelBuilder in ArcMap. I have one feature class with one point (Start) and one feature class with multiple points (Destinations). I want to iterate through the ...
3
votes
1answer
5k views

Why can't I use a Join in a model?

I'm trying to build a model using Model Builder in ArcGIS 10.1 that starts off by joining two shapefiles together based on a common field. I would like to make this open ended (not hardcoded) so I can ...
3
votes
1answer
1k views

Using ArcGIS ModelBuilder with a “While” Iterator

I am struggling to get the ArcGIS ModelBuilder "While" Iterator to work as I would expect it. I have a hunch it's user error, but even reading the help hasn't seemed to get it working for me. I have ...
2
votes
1answer
335 views

Is it possible to open ModelBuilder SCREEN from .NET base command class?

I simply want to open the custom model's SCREEN (ModelBuilder) from .NET.
1
vote
1answer
73 views

Writing Python script tool to enable ModelBuilder to skip over rasters without data?

This modelbuilder works well until the raster to polygon step. At that step, rasters without features cause an error(error 010151). I would like to put in a step before raster to polygon that causes ...
1
vote
2answers
460 views

How to SWITCH_SELECTION after Select Layer By Location in ModelBuilder?

I have to use Geoprocessing tools in ModelBuilder. My requirement is compare features in a Source personal geodatabase with those in a Target personal geodatabase and if the target personal ...
1
vote
1answer
365 views

Using only part of inline variable substitution string in ModelBuilder?

I am using an inline variable substiution to alter a field name. I do this within an iteration model in model builder. The inline variable is the name of the feature class which I use as my input for ...
1
vote
0answers
158 views

Does ModelBuilder have Iterate Field Values bug when model run without being in Edit mode?

I think I may have found a ModelBuilder bug. Would it be possible for someone to try and follow my procedure to see if they agree, and if so, to try and suggest a workaround that still uses ...
1
vote
1answer
119 views

Multivalue processing in the context of the modelbuilder

I am new to python so please bear with me. I have the following script that is supposed to get a multivalue parameter of several shapefiles as an input and then run the unionanalysis on all these ...