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)

0
votes
1answer
12 views

Export as Python script from ModelBuilder never completes?

The script below was exported from ModelBuilder and runs within ModelBuilder in about 7.5 seconds. However when I export it and try to run it as a standalone script in either PyScripter or the ...
1
vote
1answer
30 views

How to Use Feature Class to Feature Class After Multiple Fields Added in ModelBuilder?

I have created a model that towards the end of the model adds two new fields. I want to use Feature Class to Feature Class after the fields have been added and calculated, this way I can take ...
0
votes
0answers
8 views

Need to develop a model for measuring inter-annual and seasonal variability in pasture cover using modis 16 day composites

Aiming to use statistical methods in ArcGis and Envi image analysis to measure inter-annual and seasonal variability in paster cover using MODIS 16 day composite image from 2000-2014. Quite stuck on ...
0
votes
1answer
25 views

UnboundLocalError: local variable referenced before assignment wthin model builder iterator in ArcGIS

Within an iterator in Model Builder in ArcGIS I am trying to calculate a field value based on the inline variable substitution. In the picture I have renamed the tools with the corresponding inline ...
0
votes
1answer
30 views

ArcMap ModelBuilder: problem with %name% variable when used in iteration for projection

I have prepared a model which should project all shape files ( currently in MUTM 81) in a folder to MUTM 84. But when I use “%Name%” in output dataset for geodatabase as “D:\Soil ...
1
vote
1answer
27 views

Split field name of feature class in ArcGIS

Is it possible to split a field name within an attribute table of a feature class into two new fields where just the field name is being split. Please note that I do not need to split the features ...
1
vote
1answer
30 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 ...
0
votes
2answers
36 views

Nested Iterators

I have two polylines (say two paths/roads/etc. for example) that I want to iterate against another set of iterated polylines (ie. geologic fault lines). I want the first iterator to take Path #1 ...
0
votes
1answer
31 views

String parameter not passing correctly to GP service

I have a model where the user selects a string from a drop down list which is used to select a building point and run a series of trace operations. This works fine on desktop, but keeps returning the ...
1
vote
0answers
21 views

Using .lyr symbology in ModelBuilder?

I'm trying to set the symbology of a raster output in ModelBuilder of ArcGIS 10.1. I've followed the guidelines by creating the .lyr file and the adding it to the Layer Symbology tab of the Output ...
1
vote
2answers
32 views

Inline variable substitution in Model Builder using python code

I have an inline variable substiution which I would like to import into my Python script. Is that possible? I am trying to make a parameter within my path. My path currently is ...
0
votes
0answers
17 views

Connecting multiple Collect Value outputs to Cell Statistics + ModelBuilder ArcGIS10.1

I have developed a model that collects values through a number of integrated sub-models. I was hoping to use Cell Statistics to run an analysis on the results from each of the sub-models. It will work ...
1
vote
0answers
32 views

How to 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. And finally, I got extracted raster with spatial reference. can i assume ...
0
votes
1answer
46 views

Passing ModelBuilder parameter to update cursor gives ERROR 999999?

I have two point layers. I trust the geometry (read: x and y coordinates) from one of them, but not the attributes data. I trust the attribute data but not the geometry from the other one (the ...
1
vote
1answer
50 views

Raster Iteration in Model Builder - Allowing a user to select the raster inputs

I have a basic model that uses Raster Iteration to process all of the rasters in a .gdb. The model allows the user to define a weighting in the GUI and then the model runs a raster calculation on each ...
2
votes
1answer
31 views

Problem with creating a model in Qgis — select by location

I have two shapefiles (polygones) - referentiebestand and oudejaren -> the first step is to calculate the centroids of each shapefile (gives a good result), then a create a buffer around one of this ...
1
vote
1answer
29 views

Using ModelBuilder and iteration to calculate values from previous row?

I would like to come up with a model that takes the previous value and adds it to the current value. For instance Value 3, 2, 3, 1 Would result in -, 5, 5, 4 I have been trying to use Iterate ...
0
votes
1answer
46 views

SyntaxError: can't assign to function call, arcpy set parameter as text

I have a python script loaded into arcgis ModelBuilder, and when I run the model I keep getting an error when the script tries to run, at the line where I am setting the output as a text parameter. ...
1
vote
1answer
38 views

How to extract multiple values out of a table in ModelBuilder

Here's my problem- I run the OLS (Ordinary Least Squares) tool in my model and output a coefficient table. Now I need to use the slope and intercept values in the coefficient table in a Raster ...
0
votes
2answers
73 views

Populate cross street name at intersections

Just a follow up of an older post seen here: Python script/Model to populate cross street names at intersections I need to create a shapefile of Road segments with a "To_Road/s" and "From_Road/s" as ...
0
votes
0answers
11 views

Field names change when selecting by attribute/location and then copying feature in model builder [duplicate]

I am trying to create a tool to make my workflow faster for a routine job task. Basically, I have a USGS 7.5 min quad layer and a feature (species) layer, and I want to ultimately create a shapefile ...
1
vote
0answers
28 views

Collect Values + Model Builder ArcGIS 10.1

I have a question relating to the use of Collect Values in Model Builder. I've just come across this post (ModelBuilder: How2 pipe output of Iterate Raster tool into Raster Calculator tool?) and ...
0
votes
2answers
35 views

Performing batch Join Field in ModelBuilder?

I have a list of 250 feature classes (X1, X2 X3, ...) which all have an individual field that I want to join to another feature class Y. The join can be established through a common field that are ...
1
vote
2answers
81 views

How to batch process .txt files with X,Y data (in Arc or QGIS)?

I have a long list of .txt files that I need to convert to feature class. I can bring the table into ArcMap, right-click, Display X,Y Data, and it converts to a feature no problem. Is anyone aware ...
0
votes
1answer
43 views

How to fix problem with ModelBuilder batch processing raster output names

I am using ModelBuilder in ArcCatalog 10.3 to automate a large workflow. As part of this process I am running my inputs as a list (batch processing) and using in-line variable substitution so that I ...
0
votes
1answer
24 views

Sum a field, and take that sum and use it to populate an existing field in the same table

I am trying to break down land uses in a watershed by making a tool in ModelBuilder. Right now I am clipping a land use layer by a watershed polygon, dissolving land use layer by land use code, ...
0
votes
1answer
63 views

How to use iterators in ModelBuilder to create new feature?

I am attempting to use ModelBuilder to automate the process of plotting parcels of land that are related to mineral leases. The existing lease feature class contains information related to reference ...
0
votes
1answer
70 views

Pyscripter and arcpy not working together

I have installed pysripter on my machine and am not able to run any arcpy scripts from it despite being able to import arcpy. Models that work in model builder do not transition to pyscripter here is ...
1
vote
1answer
54 views

ArcGIS Network Analysis Find Shortest Route with Large Number of Data

I am trying to find the shortest distance and shortest travel time from one point to another point. However, I have a large number of data (140 000s). I break my data to smaller feature classes of 10 ...
1
vote
0answers
30 views

Calculate Sum on One Field Within Several Different Point Feature Classes?

I have several point feature classes (eg: the location of mall, liquor stores, etc), that I need to get the count of within a specified city district. Basically, I want to great a modelbuilder model ...
2
votes
1answer
43 views

Creating Branching Python Script, Based on Whether Feature Classes Exists or Not?

What I would like to do is create a script that checks the existence of a feature class and, depending whether it does or not does, skip to different process. This would need to be implemented in ...
1
vote
0answers
34 views

ModelBuilder Copy Features tool not updating shape when run as geoprocessing service?

This whole arcgis thing seems very hard for me, so maybe what i'm asking is something very very simple. I have a model that uses the "copy features" tool and writes down a shape file. When i run it ...
2
votes
2answers
120 views

ArcGIS Calculate Value tool - Python syntax error

I have a feature class within a file geodatabase. I am using the "Iterate row selection" iterator in Model Builder to read each row in the FC. I am then using the "Get Field Value" tool to read the ...
1
vote
0answers
49 views

“All the inputs are not current” after Precondition = false in Model Builder

I am using an Iterator to Iterate through a list of Strings for Feature Selection/Aggregation/Count. There is the possibility that no Features are aggregated. In this case, I want the iterator to go ...
0
votes
1answer
70 views

Concatenate Multiple String Fields and Convert to Date field using ArcGIS Field Calculator?

I'm Working in Model builder using the calculate value tool. I have three columns - SignatureDay, SignatureMonth, SignatureYear - All three are string data types and all consist of just numbers for ...
-1
votes
0answers
46 views

Making tool in arcmap by using modelbuilder or python

I am trying to making one tool by using python. For that I already make GUI. In that i have 5 inputs. These 5 inputs are feature layers(shape files). Now I make another option field. It is multiple ...
3
votes
1answer
38 views

ModelBuilder Tool produces different results when using Run Button and running as a tool

I found out that I can run a tool I created in ModelBuilder by clicking the run button after clicking to edit the tool. However, it doesn't produce the same results if I run the tool after clicking on ...
2
votes
2answers
50 views

Buffer Problems While Using Model Builder

I've created a model that is supposed to allow a user to select an area of road and will then highlight the attributes within a user-specified buffer distance from the selected area. This is what I've ...
2
votes
2answers
91 views

Why ArcMap 10.2 crashes when running model?

I`m running a simple model in ArcMap 10.2, which makes my ArcMap crashing (closing and then an error message pops in saying that ArcMap has encountered a serious error, and there is an option to ...
1
vote
0answers
48 views

Creating Automated Upload Script

I have a bit of a complex scenario that I'm unsure how to put together into one model or script file. What I'm doing is creating service definition files then uploading these SD files to a server. ...
1
vote
1answer
39 views

Iterate Through Folders within Folders

I am having some trouble creating a model that will iterate through folders and subfolders. I want to be able to have the top level folder as a parameter and then have the code go through each of the ...
0
votes
1answer
22 views

Changing dialog appearance (labels, etc) of tool made in ModelBuilder?

For this tool I've created, I would like to change how the user would see the things they can choose. This is the tool in ModelBuilder: And this is what the user sees when they click on the tool: ...
1
vote
2answers
50 views

How to intersect two geodatabases in ModelBuilder?

Trying to intersect features from two file geodatabases in model builder. However, the databases can not be connected to the intersect as input features. Second opting - put all features into one ...
1
vote
1answer
27 views

GPServer does not understand %VARIABLE% sintax

I'm creating a model in order to publish it as a geoprocessing service. The model runs successfull in ArcMap but it crashes when I run the published GPService. The model has a parameter called FUSO, ...
0
votes
1answer
48 views

Add field to feature class by location

im trying to write a script that allows me to iterate through my map layers, and for each layer, iterate over each feature and add a field that gives the location of the feature using my index layer ...
1
vote
1answer
56 views

Tool to delete all data from a shapefile

I am looking for a tool that deletes the data in the shapefile, and then copy and pastes all the features from a layer into the blank layer. We get updates to our layer from a separate organization, ...
0
votes
1answer
42 views

Model Builder - Integrating Select by Location and Buffer

So I'm trying to create a model tool in ArcGIS 10.1 that will integrate select by location and buffer. These are the features that the user is supposed to be able to choose: Select Layer by ...
1
vote
1answer
32 views

Order/Sorting of Iterate Field Values (ModelBuilder)

I am using Iterate Field Values to Iterate my Model through a list of Strings (DBF-File). However, the Field Values-Iterator will always sort my Field by alphabet (ascending). It does not matter how ...
0
votes
2answers
26 views

Model Builder - Using Only Certain Fields

I have to use ModelBuilder in ArcGIS 10.1 to create a mix of two tools: buffer and select by location. However, I'm supposed to let the user only enter certain information, and have other fields be ...
1
vote
1answer
47 views

Add Field, Calculate Field within Model Builder

I have two questions regarding Model Builder. I have a point layer with Crop Yield values. I need to Add Field called "Count", then do a Calculate Field, Count = 1. The problem that I'm running into ...