ArcGIS 10.0 is a specific software version of ArcGIS.

learn more… | top users | synonyms (2)

33
votes
7answers
5k views

How can I effectively debug arcpy Python 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(). Are ...
22
votes
9answers
3k views

What are some resources for learning ArcPy?

I would like to learn ArcPy, but I do not know quite where to begin. Does anyone have any good advice on where I should start to learn ArcPy?
19
votes
3answers
1k 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 ...
18
votes
6answers
3k views

Has anyone found any informative documentation about ESRI's ArcPy Python module?

Has anyone found any informative documentation about ESRI's ArcPy Python module?
18
votes
3answers
3k 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 ...
18
votes
9answers
8k 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 ...
17
votes
5answers
5k views

Ways to Speed Up Python Scripts Running As ArcGIS Tools

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 ...
17
votes
3answers
11k views

Layers having the same coordinate system should overlap, but they don't. What's wrong?

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 ...
17
votes
5answers
3k 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 ...
17
votes
1answer
708 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 ...
16
votes
7answers
7k views

ArcCatalog 10.0 complains that spatial references don't match between a feature dataset and a feature class that have the same coordinate system?

I have a feature dataset that is using the GCS_WGS_1984 as the geographic coordinate system. It includes a few feature classes. This feature dataset is itself in a file geodatabase that contains a ...
16
votes
3answers
9k views

ArcPy and running Python scripts (with parameters) within another Python script

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 ...
16
votes
5answers
2k 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 ...
15
votes
6answers
4k views

ArcMap 10.0 Python Field Calculator, Find/Replace Double Quotes

I'm trying to use the Field Calculator (ArcMap (10)) 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
1answer
244 views

Are there any standards or common practices for performing a network analysis for emergency response?

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

Port “Producing Building Shadows” Avenue code to ArcGIS 10

Whuber provided an answer here Producing building shadows? which required using Avenue code. Any idea how to make it work in Arc 10? Thanks in advance.
14
votes
3answers
2k 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 ...
14
votes
6answers
5k 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 ...
14
votes
13answers
21k views

How to a convert LiDAR XYZ files to DEM / DSM?

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

Can i use ArcPy to get layer symbology?

Hello all 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? Thanks in advance
14
votes
4answers
2k 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? ...
14
votes
2answers
3k 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?
13
votes
7answers
3k 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? ...
13
votes
2answers
2k 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) ...
13
votes
5answers
2k 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 ...
13
votes
1answer
2k views

How to have a python script self terminate in ArcMap10?

I have tried sys.exit, but it doesn't seem to work in ArcMap. Anyone know how to do it?
13
votes
6answers
5k 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 ...
13
votes
2answers
2k views

Add a new group layer with python ArcGIS 10

Does anyone now how to add a group layer with python can I use arcpy.mapping.AddLayer but surely this is only for an actual layer as opposed to a group layer. so far I have this import arcpy mxd = ...
13
votes
1answer
885 views

How to get selected Features/Geometry from Windows Clipboard in ArcMap/C#?

I have a custom tool in ArcMap 10. The Workflow is the following: Select Features in a Layer with the "Select Features by Rectangle" tool Copy the Features to the Clipboard using STRG+c Select the ...
12
votes
5answers
4k views

Use arcgis with SQL Server 2008 as a backend

I'm wondering how best to use arcgis] and sql 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 data type I ...
12
votes
3answers
1k 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 ...
12
votes
5answers
5k views

How to get the extent of each polygon in a shapefile?

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 ...
12
votes
5answers
2k views

How can I programmatically get the path of “Python.exe” used by ArcMap

I am working with an add-in of ArcMap in c#. From c# code, i have executed some python scripts. Now, to run those script, I have hard-coded python path. But this is not portable. So, I want to get the ...
12
votes
3answers
728 views

How to compare schemas from two File geodatabases?

We have template geodatabase, which we send out to our regional Data creators. They update these geodatabases and digitize all the data from their region in the predefined featureclasses. Now that we ...
12
votes
8answers
5k views

How do I create a 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 ...
12
votes
4answers
4k views

No way to De-authorise ArcGIS Server? How to get license back?

At v10 of ArcGIS Server, from what I understand of the new license model, it is not possible to de-authorise ArcGIS Server (like you can with Desktop) Clients have visibility over their licences with ...
12
votes
1answer
1k views

How do you write a Python script for repairing data sources in ArcGIS 10

So, 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 ...
12
votes
2answers
5k views

Specifications for GIS desktop hardware

I'm in the market for a new pc/laptop. Judging from what I've seen around here, a lot of people are discussing having a laptop for their personal GIS use. Portability is not an issue for me, so I'm ...
12
votes
2answers
1k views

Multiprocessing Errors - ArcGIS implementation

I was wondering if anyone else in the community here has attempted to use multi-processing for spatial analyses. Namely I am trying to iterate through a series of rasters, create a multiprocessing job ...
12
votes
2answers
5k views

How can I sucessfully import 3D surface and features from ArcGIS 10 into Sketchup 8?

What are the steps required to successfully export an entire 3D model (composed of TIN surfaces, 3D polygons, 3D polylines and 3D points) from ArcGIS 10 to Sketchup 8? Preferably, I would like the ...
12
votes
2answers
726 views

Using “Merge Divided Roads” tool with lesser parallel lines

When using the "Merge Divided Roads" tool, it merges roads that "trend generally parallel to one another". This means that from figure one.. It will merge the beginning, where the roads are close to ...
11
votes
3answers
2k views

How do I use sys.exit(0) in an arcpy script to exit early without having an error message show up?

I have an arcpy tool script for ArcGIS 10.0 that has two major functional sections. The user can choose whether or not to run the second section. If the user chooses NOT to run the second section, I ...
11
votes
1answer
734 views

How can I display raised error messages to the user in the ArcGIS geoprocessing results window?

Question: Can print statemnts raised from a custom exception be displayed in the gp results window? Background: I modified a script that I found that takes two inputs from a user, finds the ...
11
votes
3answers
5k views

How to split a line into a set of equidistant points

Used to rely on XTools for this, but in my current environment, I don't have access to it. I'm trying to do this in ArcMap10. The goal is to break a line representation of a stream into a set of ...
11
votes
1answer
3k views

How do you view multiple tables at the same time in ArcMap 10?

My original question was: How do you undock the tables in the ArcMap attribute window? because that's how I thought it should work in the new ArcGIS 10 docking environment. Either it isn't ...
11
votes
1answer
643 views

Bug in F******** spatial relation? (I'm not cussing)

I would expect ISpatialFilter.SpatialRelDescription to behave consistently with IRelationalOperator.Relation. However, when I run the code below, I get: Total features : 44368 Count1: 9 ...
11
votes
4answers
1k views

ArcGIS - How do I group corner-touching contiguous polygons?

Using ArcGIS 10, I have a Feature Class which I converted from a Raster (GRID) (Raster To Polygon Tool). There are approx. 180,000 polygons. The attribute table contains a [grid_code] field which ...
10
votes
1answer
1k views

Can ArcGIS 9 and 10 coexist peacefully on same computer?

We have a copy of Hawths tools that only work in ArcGIS 9.3, so I would like to keep it on my computer. However, most of the work we do in our lab is done with ArcGIS 10. Therefore, would it be OK to ...
10
votes
3answers
13k views

How to edit or convert ArcGIS 10 layer style to a SLD's file

Greetings everyone, 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 ...
10
votes
2answers
820 views

How to compute a new attribute based on changes in another attribute?

I am attempting to classify a set of gps time-encoded point data into behaviors based on different attributes. I have created an attribute that is 0 for home and 1 for away based on location, and now ...