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

learn more… | top users | synonyms (2)

40
votes
4answers
7k views

Debugging ArcPy scripts?

I have written many Python scripts using ArcPy in ArcGIS 10, and so far my only means of debugging is restricted to printing messages to the geoprocessing results window using arcpy.AddMessage(). ...
36
votes
3answers
41k views

Layers with same coordinate system should align/overlap but do not?

I put 4 different layers into my ArcMap document, but only one of them will show up on the map! I should be seeing the other 3 layers as well. When I do a Zoom to layer, I can see one layer, but I ...
30
votes
4answers
8k views

How can I calculate the average width of a polygon?

I'm interested in examining the average width of a polygon that represents the road surface. I also have the road centerline as a vector (which is sometimes not exactly in the center). In this example ...
26
votes
6answers
13k views

Ways to Speed Up Python Scripts Running As ArcGIS Tools [closed]

This is a pretty general question. I just wondering what tips and tricks GIS programmers have used to speed up arcpy scripts that you import into the toolbox and run. I work most everyday writing ...
25
votes
5answers
3k views

Coloring thousands of polygons so each is distinct from its neighbors?

I am using ArcGIS 10, and I have layers of the 2010 Census blocks, block groups, and tracts. There are thousands of polygons in these layers. I want to color them so that each is distinct from its ...
24
votes
1answer
2k views

Gravity/Huff model tools

I am looking for a way to simulate a gravity model using a point-based layer. All my points are assigned a z-value and the higher this value, the larger is their "sphere of influence". This influence ...
23
votes
6answers
19k views

Defining projections for multiple shapefiles in ArcMap?

I have over 100 shape files that don't have .prj file and thus when I bring them into ArcMap 10 they show the coordinate system as unknown. I know all of the shape files coordinate system is GCS WGS ...
21
votes
3answers
2k views

Packing Polygons within polygon

I have a Boolean raster. In the grey areas of the raster I would like to fit a given size polygon within a contiguous extent. Basically, I have an irregular polygon, and i would like to "fit" a ...
21
votes
5answers
5k views

Why do ArcMap.exe processes stay open after I close ArcMap?

I realized that this is happening months ago when I was not able to alter table structure in an instance of ArcMap after another instance was closed. When, for example, I remove or add some fields to ...
20
votes
5answers
5k views

How to use ArcGIS functionality in Python without running ArcMap (e.g. separate editor/environment)

I'm trying to take the next step in programming ArcGIS with Python and see if its actually possible to run my script/code without having to load ArcMap and paste them into the Python window. I imagine ...
20
votes
4answers
16k views

Running Python scripts (with parameters) within another Python script with ArcPy?

A common coding pattern used in AML was to run an AML (with parameters) inside another AML. An application that I'm currently developing would benefit from being able to run a Python script (with ...
20
votes
7answers
12k views

Methodology for creating accurate drainage networks (and catchments) from high resolution LiDAR DEM?

This is not the first time I've stumbled over this issue; it seems that I am unable to generate a correct drainage network model and the resulting catchments from full resolution (1m cells) LiDAR data....
19
votes
3answers
1k views

How to count consecutive pixel values for a set of rasters?

I'm using ArcGIS 10 with Spatial Analyst. I have a set of rasters (8 in total) that only every contain a 1 or a 0 for each cell. Each raster represents a different years worth of data. For arguments ...
19
votes
2answers
5k views

Adding new group layer with ArcPy?

Does anyone now how to add a group layer with Python in ArcGIS Desktop 10? I can use arcpy.mapping.AddLayer but surely this is only for an actual layer as opposed to a group layer. so far I have ...
19
votes
3answers
924 views

Dealing with bridges and tunnels when modeling raster least cost paths?

I'm currently using ArcGIS 10 Spatial Analyst's Cost Path tool to model pedestrian routes. I have sidewalks, fences, buildings and a ton of pedestrian scale features, all combined into a cost surface ...
18
votes
16answers
12k views

ArcGIS Desktop 10 Tips and Tricks

A couple times a month, I check out the various tips and tricks CW posts on StackOverflow and always learn something new. I went back and forth as to whether to pin this question to a specific ...
18
votes
18answers
16k views

Why can't the breakpoint be “hit” when debugging an ArcGIS 10 Add-In?

Now and then I run into the following problem: I start debugging the Add-In and breakpoints are ignored. Almost seems like the communication between the IDE and the component is not working. My ...
18
votes
9answers
4k views

Code-completing/auto-completing ArcPy scripts using Notepad++ (external editor)?

I have been scripting in Python for ArcGIS 10, and so far I have just been using Notepad++. I like how the Python command line interface code-completes arcpy functionality for you, showing you your ...
18
votes
3answers
4k views

Do ArcGIS SpatialReference object factory codes correspond with EPSG numbers?

I've got a project where I'm reading in geometry objects from text files to put them in ArcSDE. These geometry objects have an associated EPSG code, and I'm looking for a way to ensure they're in the ...
18
votes
4answers
13k views

Using Arcpy to zoom to selected feature?

The answer to this may be a simple yes or no, but I'm hoping that someone is aware of a way to zoom to the extent of a selected feature using the ArcPy modules in ArcGIS 10.
18
votes
3answers
30k views

Converting ArcGIS layer style to Styled Layer Descriptor (SLD) file?

I am putting together a GIS server using GeoServer and need some help with importing my layer styles from ArcGIS 10 to SLD format. I have one layer in ArcMap properly symbolized and labeled, how ...
17
votes
8answers
15k views

Creating shapefile showing footprints of Rasters?

I have around 1,000 satellite images in tiff format, and I want to create a shapefile which will serve as an index to the rasters. This is something similar to a raster catalog, but I do not want to ...
17
votes
3answers
14k views

Differences between Raster Dataset, Raster Catalog, and Raster Mosaic

I have about 40 scanned, colorful Geology maps that are GeoTiffs. I want to bring them into an Esri FileGeodatabase to lower their size, combine them as one and display them with a mostly transparent ...
17
votes
2answers
5k views

How to find the angle between intersecting features in two featureclasses?

I have two intersecting line featureclasses. I want to find the angle at each point of intersection using ArcGIS 10 and Python. Can anyone help?
17
votes
1answer
534 views

Performing Network Analysis for Emergency Response using ArcGIS Desktop?

I am working on a project using Network Analyst to determine official emergency response zones for fire departments. The shape of each zone will be determined by the network (at least 1 department ...
16
votes
6answers
6k views

Documentation for Esri's ArcPy Python site-package?

Has anyone found any informative documentation about Esri's ArcPy Python module?
16
votes
8answers
34k views

Extracting coordinates of polygon vertices in ArcMap?

I've got about a dozen polygons in a feature class loaded in ArcMap 10, all in geographic WGS 1984. How do I easily obtain the coordinates associated with each vertex of each polygon in that feature ...
16
votes
3answers
5k views

Using ArcPy to get layer symbology?

Since ArcGIS 10 comes with ArcPy package, i'm wondering it is possible to use ArcPy functions to get Symbology (i.e color, width...) of a layer?
16
votes
9answers
15k views

Why won't ArcMap 10 snap?

I'm really confused by this. ArcMap will seeminly randomly decide to not allow snapping when editing. Sometimes its only for certain features, sometimes for only parts of the same feature (e.g. one ...
15
votes
6answers
7k views

Why is the performance speed between ArcGIS and QGIS so different?

Ok I am not a programmer but a prolific GIS user. I know that QGIS is written in C++ and ArcGIS in ??? but for most of my tasks lately I always try to use QGIS not only because it is free but due to ...
15
votes
6answers
6k views

Find/Replace Double Quotes using Python Parser of ArcGIS Field Calculator?

I'm trying to use the Field Calculator (ArcMap 10.0) to strip out double quotes in an address field (I didn't put them in there, believe me). I've tried many incantations but am still unable to even ...
15
votes
6answers
12k views

Obtaining extent of each polygon in shapefile using ArcPy?

In arcgis 10 and python I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shape file. I can get the extent of the whole shape file using file=r"D:\SCRATCH\ARCGIS\...
15
votes
10answers
33k views

Converting XYZ files (with regularly spaced xy) to ESRI GRID format?

Normally consultants (LiDAR survey) provide me with data to my specifications; already in ESRI GRID or ASCII GRID format. This way LiDAR data can be easily used with ArcGIS. This time I only have xyz ...
15
votes
5answers
5k views

How can I find the farthest point from a set of existing points?

I have a set of points as a shapefile and I want to find (the coordinates) of a new point which will have the longest possible distance from each of the existing points. Is that possible? If yes, is ...
15
votes
5answers
5k views

Using ArcGIS 10 on a virtual machine with OSX

I'm currently using ArcGIS 10 on a Windows 7 64 bit Macbook Pro (2.53 Ghz and 8GB of RAM) using VMWare. However, when I am using ArcGIS I find it quite slow even with Windows 7 (64-bit) optimized for ...
15
votes
4answers
3k views

Where can I find examples of fuzzy logic applications in ArcGIS?

The last ArcGIS version (10) includes two arctoolbox tools for fuzzy logic (Fuzzy Membership, and Fuzzy Overlay). Does anyone know where can I find some examples showing how they can be applied? (...
15
votes
3answers
5k views

Quickest way to select ArcSDE polygon by point in ArcGIS Desktop using ArcPy?

I keep thinking that I must be missing something, but there does not seem to be a tool in ArcGIS 10 to select features (in particular polygons) from a layer at a point (X,Y) location via ArcPy. The ...
14
votes
3answers
3k views

Porting Avenue code for Producing Building Shadows to ArcPy/Python for ArcGIS Desktop? [duplicate]

Whuber provided an answer at Producing building shadows? which required using Avenue code. Any idea how to make it work in ArcGIS Desktop 10?
14
votes
10answers
32k views

Get boundary of raster image as polygon in ArcGIS Desktop?

I have a rectangular raster image in ArcGIS. My question is: how can I produce a polygon which is just the extent of the raster image? That is, I want to have a polygon layer with a single ...
14
votes
5answers
7k views

Using ArcGIS Desktop with SQL Server Spatial as backend?

I'm wondering how best to use ArcGIS Desktop and SQL Server 2008 together. At the moment we run manual imports and exports between sql 2008 and arcgis 10 shape files. With sql 2008 having a geography ...
14
votes
7answers
5k views

Is it easy to digitize in ArcGIS using the Wacom tablet?

I do just enough digitizing (and touching up/ drawing when post-processing) to perhaps warrant the purchase of a Wacom tablet. Just wondering how well it plays with ArcGIS. What are your experiences? ...
14
votes
14answers
34k views

Labels not appearing on any layer in ArcMap?

Not sure what the issue is, but I'm unable to get labels to display in ArcMap 10. The obvious things are accounted for (as far as I know). Labels are set in Properties, layers are checked to label in ...
14
votes
3answers
12k views

Including 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 ...
14
votes
2answers
4k views

How can I create weighted Thiessen polygons?

I have a point shape file and I create Thiessen (Voronoi) polygons programmatically using this scripting syntax: CreateThiessenPolygons_analysis (in_features, out_feature_class, fields_to_copy) ...
14
votes
2answers
4k views

How to count and rasterize polygon overlaps in ArcGIS Desktop?

How do you take a vector layer with overlapping polygons and turn it into a raster where each cell counts the number of polygons containing that cell? We are looking at polygons of fire burn areas ...
14
votes
3answers
5k views

Cartographic techniques for symbolizing routing data

Some common problems with displaying routes created from street data, such as bus routes, include: Routes may overlap themselves, such as when a route takes the same road in opposite directions ...
14
votes
2answers
32k views

How do I import/export KML to ArcGIS Desktop?

I have come across several scripts and tools to import and export KML into ArcGIS Desktop. Is there a one tool that: Imports/Exports KML into ArcGIS Desktop at v10 Does not cost money ...
14
votes
1answer
3k views

Repairing data sources in multiple MXDs using ArcPy?

I have about 50 mxd's with all broken layers that I have been going through and manually resetting. The data was moved from another computer and the folder structure was changed so it isn't just a ...
14
votes
3answers
16k views

Automated/geoprocesing tool to slice, clip, or cut polygons using polylines using ArcGIS Desktop?

Looking for a simpler method here. I am trying to split up / cut / slice existing polygons by using existing poly-lines. An example would be splitting a water body or land parcel at the point where a ...
13
votes
3answers
4k views

Deleting large numbers of fields in ArcGIS 10

It there a good strategy for deleting a few thousand fields from the attribute table of a shapefile in ArcGIS using either ArcMap or ArcCatalog? I know how to manually right-click and choose 'delete ...