Tagged Questions
0
votes
0answers
7 views
Creating separate Polylines from Points using ModelBuilder and Python Script Tool?
I have a list of coordinate points (long and lat) of 4 locations (points 0, 1, 2, 3) saved as a feature class shapefile.
I want to create a polyline that will connect points 0 and 3 and create a ...
0
votes
0answers
84 views
How to export from ModelBuilder as script and then run using Python. 3.4?
I'm currently studying for a Msc in GIS. In my assignment I have been asked to produce a model builder, export that model as a script file and then run that script as a stand alone in IDLE.
So ive ...
2
votes
2answers
73 views
ArcGIS - Extract by Attibutes in Model Builder
I have a model which at one point uses the Extract by Attributes tool to produce a new raster with just the areas containing the maximum values of the first.
I would think that the SQL expression ...
0
votes
0answers
24 views
How to make turn feature class from line feature class?
I have a road network of one county in Norway . To this road network, I will make myself a turn feature class of all the road barrier in the road network.
I have a feature class with all the road ...
1
vote
0answers
27 views
model to connect points with line and set the digitize direction according to height
I'm trying to develop a tool that connects a point layer (manholes) with lines (waste water pipes) and sets the line direction according to an height attribute acording to gravity(from high to low). ...
1
vote
2answers
135 views
Create an X,Y latitude and longitude grid from an raster
I have a satellite image (LandSat 5), I want create a raster with X,Y coordinates, this is possible in Model Builder of ArcGis 10.0? or other option. I know that the option $$YMAP ($$XMAP) not work ...
0
votes
1answer
38 views
Model builder to call python script
So I'm looking to write a script that can be called by model builder. What I would like this script to do is to select three records from a feature class that have the highest field values ...
0
votes
1answer
36 views
How to schedule a model to run at a certain time?
I'm trying to schedule a model to run at a certain time and have found this ESRI Blog post which is providing a good start. What I can't figure out though is where in the importToolbox function I tell ...
0
votes
3answers
88 views
How to define an output parameter in Python script exported from ModelBuilder
I have a modelbuilder parent model with two nested models in it that ouputs a dwg file. I exported the parent model to a python script which is shown below. In modelbuilder, the output dwg file is a ...
1
vote
1answer
41 views
If Then Modelbuilder, Project error
I have a model where I want to check the projection. If it is GCS_WGS_1984, I want it to go one path, and if it isn't, I want it to go another path.
I created a "Check Coordinates of Input" script ...
1
vote
1answer
61 views
Precondition in Modelbuilder - use in next process
In modelbuilder I am trying to create a tool which will check the coordinate system of the input shapefile. If it is GCS_WGS_1984, then nothing happens. If it is not, then it will reproject it to ...
0
votes
2answers
106 views
Why am I getting 'Error 000732 Raster does not exist'?
I am trying to apply symbology to a raster layer via kernel density analysis. When I run the Python script below in ArcMap, I am get the error message below. I have searched and tried the common ...
3
votes
1answer
52 views
Is there a tool to track edits that were made?
Is there a tool/report that keeps track of what edits were made that I could run prior to or after reconciling my versions?
This would help me to know if there are any changes I need to make to any ...
1
vote
1answer
75 views
Why does connect to Excel spreadsheet through ArcPy give ERROR 000582?
My ultimate goal is to automate kernel density analysis on xy data from a table. I am trying to learn Python but I am very new. I built a simple model to take table data and display xy data. When I ...
-1
votes
2answers
117 views
Python script not working after exporting it from ModelBuilder
trying to figure out why my script wont work (I should mention I'm still at an intro level).
This is a script I exported from ArcGIS model builder which worked fine using that:
# Import arcpy module
...
2
votes
0answers
30 views
How to Complete ModelBuilder Process Quicker?
I've built a script tool in ArcGIS's ModelBuilder to collect parameters from the user and use them as arguments for another python script. The output of this script is a text file. The only GIS ...
2
votes
1answer
63 views
SQL expression to python expression
I have a SQL expression that I use in Make Feature Layer in Model Builder ("HOSPITAL" = '% HOSPITALNAME%'). The expression makes a selection in a OD Cost Matrix that a patient is patient only at one ...
0
votes
1answer
66 views
Split an attribute Python 9.3 in modelbuilder expression? [closed]
Updated question
Goal: I need to upgrade an existing Model-builder were the expressions uses Python 9.3.
Workproces & Goal:
My *.mxd Have 1 attribute field containing the following build: ...
0
votes
0answers
28 views
How to update ValueTable in ModelBuilder?
I have created a python toolbox script that will the update of the values in a ValueTable based on selections from other parameters. In the updateParameters when a parameter is changed I am updating ...
1
vote
1answer
30 views
which feature of toolboxes will be appropriate for building a groundwater model in Model Builder [closed]
I am completely new to ArcGIS Model Builder and also Python scripting. However, I want to build a model to automate groundwater recharge.
0
votes
1answer
46 views
ArcToolbox model run but warning output in Python
I have created an ArcToolbox and a Model in the toolbox. It uses a lot of Spatial Analyst tools and deals with raster images.
When I imported the toolbox in a Python script and ran the model from ...
1
vote
1answer
35 views
Trigger a custom ArcToolbox tool outside Model Builder
I have created a model in a custom Arc Toolbox with Model Builder in ArcMap 10.1. Is it possible to trigger the model outside Model Builder and ArcMap? For example, use a Python script to trigger the ...
9
votes
2answers
199 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. ...
0
votes
0answers
47 views
Python running models and output symbology
Trying to run a model using python script. The script is running, the symbology is set up in the model, but the symbology is not displaying in the KMZ output when run as a geoprocessing tool.
Works ...
2
votes
0answers
155 views
How To Export Selected Data Driven Pages to PDF?
I have a map book with data driven pages that shows the fire boundaries, roads, etc for our fire rescue department. I want to automate the process of creating individual mini map books for each fire ...
1
vote
1answer
159 views
How to set up parameters in Python toolbox tools?
I build a model builder and export it to python.
How can I define parameters for python script in python properties?
May you explain about Data type in script proprties?
thanks alot
3
votes
2answers
140 views
Calculating Z-scores in Arc
I am trying to take the natural log and then calculate z-scores on cell values in several composite band GRID rasters in Arc. I am not fluent in python and do not see a way to automate this within Arc ...
1
vote
1answer
51 views
How to select pixel with smallest number in stack raster using Python script in ArcGIS for Desktop?
I have 6 tiff file in ArcGIS which are identical in term of geometry (same frame, same number of row and column). The pixel value of each tiff file is integer and range from 1 to 4.
So if I overlay ...
1
vote
1answer
158 views
ArcGIS 10.1 Converting a model tool to a script tool
I have recently created a model tool for a class project and my instructor would like it to be converted to a script tool for practice purposes. I have exported the script from my model and loaded it ...
1
vote
0answers
61 views
Should I move from ArcGIS modelbuilder to python? [closed]
I have been learning how to use ModelBuilder with ArcGIS 10.2, and I like that it shows me visually how to process data using ArcGIS's functions. I think visually.
I see, however, many replies by ...
1
vote
1answer
63 views
Model converted to Script - No editing mode? [closed]
I have a model that an ESRI associate sent me as an example. When I run the model everything is great. I click on the model and because the seleting features is a parameter, it automatically starts ...
4
votes
1answer
102 views
How to populate SQL options for ModelBuilder parameter from ArcSDE feature class?
I am creating a very basic model tool for a class project and I am running into trouble getting the SQL values to populate. I have read the ArcGIS 10: How to populate SQL options for parameter in tool ...
1
vote
1answer
73 views
How to correctly use LIKE in the code block of a Reclass expression in ModelBuilder Calculate Field
I have a Reclass expression that works when i am search for single instance of a data field.
I also wish the Reclass to work with a SQL type LIKE selection with Wildcards. e.g. I need to reclassify ...
5
votes
1answer
234 views
ArcGIS - Python - Extend XY Line to Z Value
Long time reader, first time poster. So here's my goal:
Working in ArcGIS, trying to work with Model Builder and Python Scripts.
I have a series of lines and a single raster DEM.
I'd like to extend ...
0
votes
1answer
143 views
How to Extract Data by Attributes (Clip/Zip/Ship) using Attribute Where Clause - Esri Server Tools
I want to use the out-of-the-box Esri geoprocessing task to extract data via ArcGIS Server (Server Tools --> Extract Data). Its pretty straight-forward, but it doesn't seem to support use of a "where ...
2
votes
1answer
99 views
Model or Code to query all feature classes in geodatabase by selecting by attribute
I have a geodatabase that has 60+ feature classes that each contain records for 60+ locations. I need to export all records from each feature class for a specific location. In each FC there is a ...
2
votes
1answer
100 views
Is there a way to reference a selection in model builder or python?
Is there a way to reference a selection in model builder or python so that I can edit my python script to only run if there is a selection. And even better if there is only one row selected?
I made a ...
2
votes
0answers
64 views
Convert absolute file path to raster databaset [closed]
I wrote a simple python script that outputs an absolute path as string to a GeoTiff file. So this file can be treated as Raster.
In a Model, the GeoTiff file is to be the input raster of a CopyRaster ...
2
votes
1answer
56 views
Multiple Selections from one shapefile
I have two shapfiles, Country and Blocks. I need to run a very basic selection to find out what blocks intersect the country shpe. But, the country shape has 250+ countries and I need to do this for ...
2
votes
2answers
159 views
Trying to use Python code and user defined inline parameters to build a SQL expression
I am trying to build a tool where the end user can run a model and make a selection from a feature class based on 3 different fields, calculate the total shape length, & export the results to a ...
3
votes
1answer
116 views
How can I make my python script results appear in model builder
I have a model (model builder) and within I added a python script to calculate a field. My problem now is, that I don't know how to make the output appear in my model as it is the same as the input ...
2
votes
1answer
97 views
How to set waste water gravitational flow direction using DEM automatically?
I have a Geometric Network of Waste Water and I need to set line digitize direction according to the gravitational flow direction using a DEM.
I'm trying to avoid flipping manually 1000 Km of ...
5
votes
2answers
199 views
How to perform Intersection using ModelBuilder iteration?
I would like to take the intersection of two areas (one randomly generated), and do this n times. I can do it and get one result, but I can't save all the intersection areas to a file at the end.
...
1
vote
1answer
153 views
reclassify vector data from multiple source data fields (ArcGIS) (ModelBuilder)
I am using ArcGIS 10.1 and ModelBuilder. I am not familiar with Python.
My question is very similar to ReClassify Vector Data Between Values . However that question is about reclassification using ...
1
vote
0answers
62 views
Automated attribute update geometric network
I have a Network Dataset of a storm water system containing two feature classes of points and lines. (All data is topologically sound with pits and pipes snapped and linework captured in direction of ...
3
votes
2answers
285 views
Script or model to create random points having multiple minimum distances within a polygon
Given: A single part polygon, total number of points to place inside that polygon, and table specifying the size of each subset (number of subsets n >= 1) of that total number of points and each ...
1
vote
0answers
107 views
Can ModelBuilder be used to export different versions of the same mxd with various constraints?
I am currently trying to use modelbuilder to go through each row in an attribute table, select the streets that intersect the polygon (which is the row in the attribute table), zoom to the selected ...
3
votes
1answer
836 views
If Then Else in ArcGIS model builder
I have a model which iterates through feature classes in a geodatabase.
For each feature class, it runs the check Geometry tool.
I then use the "Get Count" tool to count the number of rows in the ...
0
votes
2answers
345 views
How to get the maximum value from a multiple values output (list of numbers) using calculate value in ModelBuilder
I have an output from a sub model that iterates through feature classes, each with a row count. The row counts are passed to a collect values, which is a model parameter and is used outside the sub ...
1
vote
0answers
222 views
Why does ArcGIS Resample tool change cell size and numbers of columns and rows?
I am working with images of oxygen distribution within individual plant root systems submerged in water. The program I use to acquire these images, LookatRGB, splits the green band in half and makes ...