Professional Documents
Culture Documents
Doc Page 1 of 21
2. Under the Quick Links section on the right,, Click on the “Sign up for the Yale GIS-L Mailing List” link to go to the GIS-
L registration page.
Note: We suggest that you not select the Daily Digest feature.
You should receive a confirmation email shortly afterward, with instruction on how to use the GIS-L list.
2. Under the Quick Links Section on the right, Click on the “Download Gis Workshop Materials” link.
3. Find the “Data” Link for the ArcGIS 9.2 “GIS Intro for G&G 304” and Right-Click on the Link.
4. In Firefox, Select “Save Link As,” in Internet Explorer, Select “Save Target As…”
5. Depending on your browser and setup, you may be offered a Browse Window, to select the folder into which you want
the downloaded file placed. If so, Browse to a Folder on your hard drive that you have write permission for. For this
tutorial, we will assume that you are using the C:\temp folder of the machine you are working on.
6. Clicking on the Create New Folder Button, Create a New Folder, using your initials as the name of the folder, so
that you end up with a full path something like: C:\temp\your_initials\
You should now see a number of different files, some of which have the same filename, but with different extensions
(Windows doesn’t always show file extensions for known filetypes, such as dbf, or shp, in some cases).
2. If necessary, Click on the Name Field Header in the Explorer Window to Sort the files By Name.
What is critical to recognize about the contents of this folder is that all of the files with the same filename are actually part of a
single “shapefile.” The shapefile is ESRI proprietary vector data format. The fact that it is called a shapefile can cause some
confusion, since it is actually a collection of files.
2. Using the “Catalog Tree” Panel, at the left side of the Arccatalog application window, Browse to your
C:\temp\your_initials\Geology_and_Health\Data\Shapefile Folder.
3. Make Sure that the “Contents” Tab at the top of the “Catalog Display” on the right side of the ArcCatalog Application
Window is active.
Note the difference in how ArcCatalog and Windows display shapefiles. ArcCatalog ‘knows’ that a shapefile is actually a
collection of files, as so it only shows you a single file, where Windows Explorer showed all of the files. You should always use
ArcCatalog for Moving, Deleting, Copying, etc… any spatial data files, for this reason. Using ArcCatalog for these tasks prevents
critical parts of the spatial data files from being ‘left out’ and rendered useless.
Finding Data (it is not necessary for you to download for this tutorial)
Downloading Data from the National Atlas
3. Scroll to the bottom of the page to the Water group and click on it to open the list of available layers.
4. Click on the “View map layer description” link next to the Streams and Waterbodies item.
5. Click on the Raw Data Download link at the bottom right of the page.
6. Note the available layers (you don’t need to download anything, as the data needed is included with the tutorial data).
3. Click on the Census 2000 TIGER/Line Data link, which should be the first returned result.
4. Click on the “Preview and Download” link on the left side of page.
6. Select ‘County 2000’ from the “Select by Layer” Dropdown and click ‘Submit Select’.
8. Scroll to the bottom of the page and click on the “Proceed to Download” button.
9. Click the “Download File” button on the resulting page and save the file to your
C:\temp\your_initials\Geology_and_Health\Data\Shapefile Folder.
10. Use the Back Button on your web browser to select and download the ‘Census County Demographics (SF1)’ Layer and
save it to your C:\temp\your_initials\Geology_and_Health\Data\Tabular folder.
11. Browse to the folders you downloaded the datasets to and Unzip them directly to their respective folders.
Main
Menu
Standard
Toolbar
“Tools”
Toolbar
Map
Display
“View”
Toolbar
Table of
Contents
You should now see something like what is shown above. Take a few seconds to familiarize yourself with the ArcMap interface.
• The Main Menu should be familiar to anyone who uses Microsoft Windows software. It is where you perform basic
file and document editing functions.
• The Table of Contents is the area where your data layers will be listed and where you can interact with and alter the
properties of individual layers.
• The Add Data Button is located on the “Standard” Toolbar and opens a dialog box that allows new layers to be
added to the Table of Contents and Map Document. It should not be confused with the Open Document button,
which is located on the same toolbar, but is not unique to ArcMap.
• The Map Display is the area where your map data will be displayed.
• The “Tools” Toolbar contains a series of tools that operate on the data displayed in the Map Document Window.
• The View Toolbar changes between the Data View and Layout View of the Map Document.
2. Hold down the CTRL Key and Select the three shapefiles,
as shown on the right.
3. Click Add.
You should now see that three layers have been added to you Table
of Contents Panel.
• The Point file is a layer that describes the location of
Non-Ferrous Mining operations in the U.S..
• The Line file describes the location of Hydrological features (Rivers, Streams & Lakeshores) in the State of
Missouri.
• The Polygon file describes the County Boundaries of the State of Missouri.
2. Drag a Box across the State of Missouri in the Map Display Panel to Zoom Into the Data View.
7. Right-Click on the
tgr29001cty00_Merge Layer and
Select “Zoom To Layer” from the
Context Menu.
8. Finally, on the Main Menu, Go To View>Bookmarks>Create to Create a Bookmark, called Main View, of the current
extent of your Map Display.
Note that the points from the minop6x020 Layer that are within the State of Missouri are now selected, which is indicated by the
fact that they are highlighted blue.
7. Browse to the
C:\temp\your_initials\Geology_and_Health\Data\Shapefile
Folder and save the exported file as MO_Mines.shp.
8. Click OK.
1. Use the Add Data Button to Open a Browse Window and Browse to your
C:\temp\your_initials\Geology_and_Health\Data\Tabular Folder.
2. Note that there are several tabular datasets, including two Excel Files. ArcMap treats Excel files as if they are Folders,
since they can contain many ‘worksheets’. Double-click on the TRIS_LEAD_Release_sites_lbs.xls file to “browse” into it.
Note that the Table of Contents Panel view changes to show that you have added a layer that currently has no explicit geometry.
Note that there are two fields that contain Lat/Lon coordinates. These fields can be
used to create a spatial data layer.
2. Right-click on the 'stfa-releases$' Table again and this tiem select ‘Display XY
Data’
5. Click OK.
7. You will be warned that the data you are displaying does not have
an Object ID field, Click OK to continue.
You should now see that an array of points have been added to your Map
Document, as well as an Events Layer, in the Table of Contents Panel.
Note that this layer is only, at this point, a ‘Display’ of points, based on the
coordinates in the table. To measure anything relative to these locations, it
is necessary to convert this display to an actual shapefile.
3. Browse to the
C:\temp\your_initials\Geology_and_Health
\Data\Shapefile Folder and save the
export file as MO_Lead_Releases.shp.
Click Add.
3. Select the Clean$$ Worksheet and Click Add to add it to the Map Document.
Note the data contained in this Table includes counts of children under 6 with elevated blood lead levels, as well as other
parameters relevant to the testing. Also, there is a field called ‘CNTYFPS’ which has the county Fips Codes for each County
record in the dataset.
Note that this Boundary File Layer also has a FIPS Code field called
‘FIPSSTCO’, but that it is a concatenation of the State &
County FIPS Codes. We need to alter the
field in one to the tables in order to use this
field as a ‘keyfield’ to join the two datasets
with. The Clean$$ table will be the easier to
alter.
2. Click on the Options Button at the bottom of the Clean$$ Table and Select Export.
6. Click on the Options Button at the bottom of the Clean Table and Select Add
Field.
7. Na
me
the
ne
w
fiel
d
‘FIP
SSTCO’; of type: Text; and with a
Length of 10.
8. Click OK.
You should now have a field whose values match those in the boundary file, tgr29001cty00_Merge.
6. Click OK.
Just as with the Events layer, you must export the joined datasets to a new
layer in order to calculate any new parameters within the attribute table.
5. Click Add.
7. Click Yes when prompted to add the layer to the Map Document.
4. Right-Click on the new Field Header and Open the Field Calculator.
8. Change the first drop-down to “Join data from another layer based on spatial location.”
13. Open the Attribute Table of the resulting layer and note that the numeric fields from the MO_Lead_Releases Layer have
been added summarized by addition for all of the points within each county. Some of these fields are nonsense, but some
may reflect information that is relevant to the question of the relationship between Lead Release and Child Lead
Exposure. Note that the Sum_Dummy field contains the number of release sites in each County.
Copying Symbology
1. Right-click on the new MO_Child_Lead_Ex_with_Count Layer and Open the Attribute table.
5. Make sure the Value Matching Fields are the same. Click OK.
6. Browse to the
C:\temp\your_initials\Geology_and_Health\Data\R
aster Folder and save the Output Raster as
dist2hydro.
5. Browse to the C:\temp\your_initials\Geology_and_Health\Data\Shapefile Folder and save the output Point Features as
MO_Lead_Releases_with_dist2hydro.shp.
7. Click OK.
8. Open the Attribute table of the resulting layer and scroll to the far right. Note that there is a new field named
‘RASTERVALU’ whose values reflects the distance in meters to the nearest hydrological feature.
1.
Final Cleanup
3. Click and Drag the hydrogl020_Clip Layer to the top of the Table of Contents Panel.
5. Click on the line symbol below the hydrogl020_Clip Layer to Open the Symbol Selector.
Note that you are now presented with the Layout Toolbar.
This toolbar is only available in Layout View. Some of the
Tools on this toolbar work in a way that is similar to the
Tools Toolbar, but with one critical difference… these tools
act on “the page” rather than the data.
Layout Page
2. Click on the Layout Zoom Tool and Drag a Box
across the top half of the Layout Display. Zoom Extent
Layout
3. Click on the Page Extent Button to Return to the Pan
Full View of the page.
Note that these tools did not change the scale or extent of the data.
Map Title
1. On the Main Menu, Go To Insert>Title. A Highlighted Text
Box will be inserted into the Map Layout.
4. Leave all other Settings at their Default, but note that there
are many options for altering the title text.
5. Click OK.
6. Use the Select Elements Tool to Move the Map Title to an appropriate
position above the Data Frame.
North Arrow
1. On the Main Menu, Go To Insert>North Arrow.
3. Click Ok.
Scale Bar
1. On the Main Menu, Go To Insert>Scale Bar.
2. In the Scale Bar Selector, Select the first Scale Bar in the list.
3. Click OK.
A highlighted Scale Bar will be inserted into your Map Layout (probably
at the worst possible place).
Legend
1. On the Main Menu, Go To Insert>Legend to Open the Legend Wizard.
2. Highlight and Remove all layers from the Legend Items List Using the
< Button.
3. Add the
MO_Child_Lead_EX_with_Counts
and
MO_Lead_Releases_with_dist2hydro
Layers back to the Legend Items List.
7. Click Next.
9. Click Next.
10. Accept the default settings for the final window and Click Finish.
11. Using the Select Elements Tool, Move the Legend to the lower
right corner of the map layout.
15. In the Table Of Contents Panel, Click once on the MO_Lead_Releases_with_dist2hydro Layer Name, Wait, then
Click Again to Highlight the Text.
17. Finally, use the Select Elements Tool to arrange your layout.
Note that the text changes with the alteration of the Table of Contents
Panel.
Neatline
Finally, we will insert a neatline around all of the Map Elements as a way to
‘finish’ the map, but also to control the clipping that will occur when we
export to JPEG.
4. Make Sure that the “Place Around All Elements” Radio Button is Checked.
5. Click Ok.
• Data Source(s)
Exporting to JPEG
1. Save your work by Clicking the Save Button.
8. Make sure that the Color Mode is set to 24-bit True Color.
Exporting to PDF
1. On the Main Menu, Go To File>Export Map.
6. Click Save.
5. Click Ok.
6. Click Ok.
You can now move your project by copying or zipping the C:\temp\your_initials\01-Introduction to ArcGIS\ Folder, in its
entirety, without having the problem of broken links that we experienced at the beginning of the tutorial.
• MXD Map Documents are very small! You can save many versions of a project by saving multiple Map Documents. This
allows you to save several layout versions of the same data without using a great deal of disk space.
• ArcMap supports long filenames for MXD Document, table and shapefile names. Use this to your advantage by giving
these files very specifically descriptive names. Coverage and raster filenames are limited to 13 characters.
• Congratulations! You are now ready to explore ArcMap on your own! If you are interested in additional training materials,
or just need help with a specific GIS related issue, feel free to contact us at the Yale Map Collection!