Questions tagged [arcgis-10.0]
Use this tag when ArcGIS 10.0 is the version you are using from the ArcGIS platform.
3,570
questions
65
votes
3
answers
93k
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
5
answers
10k
views
Debugging ArcPy scripts
I have written many Python scripts using ArcPy in ArcMap 10, and so far my only means of debugging is restricted to printing messages to the geoprocessing results window using arcpy.AddMessage().
Are ...
44
votes
5
answers
27k
views
Calculating average width of polygon? [closed]
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,...
40
votes
4
answers
10k
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 ...
39
votes
8
answers
32k
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 ...
36
votes
14
answers
109k
views
Getting boundary of raster image as polygon in ArcMap
I have a rectangular raster image in ArcMap.
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 which is the ...
31
votes
5
answers
76k
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 ...
30
votes
6
answers
22k
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 ...
30
votes
7
answers
19k
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....
30
votes
5
answers
5k
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 ...
29
votes
6
answers
28k
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 ...
28
votes
8
answers
84k
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 ...
27
votes
3
answers
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 ...
27
votes
1
answer
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 ...
26
votes
20
answers
26k
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 ...
26
votes
5
answers
8k
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
3
answers
33k
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
3
answers
2k
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 ...
24
votes
5
answers
26k
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 ...
24
votes
4
answers
38k
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
5
answers
26k
views
Obtaining extent of each polygon in shapefile using ArcPy with ArcMap
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\...
23
votes
5
answers
8k
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 ...
23
votes
3
answers
11k
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
3
answers
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
3
answers
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
6
answers
9k
views
Documentation for ArcPy site-package?
Has anyone found any informative documentation about Esri's ArcPy Python module?
21
votes
2
answers
6k
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 ...
21
votes
3
answers
12k
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?
20
votes
16
answers
16k
views
Seeking ArcGIS Desktop Tips and Tricks
A couple times a month, I check out the various tips and tricks CW posts on Stack Overflow and always learn something new.
I went back and forth as to whether to pin this question to a specific ...
20
votes
5
answers
15k
views
Using SRTM Global DEM for Slope calculation
I have downloaded SRTM GDEM (~90m resolution).
I am using ArcGIS 10.
I have tried to use the Spatial Analyst tool to compute for slope.
However, I cannot compute for the slope.
The output values has ...
20
votes
7
answers
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
14
answers
46k
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 ...
20
votes
4
answers
21k
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
8
answers
42k
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 ...
18
votes
2
answers
10k
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 ...
18
votes
6
answers
71k
views
Splitting 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 ...
17
votes
6
answers
10k
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
3
answers
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?
17
votes
11
answers
26k
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
2
answers
9k
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
7
answers
15k
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 ...
17
votes
1
answer
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
3
answers
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
14
answers
64k
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 ...
16
votes
7
answers
11k
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
4
answers
20k
views
Selecting features by attribute if in Python list?
I am trying to complete a select by attribute in Python but based on the query of whether an attribute is present in a list.
Such a query at its simplest should be something like this:
qry = " \"...
16
votes
2
answers
19k
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.
16
votes
7
answers
9k
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
5
answers
12k
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
3
answers
52k
views
Removing duplicate features with same geometry in ArcMap?
Is it possible to uniquely identify each geometry in a feature layer?
Essentially I have a polygon feature layer with many rows of data represented by the same geometry. I would like 1 row for each ...