Use this tag when ArcGIS 10.1 is the version you are using from the ArcGIS platform.

learn more… | top users | synonyms

8
votes
1answer
2k views

How can you tell if ArcCatalog Geoprocessing is still running?

Is there some other way other than the logs to check that ongoing geoprocessing is working correctly? I am running the Buffer tool with dissolve type ALL on ArcCatalog 10.1. I was expecting the the ...
8
votes
0answers
204 views

ArcObjects running in Addin slower?

I have created a class library which does some geoprocessing. The addin calls a class that is an async process. I have ensured the thread is STA and the arcobjects are thread safe (ie. not passed from ...
7
votes
3answers
495 views

can arcpy detect whether it's running in Desktop or Server?

I'm developing some code that I want to run both as an ArcGIS Server web service and as a standalone script. I want to be able to modify the execution slightly depending on whether it's running as an ...
7
votes
3answers
713 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 ...
7
votes
1answer
3k views

How to increase maximum memory usage cap for running Arc 10.1?

Not sure if this is strictly GIS related or perhaps belongs on StackOverflow...it is regarding ESRI ArcGIS 10.1, so I'm sticking it here. I'm looking for options to increase processing capacity, and ...
7
votes
1answer
322 views

Do ModelBuilder or Geoprocessing tasks run slower if screen locked?

Is it true if you are running ModelBuilder or a geoprocessing task on a large raster\vector dataset then locking the computer would that cause the ModelBuilder or any geoprocessing to run slower? Is ...
7
votes
2answers
562 views

How to specify unit of measurement when accessing Geometry() object's 'length' attribute?

Using the CalculateField_management tool, one can specify the unit of measurement when calculating shape length: #Calculate polyline lengths in miles polylines = "C:\sampleShape.shp" ...
7
votes
2answers
662 views

Autoincrement field when New Feature added

I know that this is probably a very basic programming but I am brand new to Python. I have a layer in a geodatabase that I need a unique ID field (for joining). I can't use the ObjectID because that ...
7
votes
1answer
2k views

Why can't I access a table in a personal geodatabase (.mdb) with arcpy after installing 64-bit geoprocessing?

I wrote and ran a simple script last year - it cycled through some line features, buffered them and then intersected with some other lines - it all worked fine. I'm now trying to tweak the file to ...
7
votes
2answers
1k views

How to keep spatial reference using arcpy.RasterToNumPyArray?

I am using ArcGIS 10.1, and want to create a new raster based on two preexisting rasters. The RasterToNumPyArray has a good example which I want to adapt. import arcpy import numpy myArray = ...
7
votes
3answers
2k views

Calculating Field based on name of shapefile

I have multiple shapefiles to which I have added a field called "gname1". For each shapefile, I want "gname1" to be set to the name of that particular shapefile, for every feature within the ...
7
votes
4answers
4k 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 ...
7
votes
2answers
129 views

How to classify agriculture employment data?

I have employment data which are huge - about 500 data for each category, like agriculture field, fishing field etc. Now I want to categorise this data in to 7 ranges. Suppose <50=1, >50-100=2, ...
7
votes
2answers
508 views

How can I speed up my arcpy script?

I have written an application that does a lot of geoprocessing using arcpy. Once started, the application itself runs at an acceptable speed, but it is very slow to boot. It can take 30 seconds or so ...
7
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 ...
7
votes
4answers
5k 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 ...
7
votes
2answers
7k 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 ...
7
votes
4answers
2k views

Insert points into SQL Server?

I am collecting X and Y values from a web service (Twitter) via a python script. In the long run, this will run over a period of months and I intend on stopping at around the 6 million point mark. ...
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 ...
7
votes
2answers
119 views

Rules of Nodata value?

What are the arithmetic rules that govern Nodata values? Regardless of how these null values are defined? I am using ArcMap Raster Calculator. I am thinking specifically of operations like 1*Nodata ...
7
votes
3answers
2k views

CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing)

I have ArcGIS 10.1 installed with the web adapter for IIS. I've added a config file to the root of IIS7 to enable Cross Origin Resource Sharing (CORS) as per this page. I've pushed the cors enabled ...
7
votes
2answers
3k 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. ...
7
votes
2answers
6k views

Select by Attributes based on SQL wildcard range

I want to select all the records from a geodatabase table where the string starts with a letter, so I tried SELECT * FROM tbl_names WHERE "name" LIKE '[A-Z]%' This returned no records. After some ...
7
votes
1answer
442 views

Does arcpy have a method for accessing related records within a cursor?

I have a line feature class that represent sampling segments. I have a data table of field notes in the same Geodatabase that is connected to the feature class with a Relationship Class. Is there a ...
7
votes
1answer
168 views

How does the geoprocessing results window store the tasks?

Yesterday I was working in a single mxd all day, performing dozens of calculations and other analysis using multiple tools. A lot of it was trial and error, so when I found the correct combination I ...
7
votes
1answer
2k views

Creating ArcGIS add-ins for both 10.0 and 10.1

Has anyone tried to deploy the ArcMap add-in for both ArcGIS 10.0 and ArcGIS 10.1? There is a target version parameter in the add-in config XML file that needs to be specified. After upgrading the ...
7
votes
3answers
431 views

How to access a Feature service hosted on arcgis.com which is shared only with particular groups or organization

In my C# application, I am trying to access a Feature service which is hosted on arcgis.com. The feature service is shared only with a group or organization and is NOT public. How can I access this ...
7
votes
1answer
492 views

Handle annotation layers with arcpy

I want to access annotation layers using arcpy (the purpose is to verify few text strings in text annotations). By annotation I mean draw tool annotations, not dynamic labels. These annotation layers ...
7
votes
1answer
201 views

Generate clusters of X points within N meters

I have a set of roughly 4,000 points in very close proximity and I need to generate clusters of 5 points, with each point no farther than 50 meters from the (mean?) center of the cluster. I've ...
7
votes
1answer
294 views

Draw middle ordinate perpendicular to chord, out to curve, with arcpy

I've been assigned to find the radius of road curves. My boss found this article describing a pretty straightforward method of doing so: find the start/end points of the curve; create a chord; ...
7
votes
1answer
387 views

How to position callout bubble leader using maplex?

I'm using data driven pages to produce a number of maps. I'm using Maplex to have a callout bubble labeling my features. The problem is that for about 5% of the features, the callout bubble is not ...
7
votes
1answer
839 views

ArcGIS 10 - Text background not showing up when exporting

I have highways labeled with the standard shield and route number on it. For my main data frame the labels come up correctly. I also have 4 inset maps where only the number will show up, not the ...
7
votes
1answer
167 views

Options for manually identifying road defects from Terrestrial Lidar

I am trying to create a process to identify road defects manually from Lidar. We have Erdas 2013, ArcGIS10.1 and Global Mappper 14.2 as options for paid software. So far Merrick Mars displays the ...
6
votes
2answers
135 views

Reducing elevation from DEM using ArcGIS for Desktop?

I am so curious how would I strip off elevation from the DEM. I don't know how I would explain it further but I have attached an image to clarify this. I wanted to eliminate the area shaded with ...
6
votes
3answers
6k 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
4k views

Connect to Postgresql ArcSDE 10.1

I cannot connect to postgresql 9.0.5 with ArcSDE 10.1, using ArcCatalog 10.1 on Win 7 professional 64 bit. I followed the steps described here, and installed the Pg-Agent from Stack builder. When I ...
6
votes
2answers
2k views

Getting XY map coordinates on mouse clicks as input variables into a python script

This is my first time coding in python, so bear with me. I wrote a script to calculate an analytical solution to find the orientation of a plane based on three points. I'm using ArcGIS 10.1. # Input ...
6
votes
2answers
341 views

How to collapse folder structure into single folder using ArcGIS ModelBuilder?

I have a single folder, let's call it Folder1, which contains multiple folders; FolderA, FolderB, FolderC.....FolderZ. Folders A-Z each contain multiple file geodatabases. Folders A-Z do not contain ...
6
votes
1answer
584 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 ...
6
votes
2answers
3k views

How to get sum of table column values into Python variable?

Im creating a script to calculate some new fields in Arcgis10.1 using the arcpy library. I need to sum the total of a table column in order to calculate a new field. I wanted to ask if it is possible ...
6
votes
1answer
233 views

How much database bloat is reasonable?

I use personal geodatabases to hold all the data for my projects (probably around 10-20 feature classes across 2-4 datasets on average). I use the personal gdb because I like being able to hook into ...
6
votes
4answers
1k 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 ...
6
votes
2answers
721 views

How to create line with exact same length over and over again?

I need to draw 30 meter lines in specific places. Ctrl+l is too annoying to do everytime. Is there a easy way to define specific same length for a line that I need to draw many times?
6
votes
1answer
1k views

How to choose raster interpolation method?

I work with a dataset of ~1.3 million residential buildings; each of them is described by a normally distributed variable ranging from 0 to 100. The dataset covers whole Switzerland so there are ...
6
votes
2answers
226 views

Including labels in map legend and point symbology of ArcGIS for Desktop?

I've been using gis.stackexchange for some time already and time has come for me to ask my first question here. I have point feature class with habitat types. There are two important attribute ...
6
votes
2answers
1k views

Easily calculate “roundness/compactness” of a polygon

I am trying to find ways to quantitatively describe the shapes of various polygons. For my project, these polygons represent lakes, rivers, lagoons, and parks. So they can be almost any shape. One ...
6
votes
3answers
297 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
3answers
5k views

ArcObjects/ArcServer 10.1 - How to programatically publish a map service?

I am migrating some ArcObjects C# code to 10.1 and am having some trouble programatically publishing an MSD. We are using a multi-site configuration (not sure if that matters). Here is the code I am ...
6
votes
2answers
396 views

How to force 1-bit raster output in ArcGIS 10.1 for Desktop?

Any ideas on how to force a 1bit raster output in ArcGIS 10.1? By default, ArcGIS is being very dense about recognizing pixel depth. I have a binary raster [0,1] and a mask raster [1] and they are ...
6
votes
1answer
193 views

Circular insets in ArcGIS

Looking for a way to add an AutoCad-type circular inset in ArcGIS 10.1. Have tried many different methods but the best we have been able to do is shown here using "insert picture" after various ...