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)

4
votes
3answers
185 views

Store “template” mxds inside model

Since the ability to store mxds inside a file gdb is still just an idea, I've been mulling over my options for using a "template" mxd within a model. My model uses 4 different mxds, but currently it ...
2
votes
1answer
221 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
0answers
241 views

tools from Geospatial Modelling Environment in ArcMap model [closed]

How to extract raster DEM elevations to vector attribute tables in ArcGIS 10? Can GME tools be used in model for publishing a tool on web? I want to use it in integration with other tools in ArcMap. ...
3
votes
2answers
281 views

Iterate Workspaces in Modelbuilder not executing all tools

I have a folder which contains a number of file gdbs. These gdbs all have the same structure i.e. a feature dataset FD_1 and several feature classes within the dataset (the two I am interested in are ...
1
vote
1answer
168 views

Symbology for specific values

I want to apply a symbology scheme for the final layer of my model. Rules are - All negative - Symbol A 0 - Symbol B All positive symbol C unknown - symbol D I am not sure how I can define these ...
0
votes
1answer
760 views

Is there a Select Feature by Attribute tool for Feature Classes when performing selection ModelBuilder?

I want to perform a Select by Attribute selection on a Feature Class in ModelBuilder, but I know the Select by Attribute tool does not work in this situation. I need to perform this function as I ...
2
votes
1answer
98 views

How to Improve a Distance Model

I am working on a distance model that creates distance rings around a given point and assigns those rings a probability. The point is in the center of a 25 x 25 km area, and the model fails to assign ...
1
vote
0answers
436 views

Deleting Features In ModelBuilder ArcGIS 9.3

In ModelBuilder, I have a work flow (data is stored in a File Geodatabase) that currently concludes with the use of the Append tool. I am looking to delete a features, as the last function of the ...
2
votes
0answers
63 views

How do I make a path cross the most possible classes in a raster?

I want to create a function and possibly use Arcmap tools to create something similar to Cost Path. Instead of just choosing the LCP, it must cross through the most different integers. Let's say I ...
1
vote
1answer
2k views

Setting a query loop

I am looking to apply a Select By Location protocol to my data, but need to first query individual IDs in my target and source layer (the same ID in each table, one at a time). How do I loop through a ...
0
votes
1answer
1k views

Select by Location tool

I am using the Select by Location tool to select certain polygons on my shape-file layer. I start by having a given point as my Selecting Feature and that its relationship is completely_ contains. ...
4
votes
2answers
1k views

Merge an entire Geodatabase in ESRI ModelBuilder

How can I merge an entire Geodatabase in the ESRI (ArcView) ModelBuilder? I have several FeatureClasses created into the GDB and in the model I plan to merge them all. Right now I have imported all ...
0
votes
1answer
254 views

how to integrate external image processing programs within ModelBuilder

I want to use python libraries to do image processing for very large files (over 2GB), but the current python libraries can not read 16 or 32 bit image correctly. At least, I tried Python Image ...
2
votes
1answer
90 views

Clipping from a given point

I am working with model-builder and I am trying to clip an area around a certain point. Is there a tool that I can use in which I can assign it a certain distance from the point. For instance, if I ...
1
vote
1answer
3k views

Feature Class to Geodatabase (multiple) in ModelBuilder => ERROR 000210: Cannot create output

I used modelbuilder, and the last step is to collect feature classes after iteration results to geodatabase using conversion tools of feature class to geodatabase(multiple). However, I met an error: ...
2
votes
2answers
2k views

How to split single shapefile into many, and use them as geoprocessing extents in ModelBuilder

I am trying to do the following things using ArcGIS model builder. select by expression to output feature class. use output feature class as spatial extent raster to point The main goal is to ...
3
votes
2answers
2k views

Python in ArcGIS: How to use a variable as part of the output path

I´m trying to use a variable as part of the output path of a shutil command. Unfortunately I couldn´t work it out how to do it. Can anybody help? import arcpy import shutil Name = ...
1
vote
0answers
188 views

Set feature class based on IF statement in Modelbuilder

My model selects a feature class within a user specified file geodatabase, based on the output of an IF statement which checks the user specified string value e.g. If the user specifies a file gdb ...
4
votes
1answer
956 views

Pass a variable from Modelbuilder into a Python script

I'm new to modelbuilder and python. I have used modelbuilder to iterate through all rows in a shapefile (Points), process them, and produce a seperate output shapefile for each row. The filename is ...
1
vote
1answer
434 views

Appending in Modelbuilder to a derived dataset

I have a simple model with a file gdb model parameter InputGDB, which contains a feature class fc1. Inside the model is a preset output folder and a template (empty) file gdb TemplateGDB, which ...
0
votes
1answer
1k views

use a variable as a fixed input value for buffer in ARCgis 10.0

I need one help. i am using arcgis 10. I actually want to show to create a buffer of a single point. But, the radius of that buffer depends on a simple formula (say Radius = a*b*c) instead of entering ...
7
votes
2answers
4k 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: ...
5
votes
2answers
263 views

Numbering Watersheds

I am working with a watershed map, and I was wondering if there is a function or a way that I can get ArcMap to number the watersheds. For instance, if we have watershed X numbered as 0, I want the ...
2
votes
1answer
264 views

Creating a model to run a complex query

I'm just a rookie when it comes to creating models in ArcGIS. I have two shapefiles from which I need to calculate an AVG and a MAX erosion rate for individual properties. The two shapefiles are: ...
1
vote
1answer
718 views

Replace data source of layer in ModelBuilder

After reading through the documentation about MapDocument and Layer classes, I have been trying to use the replaceDataSource method in ModelBuilder to replace the data sources of certain layers within ...
4
votes
1answer
2k 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
178 views

Submodel not executing within main model

My main model contains the following: Workspace variable Input GDB Feature class Input Feature Class SubModel 1 that produces OUTPUT feature class Parse Path is used to obtain the name from the ...
3
votes
2answers
2k views

How can I convert lots of ASCII files (.xyz format) into shapefiles by iterator in the Modelbuilder of Arcgis 10?

I have a plethora of xyz format files and I want to convert them into shapefiles separately and it is really time-consuming to do this conversion one by one. I tried to create a model in ...
1
vote
1answer
413 views

Sort feature class in Modelbuilder and populate new ids

I would like to sort my feature class in a model based on coordinates stored in its attribute table. The sorting must be done on Y_coord descending, then X_coord ascending. The answer to How to sort a ...
3
votes
3answers
2k views

Use 'if' statement in ModelBuilder to stop model

I would like to use an if-else statement in my model (along the lines of this Esri blog). My model works fine (several intersects, dissolves, calculating fields, joins). However, I would like to add a ...
2
votes
1answer
972 views

Equivalent of Simple Data Loader in Modelbuilder

I have a model which processes a user specified polygon feature class InputFC, with the final result a dissolved (based on a user specified dissolve field D_FIELD) polygon feature class OutputFC. The ...
4
votes
1answer
2k views

Map Algebra expression in a model fails on open workspace

I have model which runs 2 processes that create rasters and a third process that (attempts to) add the two of them using Map Algebra. The expression is very simple, just "%Raster_A%" + "%Raster_B%". ...
5
votes
3answers
9k 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
4answers
7k 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
944 views

ArcGIS ModelBuilder: how to wait for Python script to complete

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 Model Builder, ...
2
votes
2answers
419 views

Is it possible to use commands from ArcMap's main menu in Model Builder

Is it possible to use the functions from ArcMap's main menu (for example Add Data, Start Editing) in my model? I can not find a way to add any other functions except Toolboxes.
7
votes
2answers
5k 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 ...
1
vote
3answers
671 views

Is there an export feature to shapefile with send to FTP model out there?

Is there a model already built for this simple process? Can ModelBuilder do this? Export feature to shapefile Delete fields Rename shapefile Post to FTP site Run this process every Friday It would ...
11
votes
2answers
1k 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 ...
1
vote
2answers
506 views

Batch model stores incorrect model parameter values

I am trying to batch process about ten files using a model I created. There are five model parameters, which I can fill in for the first feature class without a problem. However, when I try to fill in ...
2
votes
2answers
2k views

Multiple input tables for Add Field in ModelBuilder

My model requires field1 to be added to fc1 and fc2, and then calculated according to a Python expression calc1. field2 is then added to fc2, and calculated using calc1. How do I add the multiple ...
3
votes
2answers
2k views

Use output of Add Field as input for Calculate Field in ModelBuilder

I have created a simple model in ArcGIS 10 which, after some initial processing of a feature class, outputs outputfc and adds a field to it. Regardless of the feature class input (which the user ...
1
vote
2answers
999 views

Import and Plot MS Excel file in ArcGIS (v9.3) ModelBuilder

I am trying to create a tool using ArcGIS ModelBuilder (v9.3) that will allow me to import an Excel file, and output it as a shapefile in a coordinate system of my choice - or, if choosing the CRS is ...
3
votes
2answers
676 views

Adding VBA into a Python script generated by ModelBuilder

I have created a model that does a calculate field and have used VBA in the code block. But when I export it to Python, it doesn't work. Here is the VBA code: new_value = ...
3
votes
1answer
590 views

Selecting multiple variables by Attribute from different target layers

I have a model with species point data as a source layer and a number of different shapefiles as target layers. To start I run a search by location tool to determine where the source and target layers ...
2
votes
2answers
1k views

Modelbuilder: Needing to input multiple featureclasses into merge tool

So I have 490 point fc's in a single directory with uniform spatial features, field names/datatypes. I'm trying to figure out how to consecutively input the first seven fc's into the merge tool, ...
5
votes
1answer
1k 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? ...
2
votes
3answers
517 views

model builder iteration

I am trying to develop a model in modelbuilder that will allow for a number of polygon shapefiles to be paired with each other. Say a group of 3 shapefiles (1,2,3) located in the same folder would be ...
-1
votes
4answers
839 views

Choosing all fields to make SUM for each field [closed]

In my personal geodatabase there are two layers:- one of them is small -- about 13 records/features. The other is about 118 records/features. The relation class between the two layers is one to many ...
0
votes
1answer
122 views

Issue with branching model

I am having an issue with a branching model when the iteration tool is used. The test code/scripts/models are in Google docs or arcgis forums It runs and creates both versions of the process whereas ...