Use this tag when ArcGIS 10.1 (or any of its service packs) is the ArcGIS Platform version you are using.

learn more… | top users | synonyms

4
votes
2answers
3k views

How to Partition Line into Segments using ArcGIS for Desktop?

I have a shapefile of U.S. states. I extracted the boundary between two states, resulting in a line segment. For example, the boundary between Georgia and North Carolina. Is there a way to further ...
21
votes
5answers
11k views

Is ArcSDE no longer needed at ArcGIS 10.1?

Through my frustration of not finding the post-installation wizard with ArcSDE 10.1 and being unsuccessful with the command line tool to start an SDE service on our SDE databases, I found I was able ...
3
votes
2answers
1k views

ArcObjects + comtypes at 10.1

Has anyone played around with using ArcObjects in Python at version 10.1? I am having all sorts of problems, such as TypeErrors when wrapping the ESRI OLB modules and AttributeErrors when attempting ...
10
votes
1answer
1k 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 ...
7
votes
3answers
250 views

How to get the subbasin area of each specified river segment?

I have a DEM file of one district, and I have used those following tools in spatial analyst tools in ArcGIS 10.1 to get files related to the original DEM file: Fill Flow direction Flow accumulation ...
2
votes
1answer
96 views

How to set up a 3D plane in ArcGIS?

I need to model a fault plane below the earth's surface and find distances from different points on the surface of the earth. I know the dimensions of the plane and its orientation but I can do that ...
1
vote
2answers
242 views

How do you get all the results from a Selection made by Attribute or Location using ArcPy?

Using arcpy I'm trying to get the results of a selection, or what is currently selected as a list. Basically I'm attempting to build an addin which on click will either perform an operation where I ...
5
votes
1answer
2k views

How to Convert labels to DWG Cad file?

I have a new task where the client is asking for a .dwg file of layer labels. My first thought would be to create an annotation of the labels and then try and use the Export to CAD tool in ArcMap. ...
4
votes
1answer
234 views

How to add Table to Layout View using ArcPy?

I am using ArcGIS 10.1 and I have a non-spatial table and some layers in a Data Frame. When I switch to Layout View I want to be able to show the map in a data frame element and the table in another ...
4
votes
2answers
2k views

How to standardize raster output from 0 to 100 using raster algebra?

I am working on generating an integrated moisture index based on the following equation: IMI = (hill shade * 0.5) + (curvature * 0.15) + (flow accumulation * 0.35) Iverson et al. 1997 Another ...
3
votes
1answer
1k views

Invalid Topology [Topoengine error] ArcGIS 10.1

I'm trying to run the Identity function on two large data sets but it fails every time. I don't think it is a lack of hardware as I can run other processes on the same data sets. I've already ...
1
vote
2answers
1k views

How to list Feature Classes of Multiple geodatabase in Multiple Folder?

I'm new in python scripting and try to list polyline feature classes of multiple Geodatabases. The Geodatabases are in many nested folders.For example in folder "A" I have 20 folders and in each ...
6
votes
3answers
1k views

How to replace non-English characters in attribute tables using Python?

I have a few shapefiles where some of the attributes contain the non-English characters ÅÄÖ. Since some queries doesn't work with these characters (specifically ChangeDetector), I tried to change them ...
4
votes
1answer
289 views

How to Keep Database and Server Connections active

It seems like everyday I go to publish a service or connect to my SDE I get messages that I can't connect. It is particularly annoying when trying to publish a service to ArcServer. The connections ...
3
votes
3answers
624 views

Calculating X and Y of line start and line end using ArcPy?

I have a series of polyline shapefiles and I am trying to automate the process of calculating the X and Y coordinates of the line start and line end using Python. I have added the 4 fields (startx, ...
3
votes
1answer
835 views

Why does Field Calculator return 0 values when decimals are expected?

I realize I posed this question, and got answers, several days ago (see (Field calculator error)) , but none seem to really be working, and so am posing again. Below are two screenshots that show the ...
3
votes
1answer
624 views

Import functions in python Add-In logic script

I am running into an error. I have a set of functions which I want to import in the python Add-In script at the time of execution, but when I built Add-In with "import stats" line then tools are ...
1
vote
1answer
1k views

ArcGIS 10.1 using Repast's Agent Analyst Extension - refresh.exe does not work

I have installed the agent analyst extension for ArcGis. The refresh.exe, however, does not work. I have made a direct reference to the folder where refresh.exe is.
0
votes
2answers
287 views

How to Iterate through Bands of Raster using ArcGIS 10.1 ModelBuilder?

I have a large number of rasters with 3 bands (R,G,B). What I want to do is add all 3 bands of each raster together to end up with a single band image with the summed R,G,B values in each pixel but ...
4
votes
2answers
1k views

arcgis python script to tool issue

I have a script to investigate mxd's and save them as lyr symbology/kmz and sld which works fine when run from the .py but does not run when used as a tool from arctoolbox. I have tried ...
2
votes
2answers
1k views

Error running ArcHydro tools function in Arcmap

I am trying to run a function from ArcHydro tools in Arcmap 10.1; Sink evaluation. But before it can finish it returns an error message, that, frankly, I don't understand at all. It goes ...
2
votes
1answer
301 views

Flattening JP2 files to single band (i.e. averaging bands)?

I have created thousands of png tiles using ArcGIS and have merged groups of them into large jp2 files for serving via GeoServer. I need to flatten these to a single band so that I can apply a colour ...
-2
votes
1answer
266 views

ArcGIS Python Add in: Pass Entry from Combo Box (in Toolbar) to mdb [duplicate]

How do you update the python addin wizard code to write directly into access or pgdb? I have a combo box and need to have my users enter data into the combobox to write into the database. Can someone ...
7
votes
1answer
995 views

Guidelines for organizing Python Toolboxes (.pyt) in ArcGIS

For one of my tasks I need to create a Toolbox with three tools (python scripts). Instead of ordinary tbx I've decided to write it as Python Toolbox (pyt). Everything is clear except the "good" way ...
13
votes
2answers
1k views

Creating Thiessen (Voronoi) polygons using lines (rather than points) as the input features?

I have a set of line features inside a particular polygonal boundary. For each line, I'd like to generate a polygon inside which every possible point is closer to the given line than to any other line ...
8
votes
1answer
957 views

Importing GDAL from Python window of ArcGIS for Desktop?

I am trying to run some Python code using the Python window in ArcGIS 10.1 that uses both the arcpy and gdal modules. However, when I try and import the gdal module I get an error: ImportError: No ...
4
votes
2answers
4k views

Remove lock on feature class

When i try to delete a feature class , after or during the use of an Arcgis engine app which uses the same feature class i got an error concerning the lock , so i can't get ride of this lock until i ...
7
votes
1answer
2k views

Mathematics behind converting scale to resolution?

I have a ArcGIS service configured as shown in this pastbin. Specifically, the first LOD looks like this: { "level": 0, "resolution": 222.2222222222222, "scale": 256000 } I determined how ...
6
votes
1answer
497 views

overlay county shapefiles for 2 different years

I have county-level shapefile for South Caroline in 1880 and one for 1940. I would like to overlay these two files so that they do the union and indicate the percentage of the land in 1880 that went ...
1
vote
2answers
87 views

Labeling stacked polygons with different records

I work in Oil and Gas and trying to label leases is a huge pain. In most cases there are multiple polygons of the exact same size and shape stacked on each other with records that represent different ...
1
vote
1answer
325 views

ArcGIS 10.1 Python script to snap points to lines

I have 2 Feature Datasets in a geodatabase. One dataset contains bus routes and the other contains bus stops for each route. I want to create a script that will snap the bus stops to the vertex of the ...
6
votes
3answers
205 views

Do you use a proven workflow to edit and document ArcGIS ModelBuilder models?

Do you have any reference to best practice examples , or can you share your expertise on how to keep track of edits to ModelBuilder models , track changes between model/tool versions and maintain ...
6
votes
2answers
2k views

Select and copy features in ArcMap using Python add-in tool

I'm trying to add a tool to an add-in toobar to select features from an existing feature class and copy them across to another feature class. I need two tools, one for a point and one for a rectangle. ...
5
votes
3answers
2k views

How to create Point Transects along line?

I would like to create a point shapefile that will contain sampling points along, and perpendicular to either side of a track route that I have as a line feature in ArcGIS 10.1. The points on the ...
5
votes
2answers
3k views

How to create a point file along a line (trail) at regular distances (0.20 miles)?

I'm using ArcGIS 10.1. I have a trail network that I'm trying to establish signs along the trails every 0.20 miles. Is there a way to create the point file from the line feature? This has got to be ...
4
votes
2answers
2k views

ESRI Javascript API: How to hide infoWindow while using measure tool?

In my Javascript API Web application I'm using the infoWindow to query a parcel layer and display display information in a popup when I click the parcel. I've set this functionality to turn on and off ...
4
votes
1answer
240 views

Getting buffer wizard-like speed in Python (vs using MultipleRingBuffer_analysis)

I've got a script that takes a single input polygon feature, throws 10 buffers around it at tenths of a specified input distance, and then symbolises the output based on an existing layer file. ...
4
votes
2answers
679 views

Programmatical Setting of 'Store Relative Pathways' for multiple MXDs ArcGIS 10.1

I am looking to move large number of mxds to a different location on the same drive. Many mxds haven't got 'Store relative pathways' option checked therefore this operation will result in broken links ...
3
votes
1answer
682 views

Exporting Graphic with transparency in layout to PDF using ArcGIS for Desktop?

I'm using ArcGIS 10.1 for Desktop. I am trying to export a pretty simple map to PDF and finding the results are not what I expect. I have inserted two graphics on top in Layout. One is just a ...
2
votes
1answer
647 views

Can ArcGIS 10.1 use SQL on Definition Query to select minimum value?

In ArcGIS 10.1 I am trying to do a Definition Query that will select the records that are the min values from a table. I try a lot of type of query like and it still not working. Name table is ...
2
votes
1answer
847 views

Raster Version of Spatial Join (one to many) [duplicate]

I have two raster layers that are identical in shape (they overlap exactly) and I need to perform the raster equivalent of a Spatial Join (one to many). My files need to stay in raster format ...
7
votes
2answers
3k views

Where is my attribute table in ArcGIS 10.1? It is not visible

I've just updated to ArcGIS 10.1 and when I go to open an attribute table, I can not see it anywhere. Where did it go and how can I retrieve it? I'm wondering if it is off my screen somewhere or if ...
3
votes
1answer
135 views

Select points approx. 2000 metres from another point along a river?

I have a series of points representing a river network (See Image Above). Each point contains attributes on Latitude, Longitude, Z value and Length calculated using flow accumulation. The river ...
3
votes
1answer
196 views

How to perform Viewshed Analysis in ArcGIS for Desktop 10.1?

I am trying to understand viewshed analysis in ArcGIS 10.1. After you add fields such as RADIUS1, AZIMUTH1 to your observer vector attribute table, does it automatically calculate visible/non-visible ...
3
votes
3answers
256 views

Field calculator error [duplicate]

NOTE: This problem is similar to one that was answered here: Why does Field Calculator return 0 values when decimals are expected? I'm relatively new to python, and am trying to run a simple field ...
2
votes
3answers
542 views

Clip a raster using a shapefile into multiple rasters?

I have a raster file representing a large area and a shapefile of 30 polygons representing watersheds. I would like to clip the raster with the shapefile to create 30 rasters representing each ...
2
votes
2answers
467 views

How to select specific filenames nested within several folders?

I have hundreds of shapefiles that are stored in separate folders, which are nested within several other folders. Among the shapefiles I only need the ones that are named 'POINT*.shp' How do I get ...
2
votes
1answer
127 views

Large Dataset Buffer Help

Using ArcGIS 10.1. I have a large polygon feature class (130,000 records). I need to do an inside/outside buffer (+5 then -5 to fill in some gaps)... the process takes so long, I'm looking for a way ...
2
votes
1answer
863 views

How to add feature class to MXD with ArcPy (Python)?

I am using ArcGIS 10.1 and I am trying to add a feature class that I create to an MXD, so that I can join to it. This all needs to be done using Python. Is this possible?
2
votes
2answers
269 views

Create line from two points, two different feature class

I'm attempting to automate this in ModelBuilder in ArcMap. I have one feature class with one point (Start) and one feature class with multiple points (Destinations). I want to iterate through the ...