Questions tagged [arcgis-10.0]

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

8
votes
1answer
864 views

Migrating ArcPy scripts from ArcGIS 9.3 to 10?

What changes are needed to migrate scripts from the ArcGis 9.x environment/gp-object to the ArcGis 10/arcpy environment? Can anyone provide a good overview what the changes are? Can someone share ...
8
votes
3answers
3k views

Label legend interval with number of elements in ArcMap?

I have made a series of choropleth maps in ArcMap 10. When I classify the interval the bottom of the dialogue tells how many elements are in the class. Is it possible to have this number ...
7
votes
3answers
5k views

Problems setting up eclipse (with PyDev) for ArcGIS 10

I'm trying to use eclipse with PyDev to program in python. In Windows 7 x64, I've added a PATH environmental variable (PATH C:\Python26\ArcGIS10.0\python.exe;) and what I thought were the relevant ...
7
votes
2answers
2k views

selecting by attribute and specific value replace

I want to select all of the features by attribute where the attribue in myattrib is like... Selection "criteria H". That is not a problem. However then I need to replace (myattrib," H", "") except ...
6
votes
2answers
2k views

Network Analyst: arcpy's 'Solve' running out of memory

I've run OD cost matrix analysis using GUI tools n ArcGIS 10. My goal is relatively simple - find closest 50 neighbors for each origin point. The dataset I'm working with is relatively large: ...
4
votes
5answers
4k views

How to select all dangling polyline features with Arcview license?

I have a city roads shp file and would like to identify (select) all the locations where a roads ends (in other words dangles). I am working in ArcView 10. I do not want to use a topological tool ...
4
votes
3answers
5k views

Creating StreetView/Bing Bird's Eye Add-In?

I'm trying to create an Add-In for this tool: Link to Google Maps and Bing from MXD (Streetview and Bird's Eye supported) I'm not receiving an error however my browser is not opening after I select ...
13
votes
2answers
3k views

How to disable and enable drawing in ArcMap using Python?

The script that I'm writing repositions two data frames and sets their extents. When doing this, it redraws the entire Active View 4 times, slowing the script substantially. Pressing F9 or ...
10
votes
3answers
5k views

How to reclassify a very large land cover dataset?

Consider the NLCD2001 Land Cover dataset for Alaska (download link). I need to reclassify this dataset so that only pixels of value 41, 42, and 43 are preserved; all other pixel values should become ...
10
votes
2answers
11k views

Dealing with NoData in ArcGIS Spatial Analyst?

When using Spatial Analyst I regularly have issues with NoData values cropping up in the data. Various tools appear to introduce NoData values regularly. These values then cause issues with ...
9
votes
4answers
7k views

Distinguishing lines that intersect from lines that touch?

How do I distinguish between these cases in ArcGIS 10? Case 1: Both endpoints of a line touch another line Case 2: Both endpoints dangle over the lines it intersects I am looking at the Trim Line ...
9
votes
4answers
14k views

Dissolve not working in ArcGIS 10

The dissolve tool is not working for me when I use ArcGIS 10. It works perfectly when I use version 9.3. Any help?
8
votes
3answers
1k views

Longitudinal Issues with NetCDF data

I am seeking advice on working with world data sets where the GCS has a positive range (0 degrees to 360 degrees). The data I am working with are NetCDF oceanographic data and have positive coordinate ...
8
votes
2answers
3k views

Converting Visio diagram to GIS layer for ArcGIS Desktop?

I have a office floorplan that is a standard Visio drawing file (*.VSD) that I would like to convert into a GIS feature class (shapefile, GDB, PostGIS, or any other applicable format, it doesn't ...
5
votes
2answers
40k views

Looking for a Tool to Calculate Distance Between Points (Between Layers)

I am a college student using ArcEditor 10.0 for a semester project measuring distance to hospitals from census tract centroids. This is my first time using ArcGIS, and I have no formal training. So ...
5
votes
1answer
2k views

How can I programmatically display the “Create Features” dockable window in ArcMap 10?

When I start editing in ArcMap 10, by default the "Create Features" window is automatically opened and docked. Stopping the edit session hides this window. When I use the IEditor:StartEditing method ...
4
votes
1answer
2k views

How to prevent running part of a model when iterator is used?

My process is to run Buffer on two feature layers, intersect the buffers and then Clip intersected buffers with polygon object from Iterate Feature Selection iterator. Here's my model: The model runs ...
4
votes
1answer
963 views

Raster Calculator dynamic map algebra expression

Is it possible to dynamically construct a Map Algebra expression that is dependent on the output of another tool, either using model builder or arcpy? For example, say I have a model that performs a ...
3
votes
1answer
1k views

Inserting DATAFRAME_ELEMENT value into dynamically generated shapefile containing its extent?

This is for ArcGIS 10, Python 2.65. I have code which captures the extent of dataframes within all mxd's in a directory. I also want it to add the dataframe name, scale and the name of the MXD it ...
3
votes
2answers
3k views

Spatial Analysis - Calculate a cells elevation (height) above the nearest stream cell

I have searched for some ideas on how to formulate this analysis, but have come up short. I imagine there is a pretty straight forward answer; any help would be greatly appreciates. Data: DEM, 1/...
2
votes
1answer
2k views

Using Python if/then/else to return value from either of two fields based on value of third using ArcGIS Field Calculator?

I'm trying to avoid manually inputting Begin and End engineering station values already inputted into a seperate field. I'm dealing with(4) fields: Begin_Sta End_Sta Beg_End and Station. The ...
2
votes
3answers
4k views

Finding points a certain distance from each other

I would like to find the maximum amount of points within a specified domain that are a certain distance from each other. For example, how many points within an area are 1000ft from each other? I ...
1
vote
3answers
9k views

Calculating volume with Cut Fill tool in ArcGIS Desktop?

This might be a very simple question - but it is quite vital and I want to make sure I am thinking this through right. I have used the cut/fill tool to calculate the difference in volume of a volcano ...
11
votes
5answers
7k views

Getting full path of layer selected in drop-down box for ArcGIS Python script tool?

I have a Python script-based tool in ArcGIS. One of the parameters for the tool is an input raster file, which I've set (using the properties of the tool within the toolbox) to be a Raster Layer. This ...
10
votes
4answers
7k views

Uninstalling ArcGIS extensions from earlier version after ArcGIS upgraded?

I uninstalled ArcGIS 9.3.1 (server, desktop, engine), then installed ArcGIS10.0 (Server, Desktop, engine). When I tried to uninstall some arcmap extensions, I got error 1001 "unable to get installer ...
9
votes
1answer
13k views

issues importing arcpy in Python IDLE

I would want to use arcpy in my python code. I am able to import it through the ARCGIS desktop python console. But I am not able to import it into Python IDLE. I get the following error Traceback (...
9
votes
2answers
3k views

Changing from layout view to data view using ArcPy?

Is there a way to change from layout view to data view using Python and ArcMap 10? I would prefer to do it using ArcPy.
8
votes
2answers
34k views

Combining adjacent polygons sharing similar trait into single polygon using ArcGIS Desktop?

I have a large dataset of habitat classes which I have further simplified down into my own unique classes. However, it resulted in there being habitats adjacent to each other with the same forest ...
8
votes
4answers
11k views

Clipping raster using vector polygon in ArcGIS Desktop without having Spatial Analyst?

I have ArcView 10 and I'm trying to clip a DEM (TIFF) to a wilderness boundary (polygon). I know ArcView won't let me do this without Spatial Analyst which I do not have. I tried exporting my raster ...
7
votes
1answer
3k views

Check whether a feature class is registered as versioned using Python

How can I check whether or not a feature class is versioned using Python? I'm trying to register feature classes using a python script. Before I do this I need to check whether a feature class is ...
6
votes
5answers
19k views

How do you test for a NULL string field in the Field Calculator with Python?

I am trying to perform an operation on a string field with a condition that it contains data. Referencing None with Python does not appear to work when the field is nullable and contains <Null> ...
6
votes
6answers
5k views

Volume of water in basin with reference to incremental height of DAM?

I have a DEM of my area. I did watershed analysis with Arc Hydro. I want to calculate "Volume of water in a basin with reference to incremental height of DAM" Is there any method, tool to give ...
6
votes
1answer
2k views

Creating generic tool with ModelBuilder in ArcGIS Desktop?

We are working on the creation of a tool with ModelBuilder in ArcGIS Desktop 10.1. We want to build a generic tool that can be launched from any computer. In order to do so, we have set the input ...
6
votes
2answers
5k views

Create Polylines from arrays of points

Let me describe the data setup. A line has been provided as an array of coordinate pairs, one for each vertex. This array is variable in size, anywhere from 2 to 200 coordinate pairs per line. What I ...
6
votes
2answers
18k views

Splitting string in Python parser of ArcGIS Field Calculator?

I am trying to use Python to split a string field into three new fields at the separator " - ". The field is in the format "a - b - c". So I initially had this in the field calculator for newFieldA: !...
6
votes
1answer
7k views

Exporting .jpg files from Data Driven Pages using ArcPy? [closed]

I have generated about 90 maps through data driven pages(ArcGIS 10.0). I now want to export them as .jpg files in either landscape or portrait format. I tried python but it is not working, it worked ...
6
votes
3answers
3k views

Reconcile Versioned Geodatabase with only DEFAULT version?

Follow up to this: Spatial Database Connection String I am trying to reconcile a versioned geodatabase that has only one version, DEFAULT. I am following the steps from the ESRI documentation: A ...
5
votes
4answers
5k views

Searching directories and subdirectories to perform intersects and clips using ArcGIS Desktop?

I'm trying to develop a tool using ArcGIS 10 that queries our company's data stores for any data that intersects a feature. So that when we acquire a new property we can run this tool and it will ...
5
votes
1answer
2k views

Selection by attribute string with wildcard as part of name in ArcGIS Desktop?

I have an attribute field in my file geodatabase (GDB) where I'm trying to select all records that contain an underbar in the string field. The issue is that the underbar is considered a SQL wildcard ...
5
votes
5answers
4k views

Zoom to Feature hotkey in ArcMap Table View

In ArcMap 10 table view, is there a way to set up a hotkey that when a feature is selected, pressing say "z" is equivalent to right-click-->Zoom To? I would like to be able to highlight a record and ...
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() ...
4
votes
1answer
1k views

Creating shortcut (button) for “Make this the only selectable layer” in Python 2.6?

I'm trying to create a script in Python 2.6 to make a button or a keyboard shortcut for "Make This The Only Selectable Layer". I came across the following VBA scripts on the net, but the problem is it'...
4
votes
1answer
2k views

Create overlapping polygons from contour lines

Working in ArcGIS 10, I have a set of contour lines representing density of commercial square footage, and I have a set of points representing local maxima for each peak of the dataset. For each ...
4
votes
1answer
4k views

If statement in ModelBuilder to check if field exists

I'm trying to create the following in ModelBuilder: Set input feature class if field1 exists execute the processes in branch1 else add field1 execute the processes in branch2 ...
4
votes
2answers
5k views

ERROR 000840: The value is not a Raster|Raster Catalog|Mosaic Layer from arcpy.AddJoin_management()?

I am doing some arcpy -functions and afterwards I'm trying to add the calculated results from one table to another table. I'm using the arcpy.AddJoin_management() function. As input table I'm using ...
4
votes
1answer
4k views

What is a pseudonode?

I have been asked to check for pseudonodes - none are allowed for streams but they are for roads. I can't figure out why so I assume I am not understanding what a pseudonode is. I thought it was a ...
4
votes
1answer
201 views

Referencing other points(rows) in field calculator

I'm trying to calculate an angle between points using a field calculator. Is it possible to reference the previous or next FID with reference to the current one using the field calc? Eventually I'd ...
4
votes
1answer
3k views

Filtering a raster by pixel cluster size in ArcGIS?

I have a raster image representing islands in a river (see image) created using the following process: 1) Clip a water surface DEM and watershed DEM by a bounding polygon (waters' edge). 2) Subtract ...
4
votes
2answers
1k views

Get the geometry from the lasso selection tool

I'm building an Add-in solution in ArcGIS 10 that contains a custom tool. I'd like to borrow the functionality of the lasso selection tool without reinventing the wheel. Is there a way to intercept ...
4
votes
4answers
3k views

Advise with 'Integrate' tool in ArcToolbox

Im looking for advises on the usage of this tool or some other that may help on my challenge. So i have 2 road layers i need to conflate and find the mismathed ones. My question with integrate tool is ...