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

learn more… | top users | synonyms (2)

9
votes
3answers
8k views

How to include variable in where clause of arcpy.Select_analysis?

I am trying to loop through a shapefile, selecting each feature in turn and copying it to a temporary shapefile to by included in a union analysis. I'm using a cursor to find the ID name for each ...
9
votes
6answers
7k views

ArcGIS/ArcPy Python, how to get latitude and longitude of a projected point?

I have a point feature in a feature class that is being accessed by ArcPy. The point is projected but I need to find an efficient means to get the unprojected latitude and longitude for this point. ...
9
votes
2answers
4k views

Finding mid-point of line using ArcPy?

How can the mid-point of a polyline be calculated using the geoprocessing framework, e.g. in a Python script? The polyline.centroid property returns The true centroid if it is within or on the ...
9
votes
7answers
10k views

How to reorder fields (permanently) in a file geodatabase

Using ArcGIS 10.0, is it possible to reorder the fields in a file geodatabase, and have the order persisted to the database? We considered exporting to XML, and writing a parser to change the field ...
9
votes
2answers
6k views

How to list feature classes in multiple geodatabases in a folder?

I have a folder with numerous geodatabases in it. Within the geodatabases are feature classes. I would like to get a list of the feature classes in these geodatabases using a Python script. I've only ...
9
votes
3answers
5k views

How to find the locations of the highest values in a raster?

Using ArcGIS 10, I have a raster where I would like to find the pixel with the maximum value in the raster and return its location (center of pixel) in decimal degrees. I would like to iterate through ...
9
votes
4answers
27k views

How to split a polygon into multiple equal-width polygons in ArcMap 10?

I am adding parking spaces into a parking lot, and I need them to be exactly the same shape and not overlap each other or have spaces between. In ArcMap 9.3, there was an editing task that allowed you ...
9
votes
4answers
3k views

Connecting line features and determining the length of the longest line

I have a line feature (see image) representing a river that I created using the Stream_to_Feature tool. The attribute table contains several records representing different lines - the problem is the ...
9
votes
5answers
1k views

Is the ArcGIS 10 SP2 an improvement worth installing? How buggy is it?

I've downloaded the service pack but have not yet installed it. Today I stumbled over a post on the ESRI forums where problems with reference scale and labeling are discussed. Apparently, this is now ...
9
votes
4answers
10k views

How to change feature class and field aliases in bulk?

I have over a hundred FCs, each with 10 or 20 attributes to add or change the aliases for, two or more times a year. Needless to say, this is not something I'm going to grunt my way through. How can I ...
9
votes
4answers
6k views

How to Batch Clip in ArcGIS Desktop 10 using Python/ArcPy?

I've come across a few similar questions for older versions of ArcGIS, but haven't found a suitable answer for ArcGIS 10. I have two polygon shapefiles that cover a large area (e.g. an entire ...
9
votes
8answers
11k views

How to Remove return/newline (\n) character from Field using Python and Field Calculator?

I have a geodatabase table with a field that I'm trying to remove return characters (new line). I found this post (How can I remove (chomp) a newline in Python?) of how to do it, however it is not ...
9
votes
3answers
4k views

Best method to aggregate 1m DEM mosaic to 10m DEM

I have a mosaic of a 1m LiDar derived DEM. I need to output a subset of the data as a 10m DEM. I am currently using the aggregate tool in ARCGIS 10 to produce a mean value for each new 10m pixel. ...
9
votes
3answers
7k views

Manually edit a raster to improve a classification?

I have a land cover classification derived from Landsat TM imagery - I created this classification using ENVI. I would like to edit individual and groups of cells in some areas of the classification ...
9
votes
3answers
5k views

How much RAM can ArcMap use?

I am exporting 36"x48" label intensive maps as PDF. For urban areas, ArcMap 10 hangs or kicks back an error saying it could not complete the operation. I have a quad processor with 4 GB ram. I also ...
9
votes
2answers
3k views

Is there a ArcGIS python script development API?

I'm a somewhat experienced software engineer new to the GIS world. I started working on a GIS project that supports ArcGIS 9.3 and 10.0 and looking through existing code it looks like the main ...
9
votes
1answer
7k views

How to create a script tool that will create a copy of a feature class and offset it by a given distance? (arcpy)

I want to duplicate a polygon feature class and offset all of the polygons by about 10 feet in both the x and y directions. I asked if there was any way to do this last week, and I was informed that I ...
9
votes
1answer
294 views

What is ArcSDE API used for?

To create applications that manipulate ArcObjects there is the VBA and Java runtimes. To create application that process data with ArcToolbox tools, there is ArcPy for Python. Today, I discovered ...
9
votes
2answers
2k views

Changing from layout view to data view using ArcPy?

Is there a way to change from layout view to data view using Python and ArcMap 10? I would prefer to do it using ArcPy.
9
votes
2answers
3k views

How to reclassify a very large land cover dataset?

Consider the NLCD2001 Land Cover dataset for Alaska (download link). I need to reclassify this dataset so that only pixels of value 41, 42, and 43 are preserved; all other pixel values should become ...
9
votes
2answers
243 views

How to count zero values in a table in rows and write it to new field?

This is a very simple task to do but I can't understand the right syntax. I have a shapefile whose attributes are similar to the following: FID Shape FIELD1 FIELD2 FIELD3 ... 0 Polygon 0 1 ...
9
votes
3answers
949 views

Creating raster by randomly choosing cell value from multiple overlapping rasters?

I'm using ArcGIS Desktop 10 with its Spatial Analyst extension. How do I combine multiple rasters into one, always choosing randomly from the values of overlapping cells? I have an image that may ...
9
votes
4answers
528 views

ArcView 3.x Avenue Bitmaps (Tabs?) vs. ArcView 10 Python Cursors

Note: While this question has an answer, any further tips for optimizing a cursor process would be greatly appreciated. I will be monitoring for any updates. Currently, my boss (who works in Avenue) ...
9
votes
2answers
1k views

Inserting newlines in Rectangle Text elements via ArcPy causes overlap?

I ran across an issue the other day when I tried to use ArcPython's mapping module to edit rectangle text elements with newlines (\n) in an ArcMap document. Here's what the output looked like: ...
9
votes
2answers
2k views

Error handling with python script in ArcGIS 10

I have a python script that I am using to create a list of all mxd files (with full pathing) in our Projects folder. The script then uses that to iterate through the list and do a ...
9
votes
3answers
6k views

How can I add dynamic text to a layout from an attribute table?

I was trying to figure out how to use dynamic text from an attribute table in a collection of Data Driven Pages in ArcGIS 10. I've looked in the help files, but can't find anything on dynamic text ...
9
votes
2answers
5k views

Is there a difference in performance between Merge and Append in ArcGIS?

Often I find myself in a situation where I don't care whether or not my tool produces a new feature class, but I do care how long it takes to combine all of my large datasets. Does it take longer to ...
9
votes
2answers
298 views

Custom implementation of ArcGIS function

I would like to find out what it takes to create a custom implementation of an ArcGIS function. In particular, I would like to implement GeoAnalyst.ISurfaceOp2.Visibility() in order to get it to run ...
9
votes
3answers
2k views

ArcGIS Python Tool - Importing Custom Script Into ToolValidator Class

I had posted a question last week about customizing a ToolValidator class and got some very good answers. In working with the proposed solutions, I have created a custom module that performs queries ...
9
votes
1answer
2k views

Is there a way to show a layers feature count in the TOC?

I'm using ArcGIS 10. In ArcMap's table of contents (TOC), is there a way to have the "Layer Name" automatically show a count of the total number of features in each layer? I was thinking the TOC ...
9
votes
1answer
840 views

Calculating distance from points to different class in raster

I am looking for some advice on how to calculate the distance from a point to a different class of a raster. Specifically, I have observations (points) of animal use overlaid on land cover data. For ...
9
votes
1answer
2k views

How can I use a neural network in GIS?

I'd like to learn how to use a neural network in GIS. I surfed in the internet to find good resources or a tutorial about this but I couldn't find any helpful resources. Are there any good references ...
9
votes
4answers
28k views

Add Google Basemap to ArcGIS

I am looking for a way to add Google Earth imagery to ArcMap 10. Over a year ago, a GIS.SE member mentioned Arc2Earth was the only way to accomplish this (04/2011 thread). Another somewhat ...
9
votes
4answers
25k views

How to extract raster DEM elevations to vector attribute tables in ArcGIS 10?

I have an ArcMap 10 project with multiple layer groups. One layer is a raster DEM, another layer group is a bunch of vector shapefiles (including points, lines and polygons). The client wants all ...
9
votes
2answers
2k views

What is the best way of refreshing the view after drawing graphics?

I draw a polygon on button click to highlight a feature. Then I need to refresh the ActiveView to show the new polygon. This lines do work: ...
9
votes
2answers
743 views

What happens to feature class when importing to feature dataset?

I am creating a model that needs to ensure that all input datasets end up in the same coordinate system (among other things). I was originally going to batch project all of the datasets whether they ...
9
votes
2answers
430 views

How to use IRelationalOperator2 and GeometryBag

I want to use the IsNear method of IRelationalOperator2. The documentation says that GeometryBag supports the IRelationalOperator2 interface. But this just doesn't work and results in an exception ...
9
votes
1answer
15k views

creating a dem from contours

I have a large set of contours that I received broken down into several different subsets. I have merged most of the subsets together creating a larger set of contours in three different files. I have ...
9
votes
3answers
1k views

What software to use as an all-around solution for mining GIS?

My employer wants me to look into constructing geology maps, modeling 3D subsurface geological formations, producing geological cross sections and other mining related products from various drill hole ...
9
votes
4answers
354 views

How to change the “W” (English) to “O”(French) on the North Arrow direction using ArcMAP 10.0?

How to change the "W" (English) to "O"(French) on the North Arrow direction using ArcMAP 10.0? I tried to convert the North Arrow sign to graphic but it didn't work.
9
votes
1answer
667 views

Can concurrent processes be run in a single model?

In model builder (for Arc GIS 10) is it possible to run two or more geoprocessing operations concurrently? For example I have to run repair geometry on 2 files and then merge them. Currently it ...
9
votes
1answer
1k views

Why does ArcGIS “forget” my specified default GDB for a map document (mxd)?

I'm using ArcGIS 10.0 on Windows 7 64 bit Ultimate. I've noticed that sometimes ArcMap's geoprocessing tools as well as scripts seem to forget my setting in the mxd (confirmed via arcpy.env.workspace ...
9
votes
3answers
1k views

How can I digitize features on an Y,Z plane in ArcGIS?

How can I geo-reference and digitize features on a Y,Z plane of a vertical cross-section in ArcGIS? The surface coordinate system is NAD 83 UTM 15. This is a simplified version of the question found ...
9
votes
1answer
248 views

How to create a branch network from several input points to an unique outlet in minimizing the distances?

I am searching a way to "hydrologically" connect upstream points to a unique downstream outlet by creating an optimized stream network as pictured below... The cummulated lenght of the stream lines ...
9
votes
1answer
906 views

Large Scale Geocoding and Processing in ESRI

Ok, so I guess this kind of a informal query/survey about how big a datasets you are using in your ESRI worlds... I am building and maintaining a statewide dataset, where I have to process down to the ...
9
votes
2answers
1k views

How can I get weighted Flow Accumulation to deal with negative values? [duplicate]

here's one I haven't seen anywhere, to my surprise. I am trying to do something a little different with Flow Accumulation, which I would think has been attempted before, but it's stumping me for now. ...
9
votes
0answers
7k views

Splitting feature class by unique values for an attribute/field in ArcGIS for Desktop? [duplicate]

I would like to split a single shapefile into multiple shapefiles by using unique values for one attribute/field to select features for each value out into a new feature class. I found ET Geowizard ...
8
votes
5answers
9k views

Remove feature layer using ArcPy script?

I have an ArcPy based script where I'm trying to intersect two layers where one layer must have its centroid in the other layer. Since I need to know that one layer (feature_layer below) includes ...
8
votes
2answers
1k views

What does an asterisk (*) mean when shown beside a field name in the attribute table?

What does an asterisk (*) mean when shown beside a field name in the attribute table? I would think those are reserved field names but they are not.
8
votes
6answers
17k views

ERROR 000212: Cannot create XY event source Failed to execute (MakeXYEventLayer)?

I have a csv file that is 133mb in size and has over 1.3 million lines of data. Each line of data has its own lat/long and I was wondering what would be the best way to display those points based off ...