Use this tag for questions related to ArcGIS version 10.1 and any of its service packs. Try to always use a product tag such as `arcgis-server` or `arcgis-desktop` in conjunction with it.

learn more… | top users | synonyms

20
votes
5answers
10k 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 ...
4
votes
2answers
2k 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 ...
3
votes
2answers
951 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 ...
7
votes
3answers
182 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 ...
1
vote
2answers
182 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 ...
4
votes
2answers
1k 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 ...
6
votes
3answers
723 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
214 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
1answer
641 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 ...
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
853 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
204 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
793 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 ...
7
votes
1answer
834 views

Importing GDAL from ArcGIS python window - is it possible?

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 ...
3
votes
2answers
3k 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
1k 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
437 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
59 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
248 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 ...
1
vote
2answers
819 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
160 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 ...
5
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. ...
4
votes
1answer
217 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
611 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
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 ...
3
votes
1answer
506 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 ...
2
votes
1answer
475 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
645 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 ...
2
votes
1answer
798 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
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.
7
votes
2answers
2k 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 ...
5
votes
2answers
2k 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
3answers
1k 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 ...
4
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. ...
3
votes
1answer
147 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
229 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
192 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
252 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
2answers
177 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 ...
2
votes
1answer
1k views

Why can't I use a Join in a model?

I'm trying to build a model using Model Builder in ArcGIS 10.1 that starts off by joining two shapefiles together based on a common field. I would like to make this open ended (not hardcoded) so I can ...
2
votes
1answer
355 views

How to buffer a point in a Python Add-In by ArcMap's selection tolerance?

In this answer to another Python add-in question I suggested supplying a search_distance to the SelectLayerByLocation function in order to allow points and lines to be selected by an intersecting ...
2
votes
1answer
436 views

Is it possible to replaceDataSource of layer with dataset stored in_memory using ArcPy?

I use in_memory workspaces to speed up some Python script tools that get published as Geoprocessing Services significantly. The tools open MXDs and perform, among other things, an ExportToPDF. In ...
1
vote
1answer
74 views

ArcGIS extension track for arctoolbox

I am developing an ArcGIS extension with .NET and Desktop 10.1 The extension is creating an sde connection file on the fly and connect to the database When the user use any of the toolbox like (Select ...
1
vote
2answers
134 views

Model not editable on a different PC

I am using ArcGIS 10.1 model builder on windows 8 to create create models for my processes. But when I open the model using Arc GIS 10.1 open model for editing with Arc GIS 10.1 running on Windows 7 ...
0
votes
1answer
34 views

How to measure Fracture in area using ArcGIS Cut and Fill?

I want to measure fracture in an area.I know I have to use cut and fill tool. But I wonder how to give input for this tool? it has Input before raster surface and Input after raster surface ! what ...
0
votes
2answers
669 views

Agent Analyst tool interface will not open on ArcGIS 10.1

I am having the same sort of problem as others seem to have had (for me specifically the agent analyst tool interface won't open). I have ArcGIS 10.1 sp1 installed on my computer. I have followed ...
9
votes
1answer
2k views

Fastest way to count the number of features in a feature class?

With the introduction of the Data Access module in arcpy (30x faster search cursors), I want to know if counting features matching sql criteria is faster than the traditional MakeTableView + GetCount ...
10
votes
4answers
846 views

Best method to re-compile a Python Addin after editing script?

I have been developing a few python addins and I'm just wondering what is the best way to re-compile the addin anytime I edit the script. Currently, if I make an edit to the script, it seems like I ...
8
votes
2answers
1k views

How to enable SEXTANTE toolbar in ArcGIS 10.1

I have just upgraded to ArcGIS 10.1 from version 10.0. I am trying to add the SEXTANTE tools to ArcToolbox. I have followed all the instructions from the SEXTANTE website. I have also tried the ...
8
votes
2answers
426 views

Is there a compelling case to learn/use Python Toolboxes (new at ArcGIS 10.1) over Python Script Tools?

I've written a few Python Toolboxes (which are new at ArcGIS 10.1), but am yet to decide whether/when I should write them rather than Python Script Tools in a standard toolbox. I thought the Online ...