Store | Contact Us | Careers
 
  • Home
  • Industries
  • Products
  • Training
  • Support
  • Services
  • Events
  • News
  • About
    • About Esri
    • Careers
    • Esri Video
    • Partners

Support

Search Support
You are here: > ArcScripts > Search Results > Script Details Login | Feedback | Help

Create Raster/Image Index (Raster footprint)



contact author | download help | report inappropriate content
Author Christian Maire
File Name Create Raster Index.zip
Language Visual Basic
Last Modified Jan 17 2007
Status of work Public Domain
Software ArcGIS Desktop
File Size 7.63 kb
Downloads 4249

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.


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

INSTRUCTIONS:

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:

http://imgis.nps.gov/documents/howto/custom/AM_VBA-adding_a_new_button_to_interface.pdf

COMMENTS OR SUGGESTIONS ARE WELCOME
Contact Us | Privacy | Legal | Site Map