Questions tagged [arcgis-10.0]

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

Filter by
Sorted by
Tagged with
61
votes
3answers
81k views

Layers with same coordinate system should align/overlap in ArcMap 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 ...
50
votes
5answers
10k 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(). ...
41
votes
5answers
19k views

Calculating average width of 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,...
39
votes
4answers
9k views

Using directional shading on boundaries for cartographic effect in ArcGIS Desktop?

The attached screenshot of a National Geographic map shows some beautiful directional shading of boundaries. I'm trying to reproduce this sort of shading for a burn perimeter map, as I want to ...
35
votes
7answers
26k 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 ...
31
votes
6answers
19k 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 ...
29
votes
6answers
26k 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 ...
29
votes
7answers
18k 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....
29
votes
5answers
60k 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 ...
28
votes
12answers
80k views

Getting boundary of raster image as polygon in ArcGIS Desktop?

I have a rectangular raster image in ArcGIS Desktop. 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 quadrilateral ...
28
votes
5answers
4k 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 ...
26
votes
5answers
7k views

Using 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 ...
26
votes
1answer
5k 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 ...
25
votes
9answers
70k 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 ...
25
votes
20answers
25k 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 ...
25
votes
3answers
28k 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 ...
25
votes
3answers
4k views

Packing Polygons within polygon using ArcGIS Desktop?

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 ...
23
votes
5answers
22k 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 ...
23
votes
4answers
32k 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 ...
23
votes
3answers
1k views

Counting consecutive pixel values for set of rasters using ArcGIS Spatial Analyst?

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

ArcMap.exe processes stay open after closing ArcMap? [closed]

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 ...
22
votes
3answers
6k 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 ...
22
votes
3answers
9k 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 ...
22
votes
3answers
1k 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 ...
21
votes
6answers
8k views

Documentation for ArcPy site-package?

Has anyone found any informative documentation about Esri's ArcPy Python module?
21
votes
2answers
5k views

Using ArcPy to determine ArcMap document version?

Is there a way with ArcPy to identify the version of a Map Document (MXD). I am working on a solution to inventory our MXD's and would like to know if a document is 8.1, 9.2, 10.0, etc. I am ...
20
votes
16answers
16k 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 ...
20
votes
7answers
5k 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 ...
20
votes
6answers
21k 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 shapefile. I can get the extent of the whole shapefile using file=r"D:\SCRATCH\ARCGIS\...
19
votes
4answers
17k views

Using ArcPy to zoom to selected feature?

Is there a way to zoom to the extent of a selected feature using the ArcPy module in ArcGIS Desktop 10.
19
votes
3answers
10k views

Finding angle between intersecting features in two feature classes using ArcGIS Desktop and Python? [closed]

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?
18
votes
14answers
42k views

Reordering fields (permanently) in file geodatabase using ArcGIS Desktop?

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 ...
18
votes
2answers
8k views

Counting and rasterizing 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 ...
17
votes
5answers
13k views

Using SRTM Global DEM for Slope calculation?

I have downloaded SRTM GDEM (~90 km resolution). I am using ArcGIS 10. I have tried to use spatial analyst to compute for slope. However, I can not compute for the slope. The output values has ...
17
votes
6answers
24k views

Removing only donut holes from polygons using ArcGIS Desktop?

I am using ArcGIS Desktop 10.0. I have a trick for removing the donut holes, which is converting the polygon to line and then creating polygon out of the lines and in the end merging all of them. ...
17
votes
6answers
9k 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 ...
17
votes
11answers
23k views

Why won't ArcMap 10 snap? [closed]

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

Create weighted Thiessen polygons?

I have a point shapefile and I create Thiessen (Voronoi) polygons programmatically using this scripting syntax: CreateThiessenPolygons_analysis (in_features, out_feature_class, fields_to_copy) ...
17
votes
1answer
7k views

Self terminating Python script in ArcMap?

I have tried sys.exit, but it doesn't seem to work in ArcMap 10. Anyone know how to do it?
16
votes
3answers
4k views

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

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

How to get X Y coordinates and cell value of each pixel in a raster using Python?

I'm really new to Python and I would like to know whether there is a quick method to get cell values of a raster pixel by pixel and the coordinates (map X Y coordinate of centre of each pixel) using ...
16
votes
7answers
10k 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 ...
16
votes
7answers
8k 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? ...
16
votes
3answers
7k views

Using ArcPy to get layer symbology?

Since ArcGIS 10 comes with the ArcPy package, I'm wondering it is possible to use ArcPy functions to get Symbology (i.e color, width...) of a layer?
16
votes
5answers
10k 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 ...
16
votes
9answers
38k 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 ...
16
votes
7answers
9k 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 ...
16
votes
5answers
61k 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 ...
16
votes
4answers
27k views

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

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 ...
16
votes
3answers
9k views

Cartographic techniques for symbolizing routing data [closed]

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 ...

1
2 3 4 5
72