Tagged Questions
1
vote
0answers
28 views
Calculating the Centroid of polygon in modelbuilder (VBA to Python) [closed]
Got an easy one, that's got me stuck.
I'm moving some models that were created in 9.3.1 to work in 10.
Part of the model is calculating the X coordinate of a polygon to a specified field.
The code ...
0
votes
1answer
52 views
How to buffer increasing/decreasing population zones?
I will find out the difference in population between year 2000 and 2013. I have a feature class file with the population in year 2000 and 2013 that are connected to the municipal number and that is a ...
0
votes
1answer
34 views
Maintain 8-bit pixel depth in Raster Calculator
Would anyone know how to maintain 8-bit pixels when computing raster calculations in ArcMap?
2
votes
1answer
44 views
How can I set the settings of an Address Locator within a Model or arcpy?
I am creating a model that processes a large road dataset, then creates an address locator from the roads. The Create Address Locator tool does not allow me to set options like Spelling Sensitivity or ...
0
votes
1answer
52 views
python script in modelbuilder: get field value and return boolean expressions
I have problems integrating a python script in a modelbuilder tool. I'm a absolute beginner with python. Maybe there's also an easier way to solve this problem in modelbuilder without using a python ...
5
votes
1answer
128 views
ModelBuilder: How to extract data by date, export to separate tables and interpolate tables to rasters
I've been using ArcGIS for a couple years, but when it comes to model builder I've only worked with very simple models. I'm hoping someone that is much smarter than myself can help me in building a ...
0
votes
1answer
64 views
Join multiple shapes in a workspace based on a common field
I’m completely stucked!!! I’m working with meteorological data (wind) but I have to arrange the data for a program to be able to process it. I have text files, two per day (one with the wind direction ...
0
votes
0answers
20 views
pass users input to one of the layers in the model builder
I am new to the model builder and python environment. Currently, I am doing a project and encounter some problems. In the model builder, i have a store layer that contains a list of store names. My ...
31
votes
5answers
847 views
When to use Model Builder over Python Scripting and vice versa?
I'm new in python scripting in ArcGIS but not Model Builder. I'd like to know what's the benefits of Python VS Model Builder. Why should we write script for GIS automation while we can use Model ...
-1
votes
1answer
95 views
How to write Process Dialog log information to a text file in ArcGIS?
I have created a custom model. When this model is run, it shows a process dialog which has some log information. I want to write that log information into the text file for further analysis. Does ...
5
votes
1answer
54 views
How to identify a FRONT LAND?
I work at a town hall.
I need to identify the front of the land. Here in my country we call it of "TESTADA" or "FRENTE DE LOTE". I did not find the exact term in English.
THE FRONT OF A LAND is a ...
2
votes
1answer
81 views
Mysterious Invalid Syntax in Field Calculation
I'm trying to calculate a field in Model Builder using the Calculate Field tool. I'm using the following code block and expression in the calculation, but am getting an "invalid syntax (, line 1)" ...
0
votes
3answers
93 views
Summarize values per row using field calculator via Model Builder
I think my problem is easy to solve, but so far I couldn't find a solution. I have a Feature Dataset created with the Union tool in Model Builder and now try to sum up all values of one specific field ...
8
votes
1answer
213 views
How to find differences between shapefiles?
Every month I have to QA/QC some streets data for an entire county (over 47,000 records). The first step is to compare the two files. Currently, I'm using a tool that was created in house via VBA ...
2
votes
0answers
73 views
Running a new iteration for each column of a dataset in ArcGIS
I'm pretty new to Modelbuilding, having just been turned onto it about a week ago on here. So my problem is, I currently have a dataset of habitats that change through time (from Immature to Mature, ...
4
votes
1answer
96 views
How to create list from table
I have performed a spatial join on some data and now I would like to take that data and create a list. I'm trying to do this dynamically so that it can be easily repeatable via a script or model.
I ...
3
votes
1answer
72 views
How to validate Personal Geodatabase against XML schema?
Is their any tool in arcgis model builder which can validate a personal geodatabase and a XML schema to give out an report saying if the gdb is validated or not ...
4
votes
0answers
396 views
Inserting a script into ArcGIS model-builder
I am looking for some tips about inserting a script in the model-builder...
I am actually building a model in the Arc-GIS model-builder. At one point I would like to insert a script that crosses ...
2
votes
2answers
114 views
How to use model-builder iterator with a custom bit of arbitrary code?
How do I integrate a in-line variable from modelbuilder into a python script? Specifically, I'm using an iterator, and I'm trying to include the 'name' variable in a python script. I believe the ...
4
votes
1answer
232 views
Python script/Model to populate cross street names at intersections
Has anyone created a Python version/model of this VBA script from ArcScripts which populates the to and from street names at street intersections? A logical workflow is outlined quite nicely in this ...
0
votes
1answer
123 views
Remove Illegal Characters in Model Builder [duplicate]
Possible Duplicate:
Arcpy remove invalid character
I've created a model that iterates through a shape file and pulls out unique values in a field. These unique values are then used to ...
4
votes
1answer
305 views
Passing a variable from a script to ModelBuilder
I have a model that passes a variable to a python script. The script uses that variable to query some directories and return a list of paths. What I want to know is: how can I then use each of those ...
4
votes
2answers
325 views
Arcpy remove invalid character
I've built a model that takes the name of the Excel worksheet containing xy data, and uses that name as the name of the output shapefile. ( Worksheet "massachusetts_sightings" in an xlsx becomes ...
3
votes
2answers
305 views
Check if field value for selected features is null
My feature class contains two fields: an identifying field U_ID, and a descriptive text field DESC. This field currently has <Null> for all features. I would like to select all the features with ...
3
votes
1answer
73 views
Show feature classes as a checklist in a workspace in ModelBuilder
In my model, I would like to show all the feature classes inside a file gdb as a "checklist", similar to how the tool dialog window for Make Query Table looks:
So instead of the input being a ...
3
votes
1answer
147 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 ...
8
votes
5answers
467 views
How to split points by polygon?
I am looking for a way to split points by a county polygon feature class. The attached image shows two feature classes: one composed of points and the other a county polygon feature class. The split ...
1
vote
0answers
372 views
Looping multiple feature classes in python for ArcGIS 10
I currently have a large list of feature datasets and dbf tables in a geodatabase. I would like to join each shapefile with its matching DBF file using the "Make Query Table" tool and then "Copy ...
3
votes
3answers
502 views
How do I access a multivalue output parameter from a python script in modelbuilder in ArcGIS 10.0?
How do I access a multivalue output parameter from a python script in modelbuilder, in ArcGIS 10.0? That is, I have a python script that loops through several input layers (working through a script ...
2
votes
0answers
51 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
600 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
149 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 ...
3
votes
2answers
755 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 = ...
2
votes
0answers
181 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:
...
4
votes
1answer
800 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
...
4
votes
1answer
564 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%".
...
3
votes
2answers
392 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 = ...
2
votes
2answers
699 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, ...
1
vote
1answer
1k views
ArcGIS Iterate Files tool in Model Builder
I want to use a "simple" iterator to process all the text files in a directory using my model but model builder won't let me connect the file to the first step of the model. Once I run the Iterate ...
0
votes
0answers
297 views
Large point to Polygon by buffer-join-buffer-dissolve issues
I have a few large datasets (about 10 million points) which I am buffering, then joining, dowgrading and finally buffering and dissolving. This is all in a model which works fine with sample smaller ...
3
votes
1answer
2k views
How to use ET GeoWizard tools or Xtools Pro in ModelBuilder or Python to automate processing?
Is it possible to use ET GeoWizard or XTools Pro tools in automation of mapping in either in ModelBuilder or Python?
2
votes
2answers
873 views
Batch Processing 400 MODIS HDF4 Files Using Several Tools In ArcGIS 10
This is my first post, I hope I don't screw it up. We have about 400 MODIS HDF4 files we are looking to batch process in the ArcGIS 10 or Python environment. The tools we are looking to use are ...
4
votes
1answer
973 views
Model Builder - unique name segment creation
Is it possible for us to give each output of a process a unique name segment (inline name). So for example I have a process that dissolves, then eliminates and buffers a single input file. I need to ...
3
votes
2answers
290 views
Reading multiple grid data with Python and ModelBuilder
How can I read grid data (3 or 5 sources of grids) like slope, soil, cover, etc.?
My goal is to build a simulator based on multiple grid data for harvesting decisions.
3
votes
2answers
1k views
How to create the custom tool in ArcGIS desktop with using of python script from model bulder?
I created some model builder for some customization to reduce time in our routine process. I exported my model builder to python script by availability of export options. It doesn't work if i bring to ...
4
votes
2answers
363 views
How to automatically email interim results from model builder?
I want to get model builder to email me the results of processes at certain stages so that if there are issues I can remotely login and deal with them as I do with python scripts. I have a python ...
3
votes
1answer
397 views
ArcGIS GeoProcessing Model - Store List of Altered Features in Database
I am trying to build a GeoProcessing model which will find any parcels that have had their geometry values changed and store the corresponding parcel numbers in a separate non-spatial table. I am ...
6
votes
3answers
3k views
Using model builder, how can I extract certain fields for 1 selected feature from a point shapefile file with multiple features?
I have a point shapefile that is filled with many features. If I have 1 feature selected I need to be able to export certain fields of that selected feature (ID, lat, long) into a dbf file. What ...
2
votes
1answer
749 views
calculate value using maximum value from different feature class
I'm trying to get the maximum numeric value from one feature class and use that value in an expression to calculate values of a different feature class.
fc2.bldg_id = max(fc1.bldg_id)+1
Can this ...

