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

How to edit (particularly flip direction of) polyline obtained through UpdateCursor?

I want to flip the direction of a polyline feature obtained as a result of an Update query; e.g. lines= arcpy.UpdateCursor(myFeatureClass,myQuery) dsc= arcpy.Describe(myFeatureClass) try: for ln ...
26
votes
1answer
4k 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
4answers
28k 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 ...
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 ...
23
votes
5answers
6k 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 ...
15
votes
8answers
32k 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 ...
15
votes
6answers
18k views

Burning stream network into DEM layer using ArcGIS Desktop?

I am working on a DEM that in an area where there is little relief. I would like to 'burn' the river network into the DEM so I can calculate flow accumulation and flow length accurately. I am ...
8
votes
6answers
19k views

Search if field exists in feature class

I have a few dozen feature classes, one of which contains the field I am looking for. They are stored in several different file geodatabases. Is there a quick way of searching each feature class to ...
19
votes
3answers
9k 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?
15
votes
5answers
9k 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 ...
10
votes
1answer
3k views

Making radial flow map showing curved lines over short distances (20km) using ArcGIS for Desktop?

Esri have provided instructions on how to make a radial flow map but I think the curved lines will only be produced over a long distance, like half the globe. For short distances (20km) a geodetic ...
9
votes
5answers
1k views

python.multiprocessing and “FATAL ERROR (INFADI) MISSING DIRECTORY”

While trying to do multiprocessing with arcpy, I am occasionally running into this error: FATAL ERROR (INFADI) MISSING DIRECTORY I have no clue what is triggering this error, and it crashes the ...
6
votes
2answers
4k views

Using File Geodatabase coded domain with ArcGIS Online?

I created a File GDB and set up a domain, and the domain was assigned to a field in a feature class. The domain behaves as expected on ArcGIS Desktop (dropdown list when editing the content of that ...
14
votes
3answers
8k views

Running ArcGIS Desktop in virtual machine?

I'm trying to run ArcGIS Desktop 10.0 in a Windows 7 (32bit) virtual machine. I don't have any native Microsoft Windows available. I'm using VirtualBox from Oracle for virtualization in a native linux ...
11
votes
3answers
10k views

Adding dynamic text to layout from attribute table with Data Driven Pages?

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

Listing feature classes in multiple geodatabases in folder using ArcPy?

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
5answers
6k views

Programmatically edit/update metadata in ArcGIS?

Has anyone succeeded in programmatically updating metadata in ArcGIS 10? Considering using Python/arcpy but ArcObjects (C# or Python/comtypes) is also a possibility. I need to update both the FGDC ...
6
votes
3answers
3k views

Is it possible to target an ArcMap add-in to an earlier version?

My development environment is Visual studio 2010 with ArcGIS Desktop 10.1 installed. I need my add-in to support 10.0 AND 10.1. Right now, if I try to install it on ArcMap 10.0, it fails. Is it ...
6
votes
1answer
4k views

Using Range in Python expression of ArcGIS Field Calculator?

what is the python expression for defining a range of numbers? I have tried numerous combinations but cannot get a simple range of angles (100 -200) to compute correctly. Screen shot :
3
votes
1answer
750 views

nx_spatial does not read all shapefile features

I have a polyline shapefile for a road network. The roads are split at every intersection (node), e.g. if two roads intersect at one point, then they are split into four links(edges). So using the ...
15
votes
3answers
5k views

Selecting 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 ...
13
votes
2answers
3k 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 ...
6
votes
1answer
2k views

Does Zonal Statistics value change when applied on subset of data using ArcGIS Spatal Analyst?

I have generated zonal statistics using feature zone data on a value raster. This shapefile contains about 20000 polygons and the analysis went without a hitch. While testing quality, I ran the same ...
6
votes
3answers
4k views

Is there ArcGIS Symbol Library PDF for ArcGIS Desktop i.e. index for symbols/line weights?

ESRI has an old set of PDFs from 2004 showing all the symbols available in ArcGIS at the time and their names. I don't need it often but if I'm searching for a certain symbol and don't know its name ...
5
votes
3answers
2k views

How to identify feature vertices that are part of a donut hole in ArcGIS 10?

I´m exporting the coordinates of polygon vertices to a CSV-File using the "Feature Vertices to Points" and then the "Export feature attributes to ASCII" tools. Some of these polygons have holes (...
4
votes
3answers
3k views

Is there a Raster Equivalent of the Split tool?

I have the DEM of a State in ERDAS Imagine (.img) format. I have a shapefile containing the counties of that state. I want to split the whole raster into DEMs of the individual counties. The counties ...
1
vote
3answers
5k views

Replacing NULL values in geodatabase table?

How do you update NULL values within a geodatabase table using the ArcGIS Field Calculator (service pack 4) without changing other values to NULL? I've tried the suggestions on this previous question:...
14
votes
2answers
8k views

Is there a line symbology that also shows vertices? [duplicate]

Is there such a thing as a line/vertices symbology? If not a workaround? In some situations, particularly when editing, I would like to see my lines as well as all the vertices similar to the effect I ...
13
votes
2answers
15k 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
4answers
9k views

Finding Clusters of N Points Within X Distance using ArcGIS Desktop?

We have tried two methods of cluster analysis: Cluster and Outlier Hot Spot ... but neither meets our specification which has these 3 parameters: a Set of Point features N points within a Cluster X ...
10
votes
2answers
4k views

Finding centre point of a raster in ArcGIS?

If I have, say, a rectangular and georeferenced raster file loaded in an ArcMap 10 document (.tiff w/ associated tfw), how do I easily find its centre point and store that point in a points vector ...
9
votes
4answers
9k 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 ...
7
votes
1answer
3k views

Performing table look-up using Python in ArcGIS Desktop?

Using ArcGIS 10.1 the arcpy module has a TableToNumPyArray command, which converts a table into an array. Unfortunately I don't have access to 10.1 on my work PC. Is there a workaround which will ...
7
votes
3answers
39k views

Using String Functions (LEFT, RIGHT, MID) in Select By Attributes against a File Geodatabase using ArcMap 10

I finally (albeit reluctantly) made the switch from a personal geodatabase (pGDB) to a file geodatabse (fGDB) not too long ago. The main reason it took so long to switch has to do with how Select by ...
6
votes
2answers
3k views

Installing ArcGIS 10 with Python(x,y)

EDIT 10/20/2011: The problem I was having below was caused by trying to install Python(x,y) after ArcGIS 10. I got a new machine yesterday and instructed IT to install Python(x,y) 2.6.5.3 (has ...
5
votes
1answer
4k views

Exporting each layer in map to separate image using ArcPy?

I have a mxd file with multiple layers I have to export to PNG/JPG. I would like to create a script which turns on layers one at the time before they are exported. So far I have come up with the ...
5
votes
2answers
1k views

How to Calculate Custom Zonal Statistics?

I have a vector polygon shapefile outlining counties for which I have a raster of nighttime-luminosity data. I've been able to compute Zonal Statistics in ArcGIS 10.0 using Zonal Statistics as Table ...
4
votes
4answers
4k views

ArcGIS 10 exports losing precision with large numbers

I wonder if anyone else has run into this problem; and I'm baffled as to its reason and solution. Whenever I do an export of features that have large-number attributes (over 14 digits) to a shapefile,...
4
votes
3answers
16k views

Calculating projected area of polygons with field calculator in ArcMap?

I've got a polygon featurelayer in ArcMap 10. The coordinate system of the featurelayer's featureclass is web mercator. The dataframe of the map uses an equal-area projected coordinate system. I've ...
3
votes
2answers
460 views

Generating fixed distance buffer including slope using ArcGIS Desktop?

Is it possible to generate a fixed distance buffer including slope using ArcGIS Desktop 10? The distance on the map is not equal to the distance on the ground due to the incline. If the ...
11
votes
5answers
9k views

Activating custom ITool from form without adding it to ArcMap AddIn toolbar?

I'm working on an add-in for ArcMap 10.0 that adds a toolbar to ArcMap. One command (OpenModelessDialogCommand) button on that toolbar opens a modeless WinForms dialog, from which a tool (MyTool) can ...
11
votes
4answers
15k views

ArcGIS fails to import all records from huge CSV file to file geodatabase table despite being within FGDB table size limits

I'm using ArcGIS 10.0 on Windows 7 64-bit with 4GB of RAM. I have some very large tables in CSV format to import to ArcGIS, they all have about 30 fields, upwards of 5 million records per table (a ...
8
votes
1answer
9k views

Converting ArcGIS date value to string reading in mm/dd/yyyy format using ArcPy?

I am writing an arcpy tool script in ArcGIS 10.0. In a fGDB feature class, I have a Date type field. I gather that the values in the Date field are stored as long integer dates, but they display in ...
7
votes
1answer
13k views

Calculating line segment lengths within polygon using ArcGIS Desktop?

I have a layer with line segments and a layer of polygons (in this case, buffers around points). I need to create a new field for each polygon that contains the total length of all line segments ...
7
votes
3answers
4k views

Creating a raster surface of overlaps from vector polygon shapefiles?

Basically what I'm trying to do (in ArcGIS 10) is to compare three vector files in order to create a 'comparison' raster layer. I tried using Data Comparison (under Data Management tools) but it didn'...
6
votes
2answers
7k views

How to find and delete identical points?

I recently performed Integrate on a merged point feature class in ArcGIS 10.1. I specified "1 meter" XY tolerance for the Integrate command. The resulting point feature appears to be what I want ...
5
votes
3answers
2k views

Resequencing Legend Items using ArcPy?

I create various layers programmatically using ArcPy. I can adjust how the layers are sequenced using the arcpy.mapping.MoveLayer command. However, I want to have the legend reflect a different ...
5
votes
2answers
4k views

Using ArcGIS ModelBuilder to perform In-line variable substitution for input data path? [duplicate]

Does anyone know how/if you can use in-line variable substitution for an input path name in ModelBuilder for ArcGIS 10? I used "get field value" to retrieve a code from one feature class, and I ...
5
votes
2answers
6k views

ArcGIS 10.0/arcpy: How to create a polygon geometry from inner and outer ring point arrays?

I have two arrays, each containing a closed ring of points, one for an outer ring and the other for an inner ring, the latter running counterclockwise, of course. I am using the arcpy.Polygon() ...
5
votes
3answers
2k views

Select maximum number of points more than x meters apart

I have a dataset of ~15,000 points that are locations along ROV survey tracks where measurements were taken. These points can be less than 5 meters apart and the survey tracks often cross or can be ...