> Script Details
Create Raster/Image Index (Raster footprint)
report inappropriate content
Create Raster Index.zip
Jan 17 2007
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
IMPORTANT: To run this tool you must add a reference to 'Microsoft Shell Controls and Automation' from Tools...References in the VBA editor window.
Update (April 13, 2006):
Now supports multiple spatial references!
This utility will scan selected folders and all their subfolders for single-file images/rasters and output a shapefile showing their footprints, along with attributes for path, filename, extents, and resolution.
Add the extensions you are interested in. The default is '*.ecw', but this is easily changed. You may add multiple extensions, but this will lengthen the search time. To delete an extension from the list, select it and press 'Del'.
Click the 'Search Folders' button. Select the folder you wish to search. Remember that all subfolders will be searched as well. When you hit 'OK', every file with the extensions you selected will be added to the list. This could take a while.
If you want to include another folder, just hit 'Search Folders' again and the resuts will be added to the existing list. 'Clear list' will reset the list.
At this point, you can lick 'Create Index' and a shapefile will be created in the last folder searched. Alternatively, you can specify your own path and filename in 'Step 2'.
Be patient. Go get a coffee, or perhaps a beer. Martini, if you are so inclined. This could take a while, depending on the number of images.
Also included is a .bas file with a small script for automatically adding images to a project. Select any number of features from from your raster index and run the script, and it will use the path and file attributes to load those images.
The following is a good set of instructions for adding a vba form:
COMMENTS OR SUGGESTIONS ARE WELCOME