Archive for the ‘ArcGIS Desktop’ Category

Suddenly ArcCatalog won’t open…?

June 16th, 2009 by Stephanie Blazey

The ESRI user forums saved the day once again. I couldn’t get ArcCatalog to work all of a sudden – it was taking a very long time to open, and when it finally did open, it wasn’t responsive and kept hanging. If you are experiencing the same problem, try renaming your Normal.gxt and ArcCatalog.gx and let ArcGIS recreate them on its next startup. The problem could be that they have become corrupt. You will find them in the folder C:\Documents and Settings\User Name\Application Data\ESRI\ArcCatalog – where User Name is the user name you use to log on to the computer.

I renamed both files, and ArcCatalog started up in no time.

Suddenly ArcCatalog won't open…?

June 16th, 2009 by Stephanie Blazey

The ESRI user forums saved the day once again. I couldn’t get ArcCatalog to work all of a sudden – it was taking a very long time to open, and when it finally did open, it wasn’t responsive and kept hanging. If you are experiencing the same problem, try renaming your Normal.gxt and ArcCatalog.gx and let ArcGIS recreate them on its next startup. The problem could be that they have become corrupt. You will find them in the folder C:\Documents and Settings\User Name\Application Data\ESRI\ArcCatalog – where User Name is the user name you use to log on to the computer.

I renamed both files, and ArcCatalog started up in no time.

Caching at a specific extent

May 22nd, 2009 by Stephanie Blazey

Fully or partially caching your map service can be an effective way to improve performance when you have a lot of detailed data or imagery. Caching works well for layers that are not frequently updated, as it can take a considerable amount of time to cache or re-cache your map service, based on layer complexity, the number of layers, and the extent of your map.

One time-saving option is to cache or re-cache your map service at a specific extent, which is great when you are only updating one area of your map, or when your detailed data/imagery does not cover the full extent of your map.

When you are ready to create your map cache in ArcCatalog, and you have set your tiling scheme and image settings, click the “Create Tiles…” button (Note: this button will say “Update Tiles” if the map service is already cached)

cache1

This will launch the “Manage Map Server Cache Tiles” window, in which you have the option to choose a dataset to set the Update Extent (circled in red, below), or manually enter the Top, Bottom, Left and Right extents (circled in blue, below).

cache2
You will also have the option to choose an Update Mode (red arrow, below) if you are updating your cached map service, including:

Recreate Empty Tiles – recreates tiles that are empty (because they have been deleted on disk), or tiles that are new (because the cache extent has changed or because new layers have been added to a multi-layer cache). Old tiles will be left unchanged.

Recreate All Tiles – replaces all tiles, and new tiles are added if the extent has changed, or if layers have been added to a multi-layer cache.

Delete Tiles – deletes all tiles from the cache. (Only tiles will be deleted and not the cache folder structure. There is a “Delete Map Server Cache” tool available if you wish to delete the entire cache, including folder structure.)

cache3

Another caching option is to update specific areas using a feature class (blue arrow, above), where you can use a polygon feature class to manage tiles (create/update/delete) based on the extents of features of a feature class. For example, if you are caching a country, you might supply a feature class of major urban areas. By doing so, you are requesting that the server only pre-create tiles that cover those urban areas. The rest of the areas can be cached on demand when requested by clients. This can save you time and disk space that would be consumed by creating unneeded tiles in rural areas.

Here are some more helpful links related to caching from ESRI:
Tutorial for Creating a Cached Map Service
Creating Cache Tiles
Using a Map Cache
Tips and Best Practices for map caches
Overlaying Map Caches in the .NET web ADF

Map Optimization

March 18th, 2009 by Stephanie Blazey

Often, making small changes to map symbology and the properties of layers can significantly reduce a map’s drawing time. Here are some tips for map optimization:

  • Confirm all data are in the same projection. On-the-fly projecting can make your map take twice as long to load.
  • Data should be representative of viewing scale: generalized data (e.g. county boundaries, lakes, highways) can show at full extent, detailed data (e.g. parcels, local streets, imagery) should show only when zoomed in.
  • Use simplified data at smaller scales. For example, a detailed coastline may draw slowly at full extent. If it is simplified to have fewer vertices and line segments, it will draw much faster with little difference in appearance at full extent. The more detailed data can be used at closer zoom.
  • Set minimum scales (maximum zoom level) for all layers, and set MXD project full extent.
  • Minimize use and extent of labels.
  • Minimize use of offsets and masking.
  • Avoid serif fonts, as the “twiddly bits” take longer to draw.
  • Avoid using joined data. Instead, export the data to a new feature class that contains the joined data. If you must use joined data, check out the performance tips for using joined data in the ArcGIS Desktop Help.
  • Use queries where possible to remove features that are not required on your map.
  • Point, line, polygon draw order is generally preferred – note that transparent polygons may be best displayed as topmost layer.
  • Use the “ESRI optimized” symbol set for lines and polygon fills:

esri_optimized

Map Projections

March 2nd, 2009 by Stephanie Blazey

There are hundreds of map projections out there and knowing which one to choose for your map can sometimes be a challenge. When choosing a projection, you should consider what your data are showing, which qualities you need to preserve (shape/area/direction/distance), and who your audience is. If you are mapping population density, for example, your map is showing the number of people over a certain area, so you would want to choose an “equivalent”, aka “equal area” projection to best preserve area. If your audience is not geography savvy, then a conformal projection that preserves shape may be your best choice because it will make your map “look right”. If the area that you are mapping is relatively small (e.g. one U.S. State as opposed to all of North America), you will probably find that there is a projection designed specifically for your area (e.g. a State Plane projection). Your data may also dictate which projection to use – if the majority of your data is already in a suitable projection, then it will be most efficient to stick with that. If you really aren’t sure which projection to choose, search the web for maps of your area – you will often find that most of them are in a certain projection.

If you are using ArcIMS, these links from the ArcXML Programmer’s Reference Guide are a great help to find the right projection ID and details for your site-config:
Projected coordinate systems sorted by ID
Projected coordinate systems sorted alphabetically
Geographic coordinate systems sorted by ID
Geographic coordinate systems sorted alphabetically

The ArcGIS Desktop Help also has a list of supported map projections, for use in ArcMap and ArcGIS Server.

Handy Arc Fixes

February 3rd, 2009 by Stephanie Blazey

I have a “how to” folder on my computer desktop which I fill with little snippets of information over time. It’s handy for those moments when you need to solve a problem but you can’t quite recall how you did it last time.

Here are a couple of tips that I find really useful for ArcMap and ArcCatalog:

Tip #1. Three things to try when ArcMap hangs on “add data”

- Try connecting to the VPN you were last connected to. It may be looking for a connection that you can no longer reach.

- Start the “Advanced ArcMap settings” in the Utilities Folder (the default location is along the lines of “C:\Program Files\ArcGIS\Utilities”) and click “reset all values to default”.

- Go get a cup of coffee. Sometimes waiting helps – if it is looking for a connection that doesn’t exist any more, you may just need to let it time out.

Tip #2. How to make ArcCatalog open faster

- Disconnect folders you are not using anymore

- Clear out the Toolbox history:
click the results tab in the Toolbox menu
remove all tool results from previous sessions

toolbox_clear