You are on page 1of 40

Introduction to ArcGIS 8.

2 Workshop
Lecture 1
Exercises 1 & 2

Tony Soeller & Kim Gerrard


Network & Academic Computing Services

Kay Collins
Main Library

U. C. Irvine
Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Introduction to ArcGIS Workshop

This workshop is intended to introduce you to the basic functionality of ArcGIS 8.1. The
focus of this workshop is on the GIS utilities that are available to you so that you can
learn how to glean information from existing GIS data and begin to construct your own
data layers. In the workshop you will be accessing and using GIS data that are readily
available. This is a two-session workshop that includes laboratory exercises.

Class 1: Exploring ArcGIS and GIS selections


• Explore GIS technology and what uniquely can be done with it
• Explore the capabilities of the ArcGIS module "ArcMap"
• Explore the relationships between features on maps and records in the underlying
database
• Perform spatial and database selections to highlight and extract information

Class 2: Producing Results With ArcGIS


• Reveal information within ArcMap by symbolizing map features
• Explore the capabilities of the ArcGIS module “ArcCatalog”
• Access data on the Internet to create custom GIS data layers
• Design and generate a basic map using Census data
• Review sources of ArcGIS-related information

NACS / Library Workshop 1 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Table of Contents : Class 1


Components of a GIS ........................................................................................................................ 3
Capabilities of a GIS ......................................................................................................................... 3
Components of ArcGIS..................................................................................................................... 4
About GIS data.................................................................................................................................. 4
ArcMap Data Layers ......................................................................................................................... 5
Data Layer Attribute Tables.............................................................................................................. 5
Spatial and Database Selections........................................................................................................ 6
The ArcMap Graphical Interface ...................................................................................................... 7
Menus, Buttons and Tools................................................................................................................. 8
ArcMap’s Table of Contents ............................................................................................................. 9
Map Display .................................................................................................................................... 11
Data View and Layout View........................................................................................................... 11
Status Bar ........................................................................................................................................ 12
The ArcMap Map Document .......................................................................................................... 12
Adding Data to ArcMap.................................................................................................................. 12

Moving Around the Map: Pan/Zoom ........................................................ 13


Working with Map Scale................................................................................................................. 15
Spatial Bookmarks .......................................................................................................................... 15

Measure tool ............................................................................................................................ 16


Viewing the Layer Attribute Table ................................................................................................. 16
Selecting Features to Extract Information....................................................................................... 17
Identify Tool ............................................................................................................................. 17
Set Selectable Layers ...................................................................................................................... 18
Select Features Tool ................................................................................................................ 19
Select By Graphics .......................................................................................................................... 19
Layer Selection Menu ..................................................................................................................... 19
Interactive Selection Method .......................................................................................................... 20
Select By Location .......................................................................................................................... 20
Interactive Selection Options .......................................................................................................... 21
Select By Attributes ........................................................................................................................ 23
Performing Selections Within a Layer Attribute Table .................................................................. 24
Map Tips ......................................................................................................................................... 24
Installing ArcGIS on your University-owned computer ................................................................. 24

NACS / Library Workshop 2 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Components of a GIS

A Geographic Information System (GIS) is a computer-based technology that is used to


view and analyze data that have a spatial (geographic) component. With a GIS one can
explore relationships among spatial data sets of diverse origins and derive new data and
new understandings of how things are related and interact spatially. Results of analyses
performed with the GIS are presented in the form of high quality maps and tabular
reports.

A GIS basically has two components: a map display with features representing things
on the ground (typically), and an underlying database whose individual records hold
information about each of those map features. There is a dynamic relationship between
these two components and the interplay between these components is what makes GIS
a unique technology. Using this technology specific map features can be selected for
analyses, and information about the selected features can then be extracted from the
database. Conversely, records in the database can be selected, either individually via
mouse click or as groups using SQL queries. Once done, the features on the map
associated with the selected records are highlighted, thus identifying where things on the
ground (as revealed by their representative features on the map) with common
characteristics reside.

Capabilities of a GIS

A GIS is both a data synthesis and a data analysis tool. A GIS can be used to assimilate
and display a myriad of existing spatial data and database information. For instance,
spatial data can originate from:

• multi-scale maps (e.g., generated from maps at 1:10,000 and 1:25,000 scale)
• data sources of disparate origins (such as from geologists and from botanists)
• data stored in various projections (e.g., State Plane and UTM)

Many forms of database information, such as demographic data, can be incorporated into
the GIS. Also, using digitizing and scanning techniques the GIS can be used to create
new data.

A GIS can perform analyses on the data it incorporates, the most common being
spatial and database selections and queries. Also, using common GIS analytical tools,
multiple layers of GIS data can be combined to identify overlapping relationships. As a
result of these analyses new data and relationships commonly are revealed. These
capabilities represent only the core features of a GIS.

NACS / Library Workshop 3 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Components of ArcGIS

ArcGIS is a GIS that consists of three main, independent modules and several
associated extensions. The three modules are ArcMap, ArcCatalog and ArcToolbox.
Each of these modules can be run independently on the computer. Various extensions,
such as the Spatial Analyst and Geostatistical Analyst Extensions provide additional,
specialized functionality to ArcGIS. Most users will need only to use ArcMap and
ArcCatalog.

ArcMap is used to create and display spatial (map) and tabular (database) GIS data,
to generate information-yielding selections and queries, to perform spatial analyses, and
to produce map and data output products. Within the map display, features can be
viewed in greater or lesser detail using common zooming and panning utilities. Features
on the display can be symbolized using colors, shades, and custom symbols to help
identify what each feature represents. Information in the underlying database is
displayed as tables similar to how Microsoft Excel or Access data are displayed in tables.
Most of your work with ArcGIS will happen within the ArcMap module.

ArcCatalog is an important tool for constructing, entering, and managing sources of


GIS data that you will use within ArcMap. With ArcCatalog you can also input and view
metadata (i.e., source and historical information about the data files) associated with your
GIS data, and even view snapshots of the GIS data, both graphical features and tables.

ArcToolbox (not a part of this workshop) provides additional higher-level functions


such as procedures for entering and converting data stored in other data formats.

Custom ArcGIS programs can be written using Visual Basic for Applications (VBA),
which is resident within ArcGIS, and the myriad of programming objects, known as
ArcObjects. Additionally―without writing programs―there are simple means within
ArcGIS for customizing the way the ArcGIS modules appear and what tools are available
to use.

About GIS data

GIS data consist of graphical representations of things on the ground and database
tables containing information (attributes) about those things. In ArcGIS these “things”,
are represented as features, and are depicted graphically as points, lines or polygons
with specific symbols used to uniquely identify each type of feature.

NACS / Library Workshop 4 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

ArcMap Data Layers

ArcMap displays geographic data in layers, almost like stacked layers of pancakes.

Layer 1
Layer 2
Layer 3

Layer 4

A layer contains graphical features and an attribute table. Each feature in the layer has a
unique record in the attribute table.

Each layer typically comprises features that are of the same kind. For instance, a
road layer would have only roads, though the roads may include freeways as well as
neighborhood streets. Or the layer could comprise only census blocks, block groups, or
tracts.

Within ArcMap, data layers containing polygon features can be displayed intermixed
with other data layers containing line features or point features. Features within layers
higher in the stack typically obscure features in underlying layers. So, within ArcMap,
opaque polygon features in one layer might obscure polygon, line and point features
contained within layers lower in the stack. Fortunately, the layers can be arranged so
that all features are visible. Commonly, polygon feature layers are moved lower in the
stack, and line and point feature layers are placed higher in the stack. Another approach
is to make one or more of the uppermost layers slightly transparent so the features in
underlying layers will show through. And each layer can be deactivated, meaning that
the deactivated layer is not visible and does not obscure features from any underlying
layer.

Data Layer Attribute Tables

As indicated above, each data layer has an associated attribute table that contains
records of data (rows) and attribute fields (columns). Attributes can be such things as
type, color, name, source, owner, material, etc. The following example is how an
attribute table for a GIS layer depicting tree locations might look:

NACS / Library Workshop 5 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Feature ID Type Diameter Height Age Health


1 Pine 24 40 30 Good
2 Pine 22 42 30 Good
3 Oak 35 28 40 Good
4 Eucalyptus 18 25 5 Poor
5 Pine 20 38 25 Good

Each record contains information about one feature in the layer. Each field holds like
information about each record. That is, all the information under a particular field is of the
same type, though the information (text, numbers, etc.) for specific records (i.e., features)
is unique to that feature. The information is quite variable in content but is used to
characterize each feature.

Spatial and Database Selections

Spatial and database selections are very important to users of ArcGIS. Selections are
procedures for choosing specific features or database records for the purpose of detailed
analyses. Using selection utilities you can uncover and extract enormous amounts of
information, and discover relationships (associations) among spatial features that could
not be seen just from records in the database alone.

To support this functionality there are numerous utilities within ArcMap for performing
spatial and database selections upon ArcMap features and those features’ associated
records within the layer attribute tables. Selections can be made to features on the map,
using graphical selection tools, and to records in the underlying database, using manual
selections or SQL queries. When you select features on the map their associated
records are highlighted within the database. Conversely, when you select records within
a layer’s attribute table those records’ associated features within the map will become
highlighted. Because of the value of this unique capability that GIS technology offers,
much focus will be made on how to use these utilities in this workshop.

NACS / Library Workshop 6 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

The ArcMap Graphical Interface

The following image shows the graphical interface that ArcMap presents and the various
screen components.

Menu Bar

A toolbar

Data Frames
and Layers

Table
of Map Display
Contents

“Display” and “Source” tabs Status Bar

NACS / Library Workshop 7 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Menus, Buttons and Tools

Similar to other Windows-based programs, ArcGIS has utilities that are accessed via
menus, buttons and tools. These utilities appear on the numerous ArcGIS toolbars.
Menu utilities usually have text descriptions and are generally accessed via a menubar
such as the following:

Buttons and tools are depicted as icons but function slightly differently from each other.
When you click on a button some event in ArcGIS happens immediately. Examples are
the “Full Extent” and “Go Back To Previous Extent” buttons in ArcMap.

Zoom In tool Zoom Out tool

Pan tool
Full Extent button

Go Back To Previous
Extent button

Measure tool

By contrast, when you click on a tool, ArcGIS waits for you to perform some action
with the mouse pointer associated with that tool. Examples include the “Zoom In”,
“Zoom Out”, “Pan” and “Measure” tools. Buttons and tools appear mixed within the
various toolbars (such as we see in the “Tools” toolbar above). Notice that some buttons
and tools may be “grayed out” meaning they cannot be used under the current conditions
of the interface. In the figure above the “Go Back To Previous Extent” button is grayed
out because no change in the map’s extent had occurred when a snapshot of this toolbar
was made.

To activate a specific tool bar go to View/Toolbars then click on the specific toolbar
that you want to be active in the display. Do the same to de-activate a specific toolbar
that has a checkmark next to it. To display the list of toolbars you can also right-click in
the gray area at the top of ArcMap.

NACS / Library Workshop 8 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Activate a toolbar by
clicking on the name

Menu 1: Toolbar Menu

ArcMap’s Table of Contents

The Table of Contents (TOC) is used to display and manage listings of GIS data that
are currently in use by ArcMap. GIS data are brought into ArcMap as individual layers.

Within the TOC, layers are grouped into one or more data frames. Each data frame
has a common focus for a subject of study. For instance, the focus of the data frame
may be the subject of demographics using census tracts, but that same data frame can
also contain street data to be used as a geographic base for location purposes. Only one
data frame is active at one time. When you add data to ArcMap a new entry is made to
the TOC within the currently active data frame. When a data frame is active its map
layers are available for viewing, selecting and modifying. Other data frames are in a
dormant state until you activate the specific data frame. Each data frame has a set of
properties that control how the data layers within the specific data frame are displayed.

The following is a hierarchy of components within the TOC. The TOC has one or
more data frames; a data frame has one or more layers and may have text; a layer has
features, an attribute table and may have annotation; and features within a layer consist
of points, lines or polygons.

NACS / Library Workshop 9 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

The Hierarchy within ArcMap’s Table of Contents

TOC
Data Frame1
Layer1
Features
Points
Lines
Polygons
Attribute Table
(Annotation)

Layer2

Layer3
(Text)

Data Frame2

Data Frame3

Window 1 shows the TOC with one data frame (“New Data Frame”) that contains three
layers of GIS data.

Window 1: ArcMap Table of Contents

NACS / Library Workshop 10 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Within the TOC you can:


• Activate/deactivate individual layers to toggle visibility (via the check box)
• Delete layers (i.e., remove them from the current ArcMap session but not from
disk)
• Reposition layers to effect visibility relative to other layers
• Highlight a layer name to determine how many of its features are currently
selected
• Display symbology for a layer
• Open the Symbol Selector for a layer
• Open the Layer Properties for a layer

Notice at the base of the TOC there are Display and Source tabs that, when selected,
yield different information or provide different capabilities for each of the data layers.
Both tabs will list the layers that have been added to the TOC. But each has special
functions. Using the Display tab, you can select and slide a layer up or down to define its
position in the layer hierarchy (see ArcMap Data Layers, above). Using the Source tab
you can view sources (location on disk) of the individual data layers. (Additionally, you
can view raw database tables, which are different from the layer attribute tables, that
have been added as data sources. These raw tables show up here, within the Source
tab but not within the Display tab.)

With the release of ArcMap 8.1.2 a new “Selections” tab is available via
Tools/Options…/TOC for setting the “selectable” layers.

Map Display

The ArcMap map display area is where you view and interact with your GIS map data.
Graphical features are drawn in the map display for each layer that is active within the
TOC. Within the map display you can also:

• Select features for analyses


• Pan/Zoom to different extents
• Use Map Tips and Identify tools
• Draw temporary graphical features and add/position text
• Select Data View or Layout View

Data View and Layout View


In the lower-left corner of the map display are two tiny icons used for choosing
either the Data View or Layout View window of the map display. Within the map display
the normal means for displaying and interacting with your graphical GIS data is through

NACS / Library Workshop 11 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

the Data View window. When you first open ArcMap the Data View window is the
default.

You will use the Layout View for developing formal maps or figures that incorporate
the data layers contained within the TOC. All of the tools available within the Data View
window are available within the Layout View window. The Layout View has additional
tools for framing your map.

Since the Data View window does not have the map frame, your graphical data will
occupy a larger area of the map display. Hence, the Data View window is better for
performing analyses of your GIS data.

Status Bar

At the base of the ArcMap display is a thin area called the status bar. Information about
your current ArcMap session appears on the status bar. When you move the mouse
pointer into the map display, the coordinates that the pointer occupies (in map units) are
shown on the right side of the status bar. Also, when you move the mouse pointer over a
particular tool or button, a simple description of that tool’s or button’s function is shown
within the left side of the status bar.

The ArcMap Map Document

When you work with ArcMap you add data layers, manipulate the layers’ symbology,
generate queries, define a map extent, etc. Similar to working with MS Word or Excel,
ArcMap has a document – the Map Document – wherein you can save all of this work.
When you open one of your saved map documents, all of the settings and conditions are
reestablished for you. Data files are not saved within the map document although
pointers to sources of data files are saved. As long as the data files are not moved from
one ArcMap session to the next, access to the data files will be transparent to you.
ArcMap map document files are stored on disk with a “.mxd” suffix.

* * *

Adding Data to ArcMap

In ArcMap you can use the Add Data tool to choose data layers to add to your TOC
and map display. (You could also use File/Add Data…) When you click on this icon
you are presented with a window such as Window 2 that allows you to choose data files
to add into ArcMap. Icons are shown next to each valid ArcGIS data file. In this example
there are designations for ArcGIS shapefiles (designated with a .shp suffix) and layer files
(designated with a .lyr suffix). Shapefiles are the most common ArcGIS data file that you
will use. Layer files are like shapefiles except they contain custom symbology previously

NACS / Library Workshop 12 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

associated with a particular shapefile. But, once inside ArcGIS, the packages of data
from each of these source files are all considered layers.

Window 2: Add Data

Moving Around the Map: Pan/Zoom

There are several tools and buttons that allow you to alter the scale and central viewing
point from which you view your spatial data. Traditionally these features are called “Pan
and Zoom”. But before looking at these map manipulation features, let’s first define map
extent. Map extent, or simply extent, represents the rectangular area encompassing
your spatial data that you are currently viewing. Your spatial data my actually extend
beyond the limits shown on the map display, but that which you are currently viewing
represents the extent. The extent is defined by the coordinates of the four corners of your
data on the display. Because the extent is a rectangle, we can simple define the extent
as being the X- and Y-coordinates of the upper-left corner of your spatial data and the X-
and
Y-coordinates of the lower-right corner of your spatial data currently within the map
display. Panning and zooming are procedures for changing the map extent. When you
change the map extent you are changing either the map scale, the map central viewing
point or both.

By “zooming in” or “zooming out” within the map display you are changing the map
viewing scale without changing the central viewing point. Zooming out means that you
are viewing more real estate (around the same center viewing point) though features

NACS / Library Workshop 13 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

become less clearly resolved (distinct) the further out you zoom. Zooming in creates the
opposite effect: less real estate is seen but individual features (particularly points and
lines) become more clearly resolved. Panning is the process of changing the center
viewing point without changing the current map scale. By panning north, south, west or
east you are looking at areas of the map that are adjacent to the previous view.

Use the Zoom In and Zoom Out tools to, well, zoom in and zoom out. Position
either tool over a point on the map display and click the left mouse button to zoom in or
zoom out. With the Zoom in tool you can also drag out a rectangle around the area that
you want to be the newly defined extent. Essentially, with this operation, you are
changing both the map scale and the central viewing point.

Use the Pan tool to change the central viewing point without changing the map
scale. Select the Pan tool then position the mouse pointer (it will look like the same hand
character) over the map display and drag the pointer across the screen. Spatial data
from adjacent portions of the map will then come into view.

Use the Go Back To Previous Extent and Go To Next Extent buttons to move
back and forth between extents that you previously defined using the zooming and pan
tools. These two buttons function similar to the Back and Forward buttons you see in
your Internet Browser. If no changes have been made to the map extent then these
buttons will be “grayed out” indicating they are not currently operational.

Use the Full Extent button to zoom all the way out to the extent of all layers within
the TOC. ArcMap adds a little more area to the extent so that all features within all layers
are visible when the Full Extent button is clicked.

Sometimes you may want to zoom out (or in) to the extent of all the features of just one
layer. To do this, right-click on the layer name within the TOC then click on Zoom to
layer extent. (See Menu 2 which is the menu associated with any layer.)

NACS / Library Workshop 14 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Menu 2: Layer Menu

Working with Map Scale

You can manually change the map scale. Doing so effects an automatic zoom in or
zoom out depending on the current map scale and the map scale you choose. At the top
of ArcMap you will see the Map Scale entry window just to the right of the Add Data tool.
In this little window you can click the dropdown arrow to choose one of the optional map
scales or you can type a specific map scale in the window. To change the map scale to,
say, 1:12,000,000 just type 12,000,000 in the window and hit the Enter key. The map
scale changes to 1:12,000,000 and, within the map display, the map extent changes to
conform to the new map scale.

Spatial Bookmarks

A nice utility for returning to a favorite map extent is the spatial bookmark. Zoom and/or
pan to the desired extent on your map that you think you might want to revisit later. Then
click on View/Bookmarks (see Menu 3) then click on Create… In the Spatial
Bookmark window that appears next, type in a simple name (such as Moscow or Subject
Property) that characterizes the special map extent you have chosen. Later, after
changing the extent, you can return to your custom extent by choosing
View/Bookmarks then click on the name you entered earlier as a bookmark. ArcMap
will return to the map extent associated with that bookmark.

NACS / Library Workshop 15 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Menu 3: View Menu Window

Measure tool

Within the map display you can find out how far apart two features are using the
Measure tool. By clicking on this tool you can use the mouse pointer to click on one
feature then click on another to measure their distance in map (i.e., ground-based) units.
You can also find the distance along a path by clicking with the mouse multiple times in
sequence while tracing out a path. The distance is displayed within the ArcMap status
bar on the left side. Measurements are given for the segment distance (the distance
between locations identified with the last mouse click and the second-to-last mouse click)
as well as the total distance (the distance along the trace from the first mouse click to the
last mouse click).

Viewing the Layer Attribute Table

To view the attribute table for a specific layer, right-click on a layer name (within the TOC)
then choose Open Attribute Table (see Menu 2). The layer attribute table, similar
to that in Window 3 appears. Within the attribute table you see feature records, displayed
as rows, and feature attributes, displayed as columns.

NACS / Library Workshop 16 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Window 3: A Layer Attribute Table

Selecting Features to Extract Information

As pointed out above, selecting features and database records is very important to users
of ArcGIS. Selections can be made against features within a layer in the map display
and against the layer’s attribute table. Following are several tools, buttons and other
utilities for selecting features and records and for generally extracting information from
ArcGIS using your data.

Identify Tool

The Identify tool is the simplest tool for selecting features and displaying information
about what those features represent. When employed, the Identify tool pops up a
window that shows the attributes of the feature selected in the layer. Window 4 shows a
display of Census data for a single tract.

Window 4: Identify Results

NACS / Library Workshop 17 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

More comprehensive selections, and information extractions can be done using other
tools within ArcMap. You can select features using graphics tools, by their proximity to
features in other layers, and by attributes from within the attribute table.

Set Selectable Layers

Features from multiple layers can be selected simultaneously. Commonly you will only
want to select features from one layer at a time. So, choosing the layer from which you
want to select features before you actually start selecting features is important. To define
which layer (or layers) you want to set as being selectable go to the menubar and choose
Selection/Set Selectable Layers… as is seen in Menu 4.

Menu 4: Selection

Within the Set Selectable Layers window you can check the layer that you want to
set as being selectable. Once you do that, only features in the selectable layer can be
selected. In Window 5, the Census Tracts layer has become the only selectable layer.

Window 5: Set Selectable Layers

NACS / Library Workshop 18 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Select Features Tool

Once a layer is set as being selectable you can activate the spatial Select Features tool
and click on one feature to select it (the feature color turns to cyan) or drag out a
rectangle over multiple features to select them as a group (all the selected features turn
to cyan). Once you select a feature you can view its characteristics in the layer attribute
table.

Select By Graphics

Essentially the above approach to selecting features is selecting by graphics, in this case
using a flexible rectangle as the graphic. You can use other graphical shapes such as
points, lines, circles, ellipses and irregular-shaped polygons to define which features are
to become selected. To do this:

1) select a new graphic from the Draw toolbar,


2) draw a graphic within the map display over the features you want to select,
3) then, from the Selection menu, choose Select by Graphics…

The features that are touched by the graphic will then be selected.

Layer Selection Menu

Each layer has a set of buttons that can be used to control the set of features that are
selected within the specific layer. To access these buttons, right-click on the layer name
(within the TOC) then choose Selection (see Menu 4). The Layer Selection menu
(see Menu 5) appears. With one or more features selected you can Clear Selected
Features, which makes all features cleared (i.e., no longer selected), or Switch
Selection, which causes the currently selected features to be non-selected and all
others to become selected. The Select All button simply causes all features in the
layer to become selected. (Notice also in this menu that, once features are selected, you
can change the map extent to encompass all the selected features by clicking on Zoom
To Selected Features.)

Menu 5: Layer Selection

NACS / Library Workshop 19 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Be aware that the tools and buttons for performing selections from within a layer’s
Selection menu can produce different result from the tools of the same name which
are accessed from the Selection menu on the menubar. For instance, if you have
features from multiple layers selected, and then you choose one layer’s menu and click
on Clear Selected Features (see Menu 4), only the selected features within the
specific layer will become cleared. Whereas, if you choose Selection/Clear
Selected Features from the menubar, then all features within all layers are cleared.

Interactive Selection Method

When using the selection tools upon features in the map the default action is to start
fresh and create a new selection. However, once one or more features are selected
several options are available for amending the set of selected features. You can add
features to the set, remove features from the set, and refine the selection set. To access
these options choose Selection/Interactive Selection Method from the
menubar. Menu 6 shows the options available for making interactive selections.

Menu 6: Interactive Selection Method

Use the Create New Selection option to clear the current selection set and
create a new set of selected features.

Use the Add to Current Selection option to select features and add those
features to the current set of selected features.

Use the Remove From Current Selection option to select features within the
current selected set that are to be cleared (i.e., removed from the selection set).

Use the Select From Current Selection option to select features within the
current selected set that are to remain as the only selected features (all others are
cleared).

Select By Location

A very powerful ArcMap tool is the capability to select one or more features from one
layer based on those features’ spatial association with features in other layers. For

NACS / Library Workshop 20 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

instance, a set of Census tracts could be selected based on a certain demographic


characteristic. Then features from a point layer, representing patients’ homes, could be
selected based on their spatial association with the selected set of Census tracts. You
then have a selected set of patients that match the pre-defined demographic
characteristic. To use this capability choose the Selection/Select by Location…
menu item from the menubar. Window 6 is an example of this feature.

Window 6: Select By Location

Interactive Selection Options

Associated with all these graphical selection tools are certain interactive selection
options. These options allow you to define the color that selected features will have (the
default is cyan); the selection tolerance which indicates how far from the mouse pointer

NACS / Library Workshop 21 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

features can be and still be selected; and inclusion options which define what features
will be selected based on whether or not they are touched by, or completely enclosed by,
the flexible selection box. These options are accessible from the menubar under
Selection/Options/Interactive Selection. Window 7 displays these, and
other, selection options.

Window 7: Selection Options

NACS / Library Workshop 22 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Select By Attributes

The preceding discussion about the ArcMap selection utilities has all been regarding the
spatial selection tools. Those tools allow you to select features interactively so that you
can then view the attributes of the selected features. An equally important approach is to
select features based on their attributes then to view where the set of selected features
resides on the map. Commonly, through this approach, interesting and revealing spatial
relationships (or even sometimes apparent spatial non-relationships) unfold. To
accomplish this you would select features using the Selection/Select by
Attributes… option from the menubar. Window 8 is an example of this utility. In the
example shown, a country is found based on a specific name. Other, more rigorous
selections, can be applied using this option.

Window 8: Select By Attributes

NACS / Library Workshop 23 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Performing Selections Within a Layer Attribute Table

Within the layer attribute table, such as that shown in Window 3, you can manually select
one or more features’ records. To open an individual layer’s attribute table right-click on
the layer’s name then click Open Attribute Table. By clicking on the left-most box
of a record in the table, that record becomes selected, it turns cyan, and the associated
feature on the map also turns cyan. Non-selected records remain white and their
associated features’ original symbol color is unchanged. Additional options within the
attribute table allow you control the set of selected features.

Map Tips

A handy feature within ArcMap for interactively displaying a specific attribute about any
feature is the Map Tip. As you move the mouse pointer around the display and hover the
pointer over a feature, requested information about that feature will be displayed in a
small box above the feature. Map Display 1 shows a Zip Code being displayed for a Zip
Code polygon using the map tip.

Map Display 1: Map Tips Example

Installing ArcGIS on your University-owned computer

Installation instructions can be viewed at www.nacs.uci.edu/~aworford/arcgis

NACS / Library Workshop 24 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Exercise 1: Getting Familiar with ArcMap


In this exercise you will…

Open ArcMap and create a map document


Read in some GIS spatial data for California
Manipulate data layers and data frames within ArcMap’s TOC
Perform a simple layer symbol change
Experiment with the suite of tools used to alter the map extent and map scale
Measure the distance between features
Activate and reposition toolbars

Step 1: Adding Spatial Data and Working with the TOC

1. Open ArcMap
Go to Start/Programs/Apps/ArcGIS and click on ArcMap.

In the window that appears (‘Start using ArcMap with’) choose ‘A new empty map’ and
click ‘OK’.

2. Save the Map Document


Click on File/Save As… and save this empty map document as ‘exercise.mxd’ within
the c:\SaveHere directory.

3.Add spatial data to ArcMap


Click on the “Add Data” icon.

In the “Add Data” window navigate to the directory c:\ apps\esri\esridata\ca. Select the
following map layers (hold the Ctrl key to highlight multiple layers):

cards.shp (California roads shapefile)


catrct.shp (California Census tracts shapefile)
Census Tracts.lyr (California Census tracts layer file)
Major Roads.lyr (California major roads layer file)

Click on “ADD” to add the layers to the map.

You should get a view of California with a lot of freeways shown. (The source files
with the “.shp” suffix are shapefiles and the source files with the “.lyr” suffix are “layer”
files.)

4. Deactivate some data layers


Click on (to remove) the check boxes for the Major Roads and the Census Tracts layers.
Doing this temporarily deactivates these two layers. While a layer is un-checked its
features are not displayed.

NACS / Library Workshop 1 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

5. Slide the cards layer below the catrct layer.


Move the mouse pointer over the “cards” text and hold down the left mouse button.

Drag the layer below the catrct layer.

If the cards layer is already below the catrct layer then first move it up then back
down below catrct. Notice that when the cards layer is lower in the TOC you cannot
see the roads in the map display.

6. Hide/reveal the layers’ symbol representations


To the left of each of the layers is a little minus sign. Click on one of the minus signs and
you will see that the symbol representation goes away and the minus sign turns to a plus
sign.

Click on the plus sign to bring the symbol representation back into view.

7. Hide/reveal the individual layer names


Click on the minus sign next to the word Layers.

“Layers” is the name of the current data frame where your map layers reside. When
you click on the minus sign the individual layers’ names disappear though the layer
data is still drawn on the map.

Click on the plus sign next to the word Layers to restore the layer names to the TOC.

8. Add a new data frame to the TOC


Click on Insert/Data Frame.

When you do this, notice that your layer data disappears from the map display. That’s
because inserting a new data frame (it should appear as “New Data Frame”)
automatically activates the new data frame and there are currently no data layers
within the new data frame. Notice that New Data Frame is also bold and the
“Layers” data frame is no longer bold.

Add a shapefile to New Data Frame (use catrct.shp) the same way you added data,
above. When you do this the California tracts should appear on the map display.

Move the mouse pointer into the map display then right-click the mouse. The menu that
appears has menu items that are pertinent to the active data frame.

Within that menu click on Properties…. The Data Frame Properties window opens.

Make sure the General tab is active (click on it if necessary).

In the Name: window, replace the text with “Data Frame 2” then click OK. The change
you make will be reflected in the active data frames name within the TOC.

NACS / Library Workshop 2 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

9. Re-Activate the “Layers” data frame


Right-click on the word “Layers” in the TOC then, in the menu that appears, click on
Activate.

The Layers data frame becomes active, the word “Layers” turns to bold (“Data
Frame 2” is no longer bold) and the map data associated with the layers within the
Layers data frame again appear in the map display.

10. View the data sources


Click on the “Add Data” icon again and navigate to c:\ apps\esri\esridata\county.

Select the shapefile dtl_cnty.shp (which stands for “detail county”) and click “Add”.

What is the vertical position of the counties layer relative to the other layers? ____

At the bottom of the TOC click the Source tab.

You will now see a slightly different format of your data layers. Most importantly is the
presence of the directory path within which each of your data files resides. Notice that
layers that come from the same directory on disk are grouped together. The dtl_cnty
layer is listed alone and under its own directory.

Now what is the vertical position of the counties layer relative to the other layers?
____

The dtl_cnty layer may be in a different position vertically than where it resides within
the Display tab listing.

Click the minus sign next to one of the directory paths.

Notice how all the individual layer information is hidden. If, when using ArcMap later,
you have layers from many sources, clicking all of the directory path minus signs is a
handy way to remove the clutter in the TOC Source tab.

Within the Source tab you cannot slide individual layers to reposition them in the
hierarchy. This can only be done within the Display tab.

Click the Display tab.

11. Change symbology for a layer


Double-click (with the left button) on the rectangle below dtl_cnty. The Symbol
Selector window appears.

Next to Outline Width click the up arrow until “2” appears.

NACS / Library Workshop 3 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Click the box to the right of Fill Color. A color palette appears. Notice the words “No
Color” at the top of the palette. For this exercise we want this particular layer to have the
fill color set to No Color so that the county polygons will not obscure the symbols from
underlying layers. Click on the bar for “No Color”.

Click OK. Now each of the US counties should have a bold solid outline.

Within the TOC slide the dtl_cnty layer to the top of the stack.

In this configuration the county outlines are bold and appear above all other layers.
As such, this layer helps to define the county boundaries within the map display.

Step 2: Working within the Map Display

12. Changing the map extent


Turn your attention to the map display.

Move the mouse pointer around on the map and notice, in the right side of the status bar,
how the map coordinates (in Longitude and Latitude units) change.

What is the approximate map scale (look below the menubar)? 1 :______________

For a few minutes, experiment with the Zoom In , Zoom Out and Pan tools
to get familiar with their operation.

Click once on the Zoom In icon, then position the mouse pointer within the map display
where you want to zoom in, then click the left mouse button.

The place on the map where you position the mouse pointer will move to the middle of
the map display in conjunction with the change in map scale. Notice how the map
scale number changes as the map changes to the new map extent.

What is the current map scale now? 1: ______________

Do the same with the Zoom Out tool (click on its icon then click within the map display)
to zoom out.

Again, the place on the map where you position the mouse pointer will move to the
center of the map display.

Click on the Pan tool icon.

Within the map display, position the mouse pointer over a location on the map, hold down
the left mouse button and drag the mouse pointer (and the map along with it) to a new

NACS / Library Workshop 4 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

position. Notice, when using the Pan tool that the extent changes but the scale remains
the same.

Click the Go Back To Previous Extent button a couple of times and notice how the
map display extent changes to the extents you had previously established.

Click the Go To Next Extent button and you will move to an extent that you had
defined subsequent to the current extent. (It’s easier to do than to explain…just try it and
see what happens.)

Click the Full Extent button . This button will zoom out to the extent that
encompasses all features of all layers within the active data frame regardless of the
layers’ individual activation status (i.e., whether they are checked on or checked off).

13. Zoom to a layer


The Full Extent button is useful but it may zoom out way too far for your purposes.
Instead you may want to zoom out to encompass all the features of only one layer.

Within the TOC, right-click on catrct. A black bar encompasses the layer name when
you select it this way and the layer’s menu appears.

Click on Zoom To Layer. The map display’s extent changes to match the maximum
extent of the selected layer.

14. Define a specific map extent with the Zoom In tool


This is probably the handiest tool for defining the map extent. Using the Zoom In tool,
drag out a rectangle approximately around the area of Orange County. To accomplish
this, click on the Zoom In icon, then position the mouse pointer north and west of Orange
County. Hold down the left mouse button and drag the pointer down and to the right so
that the mouse pointer ends up somewhere to the east and south of Orange County. A
rectangle is formed on the screen during this process. Release the mouse button.

You might have to do this a few times, using the Zoom Out tool and then the Zoom
In rectangle, to get it right. (You can define a rectangle with the Zoom Out tool too,
but the results are not intuitive.) This procedure, called dragging out a rectangle, will
be used in conjunction with other ArcMap tools.

15. Create a spatial bookmark


Use the Zoom and Pan tools until you have Orange County centered within the map
display.

Click on View/Bookmarks/Create… In the Spatial Bookmark window type “Orange


County”, then click OK.

Click the Full Extent button. A view of the United States is displayed.

NACS / Library Workshop 5 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Now click on View/Bookmarks/Orange County and your previous view of Orange


County is displayed.

16. Define the Map Scale


In the Map Scale window type in the following map scale: “1:1,000,000” (without the
quotes) and hit the Enter key. (Alternatively you can type “1:1000000” or “1,000,000” or
simply “1000000”.)

Click on the drop-down arrow on the right side of the Map Scale window and choose
1:750,000.

This technique is useful for defining precise map scales which can be important for
subsequent map prints that you may generate in your work with ArcMap.

17. Determine the distance between things using the Measure Tool
Look at the map coordinates in the status bar. Click View/Data Frame Properties…
then click the General tab.

Under Units set the Display to Miles. Now, notice that the map coordinates (x-value, y-
value) have changed to miles within the lower right side of the status bar.

Click on the Measure tool .

Move the mouse pointer to a point on the map display and click the left mouse button.

Move the pointer to another location and click the left mouse button again. Notice in the
left side of the status bar the distance between points on the map is displayed.

Move the pointer once more and click the left button.

You will see two different values displayed. The smaller (Segment) value is the
distance between the last two locations when you clicked the mouse. The larger
(Total) value represents the length along the entire trace.

The Measure tool, when in operation, becomes sort of like fly paper and the tracing
line annoyingly won’t go away. To dismiss the tracing line, just click on any other
icon. The most benign would be the Select Elements icon (it looks like an
arrowhead).

Step 3: Working with Toolbars

18. Activate a toolbar


Right-click on the right side of the menubar (away from any icons). The list of available
toolbars appears. (This list can also be accessed via View/Toolbars.) Currently
active toolbars have check boxes next to them. Check to activate the Draw toolbar (it

NACS / Library Workshop 6 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

may already be checked) and notice where it appears at the bottom of the display.
Deactivate the Tools toolbar then reactivate it again.

19. Reposition and dock the “Tools” toolbar


The Tools toolbar is best kept activated because it has a bunch of handy tools and
buttons that you will use often. But it can obscure map information in its normal
location within the map display. I like to move it between the TOC and the map
display.

Please read this paragraph before performing the described operations. Move the
mouse pointer into the blue area of the Tools toolbar and hold down the left mouse
button. Then gracefully move the mouse pointer away from the toolbar (a grey rectangle
appears which follows the movement of the mouse pointer) and over to the area at the
left side of the map display. All this time keep the left mouse button held down. Notice
how the grey rectangle becomes a tall grey rectangle. ArcMap is now preparing to “dock”
the toolbar for you. Position the upper-left corner of the grey rectangle into the upper-left
corner of the map display then release the mouse button. If done correctly, the Tools
toolbar will dock between the TOC and the map display with each icon stacked vertically.
If the toolbar ends up somewhere else, move the mouse pointer over the tiny grey bar at
the end of the Tools toolbar and perform the docking action again.

This same operation can be performed on any of the ArcMap toolbars and, for that
matter, on any MS Word, Excel or associated Windows utilities.

Save your work using File/Save.

End of Exercise 1.

NACS / Library Workshop 7 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Exercise 2: Spatial Selections, Queries and the Layer Attribute Table


In this exercise you will…

Explore the relationship between layer features and their records in the attribute
table
Employ numerous tools for selecting individual features and groups of features
View methods for displaying feature attributes

1. Explore a Layer Attribute Table


In the TOC, right-click on the Census Tracts layer.

In the layer menu that appears click on Open Attribute Table. The Attributes of
Census Tracts table appears. This is a typical attribute table associated with features in
a layer.

Within the table window, scroll to the right to view the numerous names of the fields (or
attributes) associated with the records.

Each layer attribute table has at least the FID (Feature IDentification) and Shape
fields. Layers containing polygon features also have an Area field in their table and
layers containing line features have a Length field in their table. There is no
measurement field for layers containing point features. (The Shape field for each
record contains the coordinate information for the specific feature. This field is part of
the database but cannot be edited within the table. Changes to a feature’s shape
would be done graphically using editing tools within ArcMap.)

How many records are in the table? _____________

To find this number you can count them all (after class), or scroll to the bottom of the
list and read the last number under the FID field, or just read the number at the base
of the table next to “Records”.

Why is the last number under the FID field different from the number at the base of
the table? _____________________________________________________________

2. Extract feature information using the Identify tool


Leave the layer attribute table open but move it to the lower left corner of the screen.

Click View/Identify Results. The Identify Results window opens.

In the Identify Results window click the dropdown arrow next to the Layers window and
choose Census Tracts.

NACS / Library Workshop 8 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Doing this will allow you to view attribute information for only the Census Tracts layer.
Other options are: Visible Layers (information will be displayed for all layers in the
data frame that are set to be visible); Selectable Layers (information will be displayed
for layers in the data frame that are set to be selectable regardless of their visible
state); All Layers (information will be displayed for all layers in the data frame
regardless of their visible state); Top-most Layer (information will be displayed for
the layer that is both set visible and occupies the highest position in the data frame);
as well as selecting other specific layers.

Click on the Identify tool .

Move the mouse pointer over any census tract and press the left mouse button.

Attribute information about the specific census tract becomes listed in the Identify
Results window. You can see that the field names are the same as those in the layer
attribute table. At the top of the Identify Results list you can see the FID value for
the selected tract.

Within the attribute table, scroll down the list until you find that same FID value. You can
compare the values displayed in the Identify Results window with the record in the table
to confirm that they are extracting information from the same source.

Close the Identify Results window but leave the layer attribute table open.

3. Set the Census Tracts layer to be selectable


Click Selection/Set Selectable Layers…

In the Set Selectable Layers window click the Clear All button then check the box next
to Census Tracts only, then click Close.
4. Select census tracts (features) using the Select Features tool
Make sure the Census Tracts layer is activate in the TOC (its box should be checked on).

Activate the Select Features tool and left-click on a census tract.

When you do so the selected tract turns to cyan. Simultaneously, in the attribute
table, the record associated with the selected tract turns to cyan. (Also, the “Number
of features selected” is reported on the left side of the status bar.)

To view that selected record click the Selected button at the bottom of the Attributes of
Census Tracts table.

Drag out a rectangle around several census tracts but different from the currently
selected tract.

What happened to the originally selected tract? ______________________________

NACS / Library Workshop 9 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Tracts whose borders are either partially or wholly touched by the rectangle are
selected. Their borders turn cyan and the tracts’ associated records turn cyan in the
attribute table. Since the Selected button was clicked you should now see only the
selected features’ records in the table. Also, when you select a new tract or set of
tracts the originally selected tract(s) become un-selected. Later you will see how to
cause the original tract to remain selected.

5. Select census tracts using custom graphics


Activate the Draw toolbar (View/Toolbars/Draw).

Within the Draw toolbar, select the New Circle graphic shape.

The New Circle is about the fourth icon from the left side of the Draw toolbar. Usually
the New Rectangle icon is showing. If it is, click on the drawdown arrow next to the
New Rectangle icon and then click on the New Circle icon.

Drag out a circle around several tracts that you want to select.

Choose Selection/Select by Graphics… The features that are touched by the


circle will then be selected.

Besides the rectangle and circle, other graphical shapes available for selection
purposes are the oval, polygon, line, curve, freehand and point. The outline and/or
position of each of these shapes can be modified after drawn. To modify a graphical
shape it must be selected (not to be confused with feature selection). When you first
draw a graphical shape it becomes selected and it is encompassed by a thin cyan
rectangle with eight cyan nodes (circles have only four nodes) at the corners and
sides. Under those conditions you can modify its shape by dragging on one of the
nodes. Simply moving the mouse pointer outside the selected shape and clicking
mouse will de-select the shape. To select it again, move the pointer into the shape
and click the mouse. Also, you can delete the shape when it is selected by pressing
the Delete key.

6. Choosing an Interactive Selection Option


Occasionally you might want the graphical shape (be it a rectangle or other graphic)
to be more specific in its selection. For instance, you might want to drag out a
rectangle and have only the features that are wholly contained by the rectangle to be
selected. To control this, click Selection/Options. In the Selection Options
window you would define the desired constraint using one of the three options under
Interactive Selection.

7. Explore options within the Layer Selection Menu


As described above, spatially select several features within the Census Tracts layer.
In the TOC, right click on the Census Tracts layer name, then click Selection.

NACS / Library Workshop 10 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Several menu options are available to you when one or more features are selected for
a layer. Most importantly are the top three, these being Zoom To Selected
Features, Clear Selected Features, and Switch Selection. The Zoom To Selected
Features is quite useful for zooming right in to study your selected features. Clear
Selected Features is a tool for easily un-selecting all features. Switch Selection will
un-select all currently selected features and simultaneously select all currently un-
selected features.

Click on Switch Selection and notice the change in the selection set. (Click on Yes if
you are warned that the table potentially contains a large number of records.)

Click on Switch Selection again for the Census Tracts layer.

Click on Zoom To Selected Features for the Census Tracts layer.

Once you use this button in actual practice you might want to follow up by defining a
spatial bookmark.

8. Define the Interactive Selection Method


Zoom out a bit from the current selected features.

Click Selection/Interactive Selection Method.

Click Add to Current Selection.

Click the Select Features tool.

Click on one of the tracts that is not currently selected.

The newly selected track’s border will turn cyan and the other selected tract(s) will
remain selected and cyan as well.

If nothing becomes selected, check the status of the Interactive Selection under
Selection/Options… and the status of the selectable layers under
Selections/Set Selectable Layers… (Actually, if no layers are set selectable
within the Set Selectable Layers… window then the Select Features tool currently
would not be available and its icon would appear grey-ed out.)

Choose Remove From Current Selection from the menu then click on a currently
selected tract. The specified tract should now become un-selected.

Choose Select From Current Selection from the menu then click on a currently selected
tract. The specified tract now becomes the only selected tract.

In these examples you can just as easily drag out rectangles to specify groups of
tracts rather than just one tract at a time.

NACS / Library Workshop 11 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

9. Select features in one layer that are in the proximity to other features in another layer
Set Selection/Interactive Selection Method… to Create New Selection.

Use the selection tools to select a group (40 or so) of census tracts.

Click Selection/Select By Location…

Fill in the Select By Location window so that it reads:

I want to:

select features from

the following layers:

cards (check this layer)

that:

intersect

the features in this layer:

Census Tracts

Use selected features (click on this)

Click Apply then Close.

Features within the Census Tracts layer and the cards layer are now selected.

In the TOC, deactivate the Census Tracts layer.

You can now see the roads (selected) that pass through the selected set of census
tracts.

10. Select features by their attributes


Make sure no features are currently selected (Selection/Clear Selected
Features).

Click Selection/Select by Attributes…

For Layer select catrct

For Method choose Create a new selection

NACS / Library Workshop 12 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Under Fields double click on “Age_18_29”. The text “Age_18_29” should appear in the
widow below the Fields window.

Click once on the “>” button. The text should now read ‘“Age_18_29” >’.

Move the mouse pointer into the window after this text and type “2000” without the quote
marks. The text should now read “Age_18_29” > 2000.

Click Apply then Close.

This procedure will select each of the census tracts that have a population with more
than 2000 persons between the ages of 18 and 29. To view the selected features
make sure the catrct layer is activated.

11. Selections within a layer attribute table


Open the attribute table for the Census Tracts layer.

Click on the left-most box of a record in the table. That record becomes selected, it turns
cyan, and the associated feature on the map also turns cyan. (Non-selected records
remain white and their associated features’ original symbol color is unchanged.)

Select multiple contiguous records by clicking on a record (again in the left-most box) and
dragging the mouse down. Similarly you can click one record then hold down the Ctrl key
and click other records to select multiple records.

Click on the Show:Selected button.

Click on the left-most box for a record.

Doing this highlights (in yellow) a specific selected record. The feature on the map
that is associated with the highlighted selected record also turns yellow.

Hold down the Ctrl key while clicking several of these boxes. This allows you to highlight,
in yellow, multiple contiguous or non-contiguous records. You can also click on one of
these boxes and drag the mouse down to highlight multiple contiguous records.

You can also select records based on some attribute characteristic using the
Options/Select By Attributes feature within the table window. This is similar
to the operation in Step 10, above.

To un-select all selected records in the attribute table window choose


Options/Clear Selection. The Options/Switch Selection will cause all
currently selected records to become unselected and, simultaneously, all currently un-
selected records to become selected. The Options/Select All button causes all
records (and features) to be selected.

NACS / Library Workshop 13 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

Close the attribute table.

12. Displaying information using Map Tips


To activate a map tip for a specific layer you need to do two things. First define the
layer’s primary display field. (This defines what attribute field will be shown on the map
when you use map tips.) To do this, right-click on a layer’s name within the TOC then
click on Properties…

In the Layer Properties window, click on the Fields tab then select a field (attribute) from
the Primary display field box. In the following window you see that the chosen field is
STAT_DESC.

Next you need to activate map tips for the specific layer. With the Layer Properties
window still open, click on the Display tab. The following window is an example showing
the options within the Display tab. Activate the Show Map Tips checkbox (a check mark
appears when you click on the box to activate it).

Click the OK button. Move the mouse pointer over individual features for the layer you
chose and you will see the attribute value associated with that feature displayed in a box
next to the mouse pointer.

NACS / Library Workshop 14 University of California, Irvine


Introduction to ArcGIS Class 1: Exploring ArcGIS and GIS Selections

If you have map tips activated for multiple layers you can view the map tips of all
those layers as long is there are no spatial overlaps where the mouse pointer hovers.
Where there is a spatial overlap, such as hovering the mouse pointer over a feature
(line) from a river layer and a feature (polygon) from a country layer, then only one
layer’s map tip would be displayed. In this case the map tip which is displayed is the
map tip associated with the layer whose position is highest in the TOC.

If a layer is not activated in the TOC, no map tips will be displayed for that layer. And,
the choice of layers that are defined as selectable under Selection/Set
Selectable Layers… does not affect what appears in the map tips.

End of Exercise 2.

NACS / Library Workshop 15 University of California, Irvine

You might also like