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

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 ...
21
votes
5answers
13k 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 ...
6
votes
3answers
4k 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 ...
6
votes
1answer
760 views

How to do a separate Python installation with ArcGIS?

I see a lot of threads asking how you can have a separate Python installation (e.g. the Anaconda or Python XY distribution) and get it to work with arcpy, while not 'breaking' ArcGIS at the same time. ...
2
votes
1answer
170 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 ...
4
votes
1answer
542 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 ...
10
votes
1answer
2k 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
480 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 ...
4
votes
2answers
3k 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 ...
7
votes
2answers
5k 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 ...
6
votes
3answers
2k 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 ...
3
votes
1answer
929 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 ...
1
vote
2answers
418 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
3k 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. ...
0
votes
2answers
1k 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 ...
5
votes
3answers
5k 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 ...
3
votes
3answers
1k 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
2k 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
2k 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 ...
1
vote
1answer
2k 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.
4
votes
1answer
453 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
4answers
1k 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
780 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 ...
0
votes
2answers
468 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 ...
5
votes
1answer
97 views

Symbolizing using RGB values from Excel in ArcGIS for Desktop?

I have an excel file with 2 attribute columns, 1-feature info 2-Number of color (RGB) that the current feature should be symbolize. This file file can be joined with the layer using the "feature info" ...
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
2k 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
374 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 ...
1
vote
1answer
47 views

organizing attribute table: multiple sets of variables per point

I would like to have hints on the best way to organize my dataset (I am working with ArcGIS 10.1, advanced license). I would like to build a points layer, each point being a weather station in the ...
1
vote
1answer
352 views

2D/3D Area parameter differences in Surface Volume calculation dialog box?

In dialog box of volume surface calculation and also in ASCII file there are 2 out come with names 2D Area and 3D Area. What is difference between these two numbers? What is included in 3D that is not ...
0
votes
2answers
105 views

Summarizing data using ArcGIS for Desktop?

I am relatively new to GIS and am facing some difficulties trying to summarize/pool data together. I've attached the file to make it easier. FID_pc11_1 (Refers to postcode identifier) and count refers ...
0
votes
2answers
569 views

Exporting GRID to TIFF keeping (classified) symbology using ArcGIS for Desktop?

I want to export an esri grid-raster into a *.tiff without losing the symbology I created for the grid (the symbology is classified). No matter how I try to solve it I get a stretched symbology in ...
-2
votes
1answer
383 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 ...
11
votes
2answers
692 views

Why learn/use Python Toolboxes 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 ...
10
votes
2answers
5k views

How to export only certain columns to a CSV file in ArcGIS?

I've written a python script using arcpy which outputs a polygon feature class into a File Geodatabase. I have added a function to export the attributes to a separate CSV file. I am using the code ...
7
votes
1answer
1k 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 ...
6
votes
3answers
3k views

Connecting to ArcGIS Desktop PostgreSQL database (running locally)

I know this is a total noob question but then again, when it comes to PostgreSQL I am a total noob... I have installed the OpenGeo suite on my computer, running Windows 7, 64-bit. I have ...
14
votes
2answers
2k 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 ...
9
votes
1answer
1k 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 ...
7
votes
2answers
1k views

How to access Esri ArcPy modules from Enthought Canopy?

I have ArcGIS 10.1 running on my windows system and I have also installed the new 32-bit Canopy Express Enthought Python Distribution. Is it possible to load and use the Esri ArcPy modules from ...
7
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. ...
6
votes
3answers
844 views

Code to open web browser crashes ArcMap when run from a Python add-in

I created an ArcMap Python add-in using ArcGIS 10.1 to open a webpage after the map is clicked. It opens the page but then ArcGIS crashes. import arcpy import pythonaddins import webbrowser class ...
15
votes
1answer
2k views

How to represent overlapping lines in ArcGIS for Desktop? [duplicate]

I have lots of lines (in one feature class) which share the same location but I want to represent them as lines that are next to each other because they have different properties (different OWNERS). ...
6
votes
1answer
553 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 ...
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 ...
4
votes
2answers
617 views

Is IPolygon2.QueryExteriorRingsEx Method not working in ArcGIS version 10.1 SP1?

I am updating my addins from 10.0 to 10.1 and my code is crashing on the IPolygon2.QueryExteriorRingsEx Method. I understand there is something strange going on with this method because Developer ...
4
votes
1answer
905 views

Is it possible to sort an arcpy.da.UpdateCursor()?

I have an ArcPy Data Access update cursor that I would like to sort before making updates to it. The cursor makes updates if I don't sort, but if I add a sort to the cursor I get an error, ...
1
vote
2answers
153 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
398 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 ...