Hot answers tagged

4

Your GPS is most likely set in USNG coordinates, hence the 17 S. PDF of USNG Chart here You are currently selecting UTM Zone 17S as your original coordinate system, placing points in that zone (More on UTM Zone 17S here): When running the project tool, you need to use the correct coordinate system, which I am assuming is USNG 17S, since you mention ...


4

If you are using Windows, you could use the ArcGIS 10.1 Uninstall Utility for Windows which will uninstall ArcGIS 9.3 in preparation for 10.1. Note that: The ArcGIS 10 Uninstall Utility will remove all ArcGIS 9.3 software except ArcSDE, ArcGIS License Manager, and certain extensions. ArcGIS 9.3 Beta software will not be removed. You may need to ...


4

If you use a negative Label Offset on the Labels tab of the Reference System Properties, it will move them where you want:


4

Thanks for your script Alex, very nice! I saw a small issue, since relies on several geoprocessing tools that run for each row: Create Table > Add Field > Cursor to Insert Rows > Bearing Distance To Line > Append > Delete Table > Delete Lines >>> Reiterate for next row. It took 10 secs per feature for me. Since, I needed to process around 18,000 features ...


3

It is unclear why you don't want to use the extract by mask option. The only other way I know of is to set the mask through the environment settings: ArcGIS Help 10.1 - Mask (Environment setting).


2

Extending on Chad's answer, following does the trick for feature layer with multiple legend groups for (int k = 0; k <= (featureLayer as ILegendInfo).LegendGroupCount - 1; k++) { (featureLayer as ILegendInfo).get_LegendGroup(k).Visible = false; }


2

It looks like, this has to do with the cell resolution of your DEM. If you zoom really right in, you will see that the size of the cells are bigger than the gap created between the DEM and the polygon outlines. Therefore, you either work with these extracts. OR if you would like a perfect area that fills the polygons you have to: RESAMPLE your DEM into a ...


2

I have not used 9.3 for many years now. An alternative way to run your model is to right click on it and run in batch mode. You may be able to drag and drop multiple datasets in to the batch grid interface? I remember looping was awkward in 9.3 and the usual way of resolving things was to write a simple loop in python.


2

You can add the Data management toolbox back into the ArcToolbox panel. Simply right click on the the top node (ArcToolbox) and choose Add Toolbox. Now I stopped using 9.3 years ago so I can't tell you where the toolbox is located but it will be within the installation folder of ArcMap. That's for you to find the tbx file. Having re-established the toolbox ...


2

My guess is that the source of error is in your first step - I changed the coordinate system from Conical coordinates to lat/long UTM-39N From your question it is not obvious how did you do that. You cont simply change coordinate system, you must transform raster to new coordinate system. The proper way will be by Project Raster tool and you must be ...


2

It is possible, but you have to put some effort into it. Sometimes even the spelling of an 10.0 and 10.3 script is different. Check this question for a good overview: Migrating ArcPy scripts from ArcGIS 9.3 to 10?. I would also recommend you to check out the data access module (arcpy.da) mainly for cursors, which is much faster than the regular cursors. ...


1

This is 1 line expression, no block required if data are similar to what shown: (!data.all!find(!sample_no!)>0)*1


1

VBScript Parser: (Python Parser example further down) In your Field Calculator choose Show Code Block and enter the following in the Pre-Logic Script Code: d = InStr([data_all], [sampleno]) If d > 0 Then e = 1 Else e = 0 End If and in the bottom section enter e Syntax is InStr(<string to search in>, <string to find>) Example ...


1

You may be trying to work with a coverage within ArcGIS, or just wondering what the equivalent to an AAT table is in an ArcGIS feature class. The equivalent of the AAT table in an ArcGIS feature class would be it's attribute table. It is created as part of the feature class creation process and doesn't need to be built. You add/remove columns and edit data ...


1

The identify tool yields a result for the layer(s) selected in the drop down list on the right of "identify from:" . In your case, the selected layer is currently "orange_soil_raster" and not "durh_soil_utm". Change the identify target to "all visible layers" or "durh_soil_utm" and it will work. Note that in the first case you will need to expand the results ...


1

ArcToolbox > Data Management Tools > Projections and Transformations > Feature > Project Select feature of choice from layers list and drag to "Input Database or Feature Class" field in Project window For "Output Coordinate System" field: Select > Projected Coordinate Systems > UTM > (projection of choice) (MAKE SURE YOU SELECT THE PROPER ZONE!) Then ...


1

Actually, All I had to do is to refresh the Tool: pApp.CurrentTool.Refresh


1

The problem is with your self developped application. From your snapshot I can tell you are using a shapefile (it includes FID field and not OBJECTID); you also indicated in the body of your question. So the SHAPE_AREA field is created and populated by yourself. Note that If you create a polygon inside a FileGeodatabase, Shape_AREA gets created (it is part ...


1

All of your toolbar locations and visibility are stored in your normal template. You can rename or delete this file and restart ArcMap with default UI. In Windows Explorer address bar type: %APPDATA%\ESRI Then navigate \ArcMap\Templates directory under whatever version you have installed, e.g. for 10.3 (I'm assuming it is Desktop9.3 for 9.3.x) ...


1

I realise this question is tagged 9.3, but anyone looking for the same answer at 10.1 onwards is better off using arcpy.da.Walk. It is faster and more accurate than ListDatasets/FeatureClasses/Rasters/etc. import arcpy import os for root, dirs, datasets in arcpy.da.Walk('d:\scratch.gdb'): for ds in datasets: print os.path.join(root, ds) The ...


1

Standalone code def f(s): idx = s.upper().index('S') s = s[:idx] for i in reversed(range(len(s))): if s[i].isalpha(): s = s[i+1:] break if s.isdigit(): return int(s) else: return 0 Testing print f("S2Olch1E") #0 print f("6S2Olch1E") #6 print f("5B66S2Olch1E") #66 print ...


1

A much more efficient method than in my first answer is to iterate through Junctions once and store all the values in a python list. Then iterate through Junctions_lyr and proceed with those values found in the list. Junctions_Lyr = "Junctions_Lyr" gp.MakeFeatureLayer_management(Junctions, Junctions_Lyr, "", "", "") ...


1

Importing Data There is a very extensive technical article, that can be found at the ESRI Knowledge Base. The article covers version 9.x to 10.x: "Import XY data tables to ArcMap and convert the data to a shapefile" As mentioned above, starting with ArcGIS 10 just use the "Add Data" tool from the main menu: Adding Data For your second question please ...


1

In ArcGis 9.3 Adding x,y coordinate data as a layer Click the Tools menu and click Add XY Data. Choose a table that contains x,y coordinate data. If the table is not on the map, click the Browse button to access it from disk. Click the X Field drop-down arrow and click the field containing x-coordinate values. Click the Y Field drop-down arrow and ...


1

I don´t know if ArcMap 9.3.1 has the tool. But there is a Tool called "KML to Layer". You need tho export the temporary layer to shp. If not use this online conversion: http://www.zonums.com/online/kml2shp.php


1

To "go through a designated folder, [and] locate all MXD files within the folder" is relatively easy with Python, and there is a Stack Overflow Q&A that describes some ways: http://stackoverflow.com/questions/3207219/how-to-list-all-files-of-a-directory-in-python However, the rest is much harder because ArcGIS Desktop 9.3 only had access to the ...


1

Migrating from ArcInfo™ Workstation: An ESRI ® Technical Paper • December 2002 says on page 6: Symbology: all ArcInfo Workstation symbols—plus many more—are available through style sets. A symbol converter is also available for converting custom ArcInfo symbol sets. I do not recall having ever used or seen that symbol convertor but if you are not ...


1

Download ArcPhoto for 9.x (Version 1.5.3) 27MB. Among other features it has some geoprocessing tools to support you with converting your geotagged photos to a point feature class.


1

Transparency of the layer also affects the size of the PDF considerably. I suggest use transparency to a minimum, or avoid it if you can.


1

You might want to try using the ASCII 3D To Feature Class tool. It will require that you setup a text file with the format described in the help documentation. You can also write a Python script that uses geometry objects to construct a line feature, like this example which creates a 2D line from a semi-colon delimited text file.



Only top voted, non community-wiki answers of a minimum length are eligible