How can i add script with math functions to model builder?
I am very new to model builder + python. (Sorry for my english too) I am trying to make a model. Don’t know if it matters to upload it. If you want i can. I want to calculate variance from a...
View ArticleCalculating Bearing/Direction via Spatial Join?
I was just wondering if it was possible to calculate a bearing field via a spatial join? Basically I have needed in the past to calculate distances from one singular point (e.g a well) to a number of...
View ArticleWhy were Series variables of ModelBuilder removed at ArcGIS 10.0?
I’ve read a number of posts regarding the sequential batch processing of a model in ArcGIS. In particular this one, because I’m having the exact same issue. Recently, I found an old 9.3 help page that...
View ArticleUsing ModelBuilder, how to define directory while using a Python script?
I have a model (shown below) in which at the very end of it I run a Python script (‘SumFieldInsertNew’). One issue I’m having is that I’m creating this model for an end-user that will have little to no...
View ArticleParcel Map – How Many Acres of Feature X fall Within Each Parcel
Can someone recommend a good tool for ArcGIS that would help summarize how many acres of a polygon feature occur within each parcel in a separate layer. I have a layer containing a few hundred parcels...
View ArticleUser input and passing variables with ModelBuilder
I have created three modelbuilder tools that must be run in sequence. After running each tool, the user must examine several shapefiles and potentially change the input parameters of the next tool....
View Articlehow to create a multipoint geometry in arcgis using python and arcPy library
I have specific points and I need to create multipoint geometries, in a model-builder python script, following an equation that provides me the new (x,y) points around my initial point. Is there any...
View ArticleIterating 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 the...
View ArticleOptions for publishing model with custom script containing call to .exe on GP...
So I have a ModelBuilder model that uses a custom python script, and within the script there is a call to a command line interface (CLI) executable. The model runs fine on my local desktop, but when I...
View ArticleHow do I iterate a model over multiple fields using ModelBuilder?
I have built a model to interpolate air pollution from 40 recording stations using IDW. The results are then exported to an average for census divisions. I need to repeat this process hundreds of times...
View ArticleOutput not feeding next step of ModelBuilder?
I have numerous input .txt files that I need to feed into an Arc tool (Samples>DataManagement>Features>CreateFeaturesFromTextFile) that creates Features from text files (the text file contains...
View ArticleHow to extract portion of a string for a field value
This is simple but driving me mad. I am using Modelbuilder to iterate through a folder of feature classes, and need to add a field that extracts a portion of the filename. Example: CF0140r01.shp I want...
View ArticleError 000666, does not have OID with Locate Features Along Route in ModelBuilder
I’m trying to take a bunch of point data and determine what points of surveyed lines are closest to each point. To this end I have put together a model that loops through the line features and in each...
View ArticleUsing Feature Class name to populate new field
I am trying to get the Feature Class name (from Iterate Feature Classes) into a new field. I have been following the models described in the following two threads. Using Value from Iterate Feature...
View Articlehow to batch reclassify rasters with percents range
Using Model Builder I need to reclassify slope rasters with percents range value. I have read and ask here batch reclassify rasters with different elevation ranges, but I still need more explanation....
View ArticleSetting creation of feature dataset as precondition to iterative process...
When using ArcGIS ModelBuilder, how do you set the creation of a feature dataset as a precondition to an iterative process, and not have it re-create the feature dataset each time through? This is the...
View ArticleCreating multiple routes at same time with different stop locations using...
I have a feature class that contains about 500 cross-streets locations and another feature class that contains about 1800 locations. I need to create a route from each cross-street to 1-6 locations. Is...
View ArticleHow to export (only) final iteration from modelbuilder?
I’m using an iterator in Model Builder (1) to merge files, using a feedback loop (2). The output file is named “Output_%n%.txt”, (3), so each file is unique. Now, I’m merging a fair number of files, so...
View ArticleHow to allow the user to place a point as input for a geoprocessing model?
Is there an analogue to Esri’s “Feature Set” in QGIS modeller. I am interested in creating a model that allows the user to place a point feature on a map as an input variable for a geoprocessing model....
View ArticleUsing iterator in ModelBuilder for groups of rasters
I’m trying to do some raster calculations on Landsat imagery in ModelBuilder. I’m calculating basic indices using Raster Calculator followed by Zonal Statistics. The resulting tables are merged...
View Article