Tag Info

Hot answers tagged

34

Ugh. The answer is really a complicated one that requires a lot of ArcSDE background, so I will try to be as brief as possible. Note I am going to refer to some diagrams from the super awesome versioning white paper that you can find in the ESRI site. If you are dealing with versioning, I extremely encourage you to read it throughly. Then, you need to ...


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 ...


17

This routine for arcgis10 returns all fcs (standalone OR within a feature dataset) inside a gdb. Just set your arcpy.env.workspace then do a for loop def listFcsInGDB(): ''' set your arcpy.env.workspace to a gdb before calling ''' for fds in arcpy.ListDatasets('','feature') + ['']: for fc in arcpy.ListFeatureClasses('','',fds): ...


17

When your purpose is to store what was written down, text is good. The other formats provide additional capabilities for data processing and analysis, while restricting or enhancing what can be stored and what can be done with the values. This has many important implications that any competent user of a GIS or database must know: Restricting the format, ...


11

At version 10, there is now a Minimum Bounding Geometry (Data Management) geoprocessing tool which: Creates a feature class containing polygons which represent a specified minimum bounding geometry enclosing each input feature or each group of input features. However: The Geometry Type (geometry_type) options CONVEX_HULL, CIRCLE, and ENVELOPE ...


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 ...


11

You can use a conditional (Con) statement in the raster calculator or the con tool in ArcToolbox. The below statement is evaluated as [IF myrasters > 2000 THEN 1800 ELSE myraster] Con("myraster" > 2000, 1800, "myraster")


9

You can use a Python script to do the heavy work for ya: Check this out and adapt it to your needs. Needless to say, this is not tested, and don't use it on production data WITHOUT MAKING A BACKUP FIRST. import arcgisscripting gp = arcgisscripting.create(9.3) gp.Workspace = "path_to_your_geodatabase" # you can use absolute path to this function ...


9

We had this as well unfortunately - I believe it is a known bug. The only way around it we found was to clone data across the network to a local drive, but that isn't much of a solution I know. It has been fixed in 10 however... Found two possible solutions on the ESRI forum - the one that worked for us was to look at the registry settings, as shown here ...


9

Do you receive the same error by copy/pasting records? This is from memory, but if you right-click on the gray row indicator box, your menu should have "Copy Selected Records". Then you can paste directly into an Excel spreadsheet. A caveat: if your selections are in a related table that are a result of a feature selection, you might actually have ...


9

Your task could be done easily by using Zonal Statistics tool of Spatial Analyst extension.


8

Google's Terms and Conditions do not allow this. You can only get access to their basemaps if you use their map control. The ArcGIS JavaScript Extension for Google Maps API works with their map control and allows you to overlay services from ArcGIS Server.


8

You need to use a conditional operator. The logic is: Result = If {new DEM has values, use them} Else {use values from the original DEM}. Alternatively, this can be expressed as Result = If {new DEM does not have values, use original DEM} Else {use the new DEM}. In ArcView the syntax varies with the version: there's one syntax for ...


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

A .lpk file is just a ZIP file. If you rename it (or just open in a ZIP file tool) you should find an "iteminfo.xml" file that will contain further information about what's inside. Here's a diagram of the structure, click through to see the Esri docs on it:


8

The add-in model is a new feature in version 10.0. This means you will not be able to use an add-in at lower versions, which require you to implement your commands, extensions, toolbars etc. in the older COM-only model.


8

You can use a conditional statement. The issue with previous recommendations is that when you rasterize your polygons (which is necessary) the background, that does not contain polygons, will be NoData resulting in corresponding areas in the output also being NoData. You will need to set your analysis extent to your original raster and then set a background ...


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

There is tool called Geodatabase Toolset (GDBT), which is a plugin to ArcCatalog. It visualizes the state linage and versions: Download GDBT here


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


7

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

In addition to using ArcGIS online tools, it may be possible to use the ArcGIS server data -- via open APIs like WMS or WFS -- in OpenLayers, an Open Source web mapping toolkit. OpenLayers wraps the Google Maps Javascript API -- along with several others like Bing, and Yahoo! -- and adds support for open standards like WMS/WFS, as well as support for ...


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

Depending on how good are the relative topologies of street and parcels you might want to: buffer the selected street and find out which parcels instersect, if the topology is not reliable; perform a spatial join (intersect would work I think) between the two feature classes if the topology is reliable. Both these operations can be encapsulated in a ...


6

I think you have to rely on your file system for this information. I've used openfiles from the command prompt to get this information from window file shares. You would need admin access to the actual server, so this might not be an option for you. C:\WINDOWS\system32>openfiles INFO: The system global flag 'maintain objects list' needs to be enabled ...


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

Have you investigated Spatial Joins?


6

I ended up using gotchula's answer, but without yield because I generally re-use the FC handles created and yield's are used once then discarded. def listFcsInGDB(gdb): ''' list all Feature Classes in a geodatabase, including inside Feature Datasets ''' arcpy.env.workspace = gdb print 'Processing ', arcpy.env.workspace fcs = [] for fds ...



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