[an error occurred while processing this directive] Creating a Choropleth Map

Creating a Choropleth Map

EDS > GIS > Part 2
printer friendly version Print
Page

In this exercise you will learn to join a data from an outside table to a spatial file through what is called a table join

Where the data came from

This data is from ICPSR, titled AFRICAN COUP EVENTS DATA, 1986-1990

before continuing, please navigate to the project folder and open the .pdf document titled cb6869.pdf to get a better understanding of what we will be working with

This data was originally in SPSS format, in order to make it compatible with the GIS software the format was changed:

The finished table was saved as a dbaseIV table

Steps for join

Open the ArcGIS software:
Start > Programs > Mapping Applications > ArcGIS > ArcMap

Select the default Start using ArcMap with a new empty map

Maximize the screen

Add the following layers

Change the color of the world_cntry92 shapefile to a shade of grey, this is only a background layer and is not essential to the data being presented

Zoom in to Africa using the magnify tool

Open the tables for africa_cntry92 and coup86-90, set them side by side

Identify a common field between the two that can be used to join the two layers

Right click on the africa_cntry92 layer and select Joins and Relates

From the pull-down menu, select the field name you would like to use to join the two tables together

From the second pull-down menu, select the coup86-90.dbf file

From the third pull-down menu, select the field name that has the same data as in the africa_cntry92 table

Click on Ok

Now examine the table for the africa_cntry92 shapefile to see the changes

Now create a choropleth map based on one of the variables.

Important features for making a map are a good title (must tell attribute, time, and place), legend, directional arrow, scale, and somewhere on the map should tell who the author is, when the map was created, and what the source is

Saving the layer as a new shapefile

The join between the two tables is only temporary, it will disappear when you close the project. In order to make it permanent you must export the layer as a shapefile.

Right click on the file name and select:
Data > Data Export

An important thing to take note of after you have exported the data into a new shapefile is everywhere in the table where it read "" now reads as zero. This will have to be corrected by changing those table cells to some other number to differentiate between no data, and places where zero is part of the data by placing another number such as -9999 in it's place