Introduction
This procedure outlines steps to clip a portion of multiple
datasets open in an ArcView view, retaining the table structure of each individual
theme. While you can easily clip a single file using the GeoProcessing
Wizard, you must add a new extension called "batchclip" to clip more
than one file at a time. If you are using MapInfo, a similar procedure is outlined
at http://www.brocku.ca/maplibrary/procedures/MI_cookiecut/cookie.htm
Acquiring "batchclip.avx"
The batchclip extension can be downloaded from the ESRI ArcScript website at
http://arcscripts.esri.com/
Search for the script "batchclip" without the quotations and download
the script to your local harddrive. Unzip the file and store the batchclip.avx
file in the ArcView extensions directory. This directory is typically found
in C:\ESRI\AV_GIS30\ARCVIEW\EXT32.
Loading the script
Run ArcView.
Select File > Extensions. You should see BatchClip appear in the extensions listing. Click in the box beside the name to turn the extension on. Click OK.
A new button appears in the toolbar
.
Add your data to a view
Add the data files you would like to clip as well as the polygon file you want
to use as the "clipper". Click on the Add Data button
,
navigate to the directory holding your data, select the files to add and click
OK.
Set the Working Directory
You must set the working directory before proceeding. Select File
> Set Working Directory...
Enter the path leading to the directory where you want your files stored. Do NOT add a backward slash at the end of the path. ArcView does this automatically. See image below for details. Click OK.
Running BatchClip
Click the BatchClip button on the toolbar
.
Click YES when prompted with the message regarding the
working directory.
Select the themes to be clipped. Click OK.
Select the polygon theme to clip with. Click OK.
The process begins. The clipped shapefiles are added automatically to your view with "_clip" added to the file name. When the process is finished you are prompted with a message window. Click OK.
Turn OFF the original layers and turn ON the newly clipped layers. Zoom to the study area for a better view.
Congratulations! You have completed the procedure for clipping multiple files in ArcView 3.2!!
This procedure was written by
Sharon Janzen, Brock University Map Library, St. Catharines, Ontario, Canada.
This page is: http://jeeves.brocku.ca/maplibrary/procedures/AVclip/clip_AV32.htm |