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)

1
vote
1answer
36 views

Dissolve doesn't work with empty layers

I have this model: The tool dissolve has this precondition of the Calculate Tool in order not to run with empty layers: However, when it runs with a empty layer it returns the following error: ...
0
votes
0answers
38 views

How to set file path to the modelbuilder tool? [on hold]

I have got the following problem: I want to dissolve all the shapefiles in my directory and save them under a different name (consisting of the same name and an addition "_diss"). I have managed to ...
0
votes
0answers
323 views

Linking two Models together in ModelBuilder [on hold]

I am trying to link two separate models that iterate thought two different feature classes together into one, however I am having a small issue. When I bring in the sub-model into the larger one it it ...
1
vote
0answers
25 views

Selecting one feature among intersections using ModelBuilder?

I have a model which check the location of objects and select those which have the same position on the map. I need to have a selection of only one object in intersections but not to doi it ...
2
votes
2answers
223 views

Creating a Network Dataset in ModelBuilder?

I am working on modeling a project that requires me to create a network dataset in ArcCatalog. To do this, you simply right click on the roads shapefile and choose, "Create Network Dataset". You then ...
2
votes
1answer
38 views

ModelBuilder Iterator: change name output - SOLVED

I have several DEMs where I want to calculate their slope degrees. I used iterate rasters with slope tool and I put %Name%_slope as Output Name. The problem is the Name: it creates a file name too ...
1
vote
0answers
121 views

ArcGIS ModelBuilder Iterate tables: Make Query/SQL expression

I'm new to ArcGIS and was wondering if someone could help me with my SQL expression. Essentially, I'm using ModelBuilder to iterate over several tables and Make Query table for each one. I'm trying ...
0
votes
0answers
22 views

Calculating multiple text fields based on other fields in ArcGIS Pro?

I have an attribute table with two types of text fields (34 of each). One type attributes an "r" or a "d" for each feature. These fields represent the voting results in either presidential or ...
0
votes
1answer
67 views

Seeking geoprocessing tool to find all DTED tiles that intersect an Area of Interest (AOI)?

Does a geoprocessing tool exist that can find all DTED tiles that intersect an AOI? I have a area of interest represented by a polygon and DTED tiles (some of which intersect with the AOI). Is ...
0
votes
0answers
27 views

Iterating through multiple polygons in file using ArcGIS ModelBuilder? [duplicate]

This question is a lead on from this question which was not resolved: Iterating through multiple polygons to produce a table with elevations using DEM? I want to iterate through each polygon in a ...
1
vote
1answer
26 views

Q: Is there a Model builder/Python method to view an in-line variable's value in a model parameter's dialog box?

I've developed a model that summarizes road attributes (e.g., volumes) across a digitized polyline. The model has input/parameter dialog boxes for a road feature class, workspace, and attribute ...
0
votes
1answer
24 views

Can a model or python script prompt the user to select a feature?

I'm trying to create a tool in python where a user splits a road (a polyline feature of shapefile) and the tool automatically recalculates the road ranges depending on where it was split. I know how ...
-1
votes
1answer
26 views

Building geoprocessing service using ArcGIS ModelBuilder?

Using ArcGIS 10.4 for Desktop, I am trying to build a model to be published as a service. this model should take shapefile and table as inputs and run "Join Field" tool on them then i am using "...
1
vote
1answer
35 views

Exporting attribute table to text file(.txt) in ModelBuilder

I'm having trouble exporting directly an ArcGIS attribute table to a text file (.txt) while I'm working in ModelBuilder. I tried the followings and none of them worked: Copy Rows tool: I tried to ...
1
vote
2answers
44 views

Compare Two Tables and Delete matching Records based on a Field in Original Table

I am having an issue with this and think there is a simple solution. I have a large table, upwards of 500,000 records and need to add new records to it daily. Occasionally a new record will just be ...
0
votes
0answers
6 views

join field between GPFeatureRecordSetLayer and table

i am using arcgis 10.4 to build a model and later share it as service, i have one question, in general, is it possible to run "Join Field" tool between GPFeatureRecordSetLayer json and a table ? I ...
0
votes
1answer
66 views

Is there an equivalent of 'zonal statistics' (always used with a raster) for polygons?

I want to extract statistics from a polygon using other smaller polygons as the mask. The smaller polygons have unique id numbers that I want to assign the calculated statistics too. If I wanted to ...
-1
votes
1answer
316 views

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

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 ...
1
vote
0answers
13 views

Filtering a polygon by area with multiple iterations?

I am currently working on a habitat conservation map in ArcGIS 10.3. I want to filter out smaller areas from my polygon layer, but as I'm not sure what the appropriate habitat patch size is for this, ...
2
votes
1answer
29 views

Modelbuilder variables to rename multiple shapefiles

I'm using ArcGIS 10.4 and created a model to rename a shapefile. It works fine if the model is running from ArcMap but for only one time. Once tried to run it again, it gives error because the file ...
0
votes
0answers
27 views

ArcGIS Desktop 10.3: Time-variable minimum distance?

I'm currently running ArcGIS Desktop 10.3 and would like to build a new tool to determine the minimum distance between two point feature sets. The complexity comes from the fact that both datasets are ...
0
votes
2answers
26 views

Select lines by poly using ModelBuilder?

I have a set of polys for cities and a set of lines for streets. What I'd like to do is anywhere a line segment (streets) is within a city (poly) have the value for the city applied to the line ...
0
votes
1answer
25 views

Checking if ModelBuilder model is in use by testing for Schema locks?

Is it possible to get ArcGIS to check if someone else is using a model by checking schema lock and potentially display an error saying that it is already in use and maybe provide information on who it ...
1
vote
2answers
200 views

add multiple rasters, each located a branch too deep in separate folders - ArcGIS

I have a year of daily raster datasets (365) that I would like to use the Cell Statistics tool on; however, each raster is located in a separate folder so I cannot add all of them at once. ie: -...
1
vote
2answers
117 views

Get Raster Centroid using Arcpy

Purpose:To take an input raster image and clip its shape to a parcel block. In later stages this model will be applied to a loop. Logic: The Model receives an input raster image and calculates a ...
0
votes
1answer
230 views

Multivalue iteration in Vehicle Routing Problem (VRP)?

I'm currently building a model that would simulate three different set of orders (shapefile format) by using the Vehicle Routing Problem (VRP) tool of network analyst. The model I built runs correctly ...
3
votes
3answers
845 views

Reclassify many rasters in ModelBuilder

How do I reclassify many rasters in ModelBuilder when each raster has its own unique values? For example, when you create a model in ModelBuilder and you add the Reclassify tool you may want to ...
3
votes
1answer
286 views

How to clip a Oracle query layer directly in a Python script?

I have a query layer directly running from ORACLE database in a MXD. I want to clip this layer with a layer being created in another MXD in a Python based tool. My question is to do this clip ...
3
votes
5answers
222 views

ArcMap 10.4 Model Builder Geoprocessing tool gets broken

I created a model and added "Iterator Feature Classes" and "Clip". I run the tool and everything works. But when I save the model and restart arcmap the tool gets broken. I cant open the "Clip" tool ...
0
votes
0answers
58 views

Iterating through multiple polygons to produce a table with elevations using DEM?

My question is similar to Iterate through multiple Raster files and compute statistics using Zonal Statistics However, what I want to do is use ModelBuilder to use individual polygons to define the ...
0
votes
1answer
23 views

Setting one input parameter for several models?

I have a bunch of models (about 20) in my custom toolbox. I need to run them one after another and look for some errors which they make in table. I could put all these models into one but it is not ...
3
votes
2answers
83 views

Remove fields / colums with zero “0” values in shapefile

I'm working on different project each day. At the end I would like to delete the fields that have zero "0" values in. The fields with the zero's will differ from project to project. So the model ...
0
votes
1answer
39 views

Selecting inputs within groups - arcpy

I need help with some python in selecting correct input and near feature classes in Near Table analysis. The project aim is to run Near Table Analysis (distance) on point locations collected at time ...
1
vote
1answer
26 views

Model to correct .gpx to shapefile

I have created a model that converts .gpx's to shapefiles and changes the projection. Each shapefile has the same output as the .gpx's input. Instead of deleting the original shapefile and renaming ...
1
vote
3answers
228 views

Writing Validation Scripts for Tools built with ModelBuilder?

I'm working within ArcToolbox. I understand how to create toolboxes and the scripts that accompany them. Most toolbox scripts have a validation script. (Right click tool -> Properties -> Validation ...
2
votes
2answers
3k views

Joining multiple fields to table and export new table as join field name using ArcGIS Geoprocessing?

I am using join field tool to join table (info tables/.dbf) to one a shape file. I am trying to use ModelBuilder, as there are around 100 tables (each with 5 columns X 50-150 rows), each has to be ...
2
votes
1answer
409 views

Modelbuilder Iteration with Intersect Tool

I am trying to create a model that will select each feature within a feature class, then perform an intersect between that selection and another layer. The model setup seems rather straightforward, ...
0
votes
1answer
172 views

ArcMap 10.2 Sum Acreage for matching areas in another field; ultimately use ModelBuilder?

First off, what I'm attempting to accomplish is to sum the acreage of matching "WUNAME" and populate the "WU_Acre" I've tried to highlight the fields as shown and use the field calculator SUM(Acreage) ...
0
votes
0answers
35 views

Create Buffer Where Size Based on Field Value from other shapefile

I am trying to create a buffer for a polygon(HPO) where the size is dependent upon whatever value is found in a particular field in a polyline shapefile (TestJoinSeg). I believe I can use the ...
0
votes
1answer
223 views

Field parameter in Modelbuilder - empty?

I have built a model, as input parameter I have a 2 parameters: a Feature Layer and a Field But when I run the model, the Field-Parameter has no values to select. How can I tell the model builder, ...
4
votes
1answer
2k views

Rotating and moving polygons to different angles using ModelBuilder/ArcPy?

I have a few thousand polygons (all square) that I need to rotate to various angles that are in the attribute table, and then move so that each polygon gets moved 3/4 up from the original centroid, ...
0
votes
2answers
55 views

Modifying Time attribute using ModelBuilder?

I need to remove the DD-MM-YY from the "Time" attribute and only keep the HH:MM:SS using the modelbuilder. The model is displayed below and I use ArcMap 10.2. I have tried the "Calculate Field" and ...
0
votes
2answers
304 views

Loading and publishing Shapefile using ModelBuilder and Map Service?

I have a shapefile which I am loading to a DB using Model developed under MyToolbox. At the same time, I would like to publish this as a Map Service in ArcGIS Server. Is there any way to create ....
0
votes
2answers
202 views

Deleting rows on dbf table with python for ModelBuilder?

Being not very familiar with python, and after carrying out unfruitful long researches on internet, I submit to you my problem, hoping favorable reply. I have a DBF table with geochemical data and I ...
1
vote
1answer
24 views

How can I create a numeric field (not ObjectID) with a unique number for each record?

I need to do some analysis in ArcGIS, export the data to Excel, do some more analysis, import the results back to ArcGIS, and join the resulting table back to one of the original feature classes. Am I ...
1
vote
0answers
20 views

File Path does not recognise Get Field Value

I have an ArcGIS model which I want to iterate through a series of points separately as I wish to create a catchment for each of them using the Batch Watershed Delineation Tool. I have encountered a ...
0
votes
0answers
350 views

error 010240 with output format grid

I am in modelbuilder and trying to run a process I have run in the past many times. It used to work fine. Now I get this error. Outside of modelbuilder each individual process works fine. It processes ...
3
votes
2answers
976 views

Using arcgis.rand() with variables from code block of Calculate Value tool?

Within a larger ArcGIS ModelBuilder model I am trying to populate a field in an attribute table with a random number, using Calculate Value. The overall distribution of random numbers needs to follow ...
3
votes
1answer
47 views

ArcPy: Connect to MySQL database

My project aims at updating automatically point feature classes in a ESRI local geodatabase using MySQL tables with X,Y coordinates. The updates should be launched with the Windows task-scheduler. I ...
2
votes
1answer
190 views

Land Use layer by combining, removing attributes and assigning new attributes

I'm working in Model Builder and I have limited (let's face it, no) Python knowledge, so I'd like to stay here if possible! I have numerous shapefiles that I want to combine into a single land use ...