NYGeog

Geography, GIS, Geospatial, NYC, etc.

Tuesday, September 22, 2009

Zoom through features/bookmarks and export to graphics file

Author Ken Buja
File Name ZoomandExport.zip
Language VB.net
Last Modified Sep 11 2008
Status of work Public Domain
Software ArcGIS Desktop
File Size 554.78 kb
Downloads 988
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
Created for ArcGIS 9.2, SP 6 or ArcGIS 9.3 (also requires ArcGIS .NET Assemblies)

This tool allows you to zoom to each of the bookmarks in a project or each of the point, line, and polygon features of a feature layer (either all the features or a selected subset) and export the map or layout to a graphics file. The files are named by the unique attributes in a field in the layer. If several features share the attribute, the exported map will be zoomed to the extent of the features with the common attribute. If the layout contains several data frames, you can select the data frames that will be zoomed to the same extent as the active frame.

This is an update to the Zoom and Export ArcScript (http://arcscripts.esri.com/details.asp?dbid=14035) with such improvements as zooming to bookmarks, automatically creating world files for selected export formats, clipping to graphics extent, automatically embedding fonts and others.

Complete instructions on how to use the tool are included in the zip file.

Version History:
11 Sep 2008: 2.3
• Enhancement - Installer now works with ArcGIS 9.3
• Bug Fix - If running in the data window, an error message will appear after the images have been created and the initial conditions are not reset.

27 Jun 2008: 2.3
• Bug Fix - If an attribute contains a single quote (Bob's Boat Shop), the process will crash

31 May 2008: 2.3
• Bug Fix - If the coordinate system of the data frame is different than the layer to be zoomed, the extent of the selected features is incorrect

23 May 2008: 2.3
• Bug Fix - Installer script gives incomprehensible error message for older service packs

3 May 2008: 2.3
• Enhancement - a unique field is no longer required. The output map will be zoomed to the extent of all features sharing an attribute from the selected field.
• Enhancement - other data frames can be zoomed to the same extent as the active data frame.
• Bug Fix - Definition Query was not set back to its original query.

7 Feb 2008: 2.1
• Enhancement - rewrote routine to find Unique ID Field, speeding it up considerably
• Enhancement - can cancel finding Unique ID fields process and Export process
• Bug Fix - Output Image Quality was not set to Best

17 Jan 2008: 2.0
• Initial Release

DOWNLOAD