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)

3
votes
2answers
5k 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
6k 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 ...
4
votes
2answers
374 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
2answers
4k 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 ...
10
votes
1answer
1k 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 ...
11
votes
2answers
918 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 ...
5
votes
2answers
2k views

Using ArcGIS 10 ModelBuilder to perform In-line variable substitution for input data path?

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 ...
0
votes
2answers
279 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 ...
2
votes
1answer
324 views

How to separate raster bands in model builder?

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 ...
7
votes
3answers
2k 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. ...
4
votes
4answers
4k 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 ...
4
votes
1answer
633 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 ...
6
votes
3answers
200 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 ...
4
votes
2answers
563 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 ...
4
votes
2answers
682 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 ...
2
votes
2answers
1k 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
2answers
264 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
118 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 ...
1
vote
2answers
143 views

Model not editable on a different PC

I am using ArcGIS 10.1 model builder on windows 8 to create create models for my processes. But when I open the model using Arc GIS 10.1 open model for editing with Arc GIS 10.1 running on Windows 7 ...
1
vote
4answers
953 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 ...
45
votes
6answers
3k 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 ...
5
votes
1answer
2k views

Create a definition query for groups of layers: Is it possible?

I have a large number of groups created, with each group having many layers. I have looked for a way to set a definition query for all the layers in each group but haven't found anything. Is it even ...
4
votes
1answer
195 views

How to combine more iterations of a for loop to bands of a single raster?

My model consists of a for loop, where the original raster is hillshaded from different angles. I want to combine the resulting images to a single multiband image. What I already tried was to put the ...
4
votes
0answers
559 views

Stop an arcgis model until all values are collected and then continue

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? ...
9
votes
2answers
238 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. ...
9
votes
1answer
468 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 ...
8
votes
4answers
867 views

How to split points by polygon?

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 ...
4
votes
6answers
1k 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 ...
2
votes
0answers
943 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
1answer
207 views

How to use 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 ...
7
votes
2answers
141 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 ...
6
votes
1answer
317 views

ModelBuilder: How to extract data by date, export to separate tables and interpolate tables to rasters

I've been using ArcGIS for a couple years, but when it comes to model builder I've only worked with very simple models. I'm hoping someone that is much smarter than myself can help me in building a ...
6
votes
2answers
3k views

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

ArcGIS median value from a layer

I've been hunting around ArcGIS 9.3 and having no success at finding a tool/function that can give me the median (not the mean/avg) tabular value of a spatial database. For example, if I have a data ...
5
votes
1answer
1k views

Working around the raster calculator in ModelBuilder - ArcGIS

I am experiencing a problem with the raster calculator in the Model Builder under ArcMap 10. I need to combine two layers: a drainage map (issued from a series of previous operations on a DEM) and a ...
4
votes
2answers
343 views

Automating a Python expression to calculate acres

I'm not new to GIS but very, very new to using Python and using scripts. I successfully use a Python expression !shape.area@acres! to update a field with acres in a feature class. What my users ...
4
votes
1answer
1k views

If statement in ModelBuilder to check if field exists

I'm trying to create the following in ModelBuilder: Set input feature class if field1 exists execute the processes in branch1 else add field1 execute the processes in branch2 ...
2
votes
0answers
166 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
1answer
1k views

Model Builder - How to calculate Field using part of filename

I am new to model builder and have not been able to figure how to use part of the FC name: For example the first FC in my GDB containing around 100 files is "A1005_GPS_Residence", and I need to ...
2
votes
1answer
189 views

arcpy Tool works in debug mode but not in normal model

When I try to run the following simple script from arcmap it fails but when run using right--click debug and then F9 (debug) in python scripter it works fine. I don't understand why??? # Modified ...
1
vote
3answers
38 views

Add value in Attributestable without reducing the attributetable

I am working with the modelbuilder to create a model which can be used by people who do not have a lot of experience with ArcMap. I have a Shapefile with a huge attributetable. I created a new column ...
1
vote
1answer
1k views

Join Fields from Multiple Tables to One Table in Modelbuilder

I have 40 tables with about 2000 row with a shared ID that I want to merge into 1 table with 2000 rows. I only want to retain a distance field calculated within each table. The distance field is ...
1
vote
1answer
2k views

ArcGIS Iterate Files tool in Model Builder

I want to use a "simple" iterator to process all the text files in a directory using my model but model builder won't let me connect the file to the first step of the model. Once I run the Iterate ...
1
vote
0answers
465 views

Large point to Polygon by buffer-join-buffer-dissolve issues

I have a few large datasets (about 10 million points) which I am buffering, then joining, dowgrading and finally buffering and dissolving. This is all in a model which works fine with sample smaller ...
1
vote
2answers
237 views

Buffer point dataset based on compared value

I am creating polygons from the dissolved buffers of points and need to control the dissolve process. In the model the first stage is to assign high/med/blackspot using the following f2='ERROR' def ...
0
votes
1answer
63 views

QGIS Model Builder Script - Possible to merge layers in a folder?

I would like the user to select a folder via the interface in which all the vector shapefiles inside that folder would be merged. I have been using the Model Builder and looking at example scripts ...
6
votes
1answer
1k 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 ...
3
votes
1answer
112 views

How to use Collect Values and Tabulate Areas in ModelBuilder?

I have problems with the Tabulate Area tool. The polygons in my shapefile overlap and because of this ArcMap does not calculate proper values. I try to solve this using ModelBuilder where it is ...
3
votes
1answer
112 views

What factors would cause a Model to work on one PC but not on another PC (same ArcGIS v 10.1) (ModelBuilder)

Do you have specific expertise you could share of examples where an ArcGIS Modelbuilder has worked on one PC but not on another? Are there any issues between different Windows versions? There is a ...