Hot answers tagged arcgis-9.3
18
The help file says:
Can ArcGIS 10 be installed on the same machine as ArcGIS 9.3.1?
No. For users who want to install ArcGIS 10 and ArcGIS 9.3.1 on the same machine, Esri recommends using a virtualization tool (such as VM Ware's VM Workstation or Microsoft's Virtual PC) and install the new instance of ArcGIS on that virtual machine.
We had ...
11
I am afraid I disagree with you.
I think the ArcGIS help/forums/blogs/vids/etc give a great perspective on what you can achieve with the ArcGIS range of products.
Your not limited to Python to manipulate your spatial data. You can still use VBA at 931 and 10 to access the ArcObjects library, or you could take it a step further and use .NET to do all sorts ...
11
You must uninstall a previous version of ArcGIS software before installing a new one. In fact, the install programs will require it. In addition, I suggest that if you have any Esri or 3rd party tools that you uninstall them first, before uninstalling ArcGIS 9.3.
A related question was asked earlier, How do I cleanly uninstall ArcGIS 9.3.1 extensions after ...
8
If you know row, column, cellsize and extent, X & Y can easily be calculated. Note this assumes a North up raster. If the raster is rotated you'll need to know the other two affine transformation coefficients (or geotransform in GDAL speak). Also note that the column/row coordinates in the below are from (0.0,0.0) at the upper left corner of the upper ...
8
Three options I can think of:
Save your map document and open it when you subsequently want to work with the shapefile. This should be obvious so perhaps you have not explained why this is not working for you.
Save the layer to a layer file and load that instead of the shapefile
Load the shapefile into a geodatabase and set up a cartographic representation ...
7
Try this:
Convert your county polygons to raster using the ArcGIS Conversion Toolbox > To Raster > Polygon to Raster. Set the cell size to 1m.
Use spatial analyst's Sample Tool (Spatial Analyst toolbox > Extraction tools > sample) to create points for every cell.
Extract only the points that intersect your county polygon.
If you continue to run into ...
7
GeoChalkboard can give you a good overview of the changes!
Here's the list, but check it out for more detail:
Replace the import statement
Replace all gp. with arcpy.
Check your capitalization.
The result tool is different.
Replace any del gp statements.
The overwrite tool is different.
Import the env module from arcpy.
List item
6
It's not python but how is this? Select a point layer in the table of contents (TOC) then on that layer select the origin point feature. The script will draw a lines on another (Target) feature class from the selected point to all other points in the same feature class.
Public Sub Distances
Dim i As Long
Dim pFeature As IFeature
Dim ...
6
Legend Limiter
The Legend Limiter only works on layers that use "unique value categories" to define symbology. This style of legend can be set up in the Symbology tab of the Layer Properties dialog. Legend Limiter will not limit the symbology of layers set up with single symbol symbology.
http://arcscripts.esri.com/details.asp?dbid=16097
6
Both of these solutions require extensions to the standard ArcGIS desktop, such as Spatial Analyst.
If you don't want to interpolate between points, the solution is easy. Simply use the Conversion Toolbox > To Raster > Points to Raster tool to create a raster of your points. You can use the Cell Size field to determine the size of the grid, and you can ...
6
First answer - No, you can not have duplicate names in a geodatabase.
Yes, this is the expected functionality since the Feature-Dataset is only a record reference in a database. Any database will balk at having tables with duplicate names. It sounds like you are trying to use the Feature-Dataset model for organizational purposes versus the true purpose of ...
6
I have tried supervised classification in ArcGIS.
Firstly I would say that it is not the best software for classification.
As I did it, you can create training sites as points. Just create a shapefile (or geodatabase), add Integer field, click points over your image and assign classes as numbers. (I think you can also use polygon shapefile).
For ...
6
As @Baltok alluded to, you are trying to have the Selection on a particular layer be treated in the same way as other layers are, with respect to drawing order. I think that by default, and design, ArcGIS makes the Selection override the symbology of anything that is underneath it, as a means of making it easy to find the selection.
Since you are selecting ...
5
You can create annotation feature classes in geodatabases.
They are just like regular feature classes, but store text. You can define rotation, style, just like a regular annotation and create these classes only once. In them you can establish expressions and queries too. You can even create scale dependent annotations.
If you are looking for an automated ...
5
This is one of the most common errors in ArcGIS/VBA environment, and is usually due to missing references.
Go to Tools --> references and check for any MISSING ones. Most likely your missing references to Crystal components.
Tick them on and re-try.
http://resources.arcgis.com/content/kbase?fa=articleShow&d=29069
5
These attributes are applied to types that are exposed through COM, so any type that the COM client uses will require them. Other classes used internally by your extension do not. See the MSDN documentation for the System.Runtime.InteropServices namespace for specific information regarding each attribute.
5
I guess this depends on how often you want to run the script, whether or not you want to hard code in the clip grids and the output shapefiles.
Very simply, I'd have a dictionary, of clip_grid : output_shapefile, loop through that and spit out the output.
import arcgisscripting
#Create the geoprocessor
gp = arcgisscripting.create(9.3)
input_shape = ...
5
You have to update each data frame manually, as far as I know. You can right-click on a layer and save it as a "Layer" file (.lyr), then right click on the other data frames and use the "Add Data" tool to find that saved layer file. If you make changes, just re-save that layer to the same .lyr file and delete and re-add it to each data frame.
I've been ...
5
I agree with the aproach that dmsnell describes, but you can simply copy the layer from one Dataframe to another by a rightclick on the layer -> select copy -> rightclick the other Dataframe name -> select Paste Layer(s).
I have not found any automation script or add-in to take care of this task.
5
Old Maps Online: Blog has a Workflow for old maps in libraries.
http://blog.oldmapsonline.org/2009/06/elag-workflow-for-old-maps-in-libraries.html
David Rumsey has a huge collection of old maps
http://www.davidrumsey.com/
Map Based Search
http://rumsey.mapranksearch.com/
5
James Fee had a post about some resources to make historical map effects using ArcGIS. A zip file of all the materials including icon and font sets are available.
5
This function should handle this.
import arpcy
def definitionByGroup(definition = "", groupname = "", mxd = "CURRENT"):
#create layer list for current map document
layerlist = arcpy.mapping.ListLayers(arcpy.mapping.MapDocument(mxd))
for layer in layerlist:
if layer.isFeatureLayer:
groups = layer.longName.split('\\')
...
5
In the geodatabase items table GDB_Items there will be an extry for the FeatureClass. The definition field of this entry contains the DEFeatureClassInfo definition and this has an EXTCLSID entry. For more on the new GDB schema introduced at 10.0, start with this blog post.
5
I know your question is tagged with ArcGIS but I thought it might be interesting to describe an approach that almost solves this problem using R (which is opensource and free). The idea is that you load in any shapefile, and then loop through the list of polygons printing each one out as a png. It is quite quick to produce each png ( a few seconds) - not ...
5
Do you have access to spatial analyst?
If so, the Con function will do exactly what you want. Create a "condition" raster that is 1 where you want the values changed to Ras2 and 0 everywhere else.
Execute the statements:
Ras1 = Con(Raster("condition"), Raster("Ras2"), Raster("Ras1"))
Ras1.save("Ras1")
This will replace Ras1 with your new raster. If you ...
5
Sounds like a permissions issue. Try working through these steps:
http://blogs.esri.com/esri/arcgis/2008/09/05/digging-deeper-troubleshooting-geoprocessing-errors-when-using-arcsde
5
Please have a look IFeatureClass.Search Method
To get feature by mouse click:
public List<IFeature> Search(IPoint mousePoint, double buffer, IFeatureClass featureClass)
{
var envelope = mousePoint.Envelope;
envelope.Expand(buffer, buffer, false);
var geodataset = (IGeoDataset)featureClass;
string shapeFieldName = ...
5
Is your question about whether you can open a 10.1 geodatabase with ArcGIS Desktop 9.3.1?
If so the answer is no. ESRI's stance until recently has been one of backwards-compatibility only. Meaning the client version must be at or newer than the geodatabase release version. See the compatibility table here: Client and geodatabase compatibility
...
4
2 workarounds:
assumption here is personal geodatabase (.mdb)
1.delete the .ldb (whilst Arcmap is open - by removing the layers) delete in windows explorer. Then do 'undo' remove layers. search *.ldb for multiple
2.move up a few folder levels in ArcCatalog and Refresh, it will unlock the file and you can edit in ArcMap.
file .gdb [or .mdb] is at ...
4
I know this question is about ArcGIS 9.3, but someone mentioned what is possible in ArcGIS 10. ArcGIS 10 has some new functionality that is similar to the 9.x DSMapbook developer sample that allows you to create a series of map pages, layouts, and map books. ArcGIS 10 calls this "Data Driven Pages."
Here are some intro help topics about Data Driven Pages:
...
Only top voted, non community-wiki answers of a minimum length are eligible

