Four things need to be performed to conduct the type of analysis
we performed in class:
- Preprocess data in Excel
- Select the map data to be used in the analysis
- Link the dBase table to the map
- Analyze the data
Preprocessing data in Excel
The basic steps include
- Start Excel and load the file(s) that will be used in the analyses
- Identify appropriate columns that are to be used in the analysis
- Develop and construct calculations that will be used to perform the time series
analysis (e.g., subtract POP90 from POP99 to examine the change in population during this
period)
- Save the file in dBase format (*.dbf)
Select the map data to be used in the analysis and link the dBase table to the map
(Chapter 8b and 11d))
The basic steps include
- Start ArcGIS
- Loaf an existing ArcGIS Document (*.MXD) or click cancel. The system
will prompt you to add data. If you know what you want, locate it and
click the add button. Otherwise, click cancel.
- New map layers containing the map data (e.g., counties) can also be added
by clicking on File --Add Data. Sample data containing all of the US
counties, as well as other features such as country and state boundaries, can
usually be found in the
C:\arcgis\arcexe81\Bin\TemplateData\USA directory.
- Use a query to select the subset of map data you need for your analysis.
Use Selection - Select by Attributes
- In the Select by Attribute dialog box, select the state name column and enter a
query to select the counties (you may need to expand the list of states
available).
- Save the selected counties to a separate map file. Right click on
the Layer in the contents window and select Data - Export Data.
Make sure that the Selected Features option is selected, give the file a name,
and click OK to save the new map features.
- When ArcGIS asks you if you want to add the features to the current map as
a Layer, click "yes."
- You can now close the original counties map and work from the IA counties
layer. You can repeat this for state data as well as other features of
interest.
Link the dBase table to the map (Chapter 9a)
The basic steps include
- Click the right mouse button on the theme
- Select the Joins and Relates option
- Select the option Join on the submenu
- In the option, What do you want to join to this layer? Select
Join attributes from a table
- In option 1, select the name of the column in the map's table to use to
link to an external table
- In option 2, type or browse for the name of the file you will link to the
map table.
- In option 3, select the column from the imported table to use to join the
tables
- Click OK to link the tables
Analyze the data (Chapters 5 and 6)
The basic steps include
- In the map's window, double click on the layer in the contents windows (the left
window)
- In the Layers Property window select the tab for Symbology.
For Graduated Color, do the following:
- The purpose of the Graduated Color option is to create a thematic map, a
map which shows categories of data using varied colors or other symbology.
- Click on the Quantities option (it is called quantities
because it is designed to work with value or numeric data).
- Select the option that you would like to use to display your theme; for
example, graduated color.
- The most important step is to select the field that you wish to use to
create the graduated color theme. Use the combo box to select the
available fields from the list.
- When you select a field, five categories of data will appear on the lower part of the window; if the categories
are adequate, select Apply to have the theme appear on the map
- Normalization allows you to select a field to use to normalize the data.
- If you want to change the values used to break the categories, change the numbers under
the Value column
- If you want to change the number of groups that will be displayed, select
and change the classes option
- Once completed, click the Apply button to change the map, close the
Layers Properties by clicking on the OK button
- To change an existing thematic map, double click on the theme in the table of context
- A similar procedure is used for graduated symbols, dot density, and
proportional symbols
For Chart, do the following:
- The purpose of the Chart option is to create bar charts or pie charts that are
overlaid on top of a map. This can be used to display information about multiple data
fields simultaneously on the map
- Click on the Charts option
- A list of fields will show up under the Field Selection column
- To add a field to the chart, click on the field in the Fields column and select
the Right arrow button
- To remove a field from the chart, click on the field in the right Field column
and click on the Left arrow button
- To change the color of a field in the chart, double-click on the color box for the field
- To change the type of chart, click on the chart type in the left window
- To change the properties of the chart (e.g., the size of the charts), click the Properties
button
- Once completed, click the Apply button to change the map and then
close the dialog window
- To change an existing chart on map, double click on the theme in the table of context
- When using charts, you should be careful to think about what groupings of
data are relevant and how they should be brought together. For example,
a pie chart is meant to show how much each component is as a relative
percentage of the whole. If your data do not represent such aggregated
groupings, it makes no sense to use a pie chart.
If you use Excel to preprocess data and encounter difficulties, the GIS Lab
staff have suggested the following procedure to ensure that data are handled
properly (in my experience, this procedure works every time):
In Excel, you need to specifically format the numbers to number and
specify the number of decimal places since they are not the same for all 4
columns. The key is to set the database name definition that tells the .dbf the
extent of the data once it gets converted. In Excel, go to Insert/Name/Define
and in the box that pops up should be a Name called Database. If not, add one
that is. The extent should include the first cell with data down to the last
cell with data. Click "ok" and save to .dbf.
.
Questions about the GIS lab can be addressed to:
Robin McNeely, GIS Lab Manager
ISU GIS Facility
Rm 218, Durham, Iowa State University
Ames, IA 50011
515/294-2087
mobes@iastate.edu