EXERCISE 2 -- "G + I = Cool"

Environmental Resources 372:362
Intermediate Environmental Geomatics

Due Monday, February 9th


 

So you can get around in ArcGIS, huh? As you will see, you have only just begun to tap its resources. As we have and will discussed in class, one of the most significant powers of GIS (and ArcGIS) is the mix of G (geographic or spatial data) and I (information or attributes or tabular data). This powerful mix provides us with great analytical potential.

 Tables

In ArcGIS, Tables are generally the I that match up with our G. As you've seen before, many of our layers include some tabular attribute data. We can see this by clicking on Preview in ArcCatalog or opening the Attribute Table In ArcMap.  In ArcMap when you select individual records, whether they are for points, lines, or polygons, they should become highlighted in both the view and the table. Plus, as you learned previously you can select records using the selection tool, or the identification tool. When describing tables we will refer to "records" and "fields". A record is all of the different attributes for a single feature (point, line, polygon), and is contained in a single horizontal row of a table. The fields are contained in vertical columns, and each field represents a different attribute. In our states layer, each record represents a different state and with fields containing data like name, area, and identification numbers.

In ArcMap add \\ad-rsc\data\teach\intgeo\ClassWork\avdata\usa\counties and states.  Outline the counties with the state boundaries. What type of information do we have for each state?  For each county?  Select counties named Washington – how many are there.  How many of the counties named Washington have a 2003 population density greater than 10,000?

Note the power you have at the tip of your fingers when you right click on the field headings.  You can now sort the table's fields and create summary tables (worth exploring after class).  For example, you can explore which state has the most counties.

Information Overload – Relating and Joining

Did you notice how little information we had about each of the states in our table? How can we change that without typing in new data for each record? Answer: Join or Relate!

Joining is the manipulation by which we appear to add fields of data from another table to an existing table. This works really well when we have a one-to-one match of our tables - a single record in the destination table matches with a single record in the source table.

Relating is used for a one-to-many relationship. For example, if you have 10 wells in the county that you sample each week, then in your .dbf table you would make each sample a separate record so that after 5 weeks you have five different records (many) for each (one) well.  In relating tables, the tables are not actually combined but rather linked such that when a record in your source table is selected the matching record in the destination table is also selected.

Let’s delve deeper into joining and relating information in ArcMap:

join

Editing Tables

Often you will find that you need to add additional data in your database tables. For example, let’s find out how the number of children under 5 per household in each state. This information does not exist in the stdemog table, so we’ll have to calculate it ourselves using the data we already have. 

Who would have ever thought we'd see that kind of spatial distribution?

Now let’s say we want to add new records to our table to show some of the United States’ territories, such as Puerto Rico.

If you wanted to, you could type in new text values or numbers for every record. You could add or delete a record or a field. But please, whatever you edit, only do it to your own copies of files in your own directories. Remember that the files in \avdata\ are shared by everyone in the class.

Assignment 2

a. Which state has the highest average family size?

b. Which county has the greatest total number and highest density of Asians (fieldname [ASIAN]) and American Indians and Eskimos (fieldname [AMER_ES])? Which has the least and lowest?  Fill in the following table. We've provided an example to get you started. If there's more than one county with the same number or density, just provide the name and value for one county. Use a precision of 8 and scale of 2 for your density field, which should be of type Float.

    Total Number Density (per sq. mile)
Asians Highest Los Angeles, CA - 1,137,500  
Lowest   Greene, AL - 0.0
American Indians and Eskimos Highest    
  Lowest    

c. Using the county demographic data, develop a definition of ethnic diversity. Using your definition, determine which counties have the highest concentration of ethnic diversity and which have the lowest?  Make a map, and explain how you derived your measure of ethnic diversity. We don't care about how statistically or technically correct your definition of diversity is, just be sure to explain to us how you derived it.

d. Which county is the largest and what state is it in?  Which state has the most counties?  

e. You are a single female and you want to increase the odds that you will find Mr “Right”.  You want to find a county where there are more males than females.  Where are your odds the best?  What if you are 33 and you also want to live where there are more people in your age range? Using any and all of your mapmaking tricks, create a map that shows the places which best meet both criteria. 

Please turn in the maps and the answers to the above questions on paper by the start of class on Monday, February 9th.  Be sure you name is on all pieces of unstapled paper.