INTERNATIONAL INFORMATICS COURSE - APEC

Lecture topics

 

Go to Introduction

 

Go to readings

 

 

 

 

 

 

 

 

Geographic Information Systems

 

Table of Contents:

 

*      Making a base map

 

*    Putting another layer to the map

 

*   Making another thematic map

 

*  Reading in geocoded data   

 

* Asking the map a question

* Using selection sets to subset data

* Labels and legends on a map

* Calculating in a dataview

 

* Making a base map

Open Maptitude,  choose “Create a New Map” [Slide1]

Enter any address you like, then “Next>”

If you get something like this, make a choice and go on …

and a map should appear [Slide2].

  1. Identify the legend

  2. What is a layer?

  3. What are the layers?

  4. Which ones are on top?

  5. Does the location of the address look right?

  6. What is geocoding?

Introduction to layers

  • A layer is a group of features of the same type.

  •  Every geographic file contains at least one layer of information.

  •  Every layer has a name that describes the features within it.

 There are three types of layers:  points, lines, and areas. stored in a layer [Slide3].

Examples of types of layers [Slide4].

*Putting another layer to the map [Slide5].

  • Choose “Add Layer” and select cctract.cdf
    What are you adding?

  •  Note the order of top to bottom

  •  How do you change the style?

Change the Census tract style [Slide6].

Features of the census tract coverage [Slide7].

What is the most essential difference between a paper map and a GIS map?

Data is connected to features on a map. The data are called “attributes.”

Thematic maps [Slide8].

Look at a larger map [Slide9].

  • Zoom way out

  •  Hide layers

  •  Change layer orders

  •  Look at small scale map

*Making another thematic map [Slide10].

  • Close out all your maps

  •  Open cccntyl.cdf in c:\ccdata

  •  Make another thematic map (use an income variable)

Per capita income thematic map  [Slide11].

Make more thematic maps using different methods  [Slide12].

  • Equal number of features

  •  Equal sized intervals

  •  Equal feature area

  •  List of values

  •  Standard deviation

Work from the Dataview of the county data (be sure to turn autoscale off)

All the maps look different, why?  [Slide13].

Maps help us to think geographically ... [Slide14].

Choropleth maps are a map model of the data  [Slide15].

*Reading in geocoded data [Slide16].

  1. Open infdth.xls

  2. Checkout the columns, close it.

  3. Close and start Maptitude

  4. Open infdth.xls in Maptitude. Save as a .bin file.

  5. Watch out for....

  6. See if you can end up with:

  7. Examine the dataview of the infant death data. 

Adding more layers [Slide17]

8. Add c:\ccdata\ccstatel.cdf

Practice:  zoom tool     distance tool   pan              North Arrow
                info tool             

9.Make a .map file and test it out (save it, close out everything, open
  it back up again)
Save as WA infant deaths.map

10.  Save all your maps in c:\My Maps

More practice with a world map  [Slide18]

  • Open ccworldl.cdf

  •  Find Peru

  •  Make a thematic map of Birth rate or something else

  •  Try the Info tool

  •  Add layer: ccgrid5.cdf

  •  Calculate population density (dataview > formula fields)

  •  Make a thematic map of population density.

  •   Make a “Chart Theme” of  the population change.

Selection Sets [Slide19]

  • Open ccworldl.cdf. Remove the Autoscale.

  •  Open the dataview.

  •  WINDOW > TILE

  •  Practice using all the selection tools.

  •  Use the Dataview to examine the selected records. 

  •   Select records in the Dataview and then look at the map.

* Asking the map a question [Slide20]

  1. Clear the default selection set.

  2. Create named selection sets for:

  • Infant mortality > 50.

  • Arable land < 5 %

  • Birth rate > 45

Examine  Tools/selection

Making a chart [Slide21]

  1. Choose Birth Rate selection set

  2. Make a bar chart

  3. Adjust the fonts, etc.

Putting a chart on the map [Slide22]

  1. Make a bar chart that will appear on the map of projected population (estimated populations for 2004, 2009, 2019, 2029, 2039, 2049)

  2. Remake the map scaling to pop in 2004. (Dataview>formula fields)

  3. Use the MANUAL option to make the charts fit on the map.

* Using selection Sets to subset data

  1. Open ccstateh.cdf. Change the line style.
  2. Find and navigate to Washington State.
  3. Select WA State using selection tools.
  4. Look at Dataview.
  5. Select more states. Look at dataview.
  6. Subset the WA State map and make WAState.cdf
    a. Selection by condition (FIPS =“53” )
    b. EXPORT the selection set as a new layer.
             C:\My Maps\Wastate.cdf

More Using Selection Sets to subset data

  1. Open ccstateh.cdf. Change the line style.
  2. Find and navigate to Washington State.
  3. Select WA State using selection tools.
  4. Look at Dataview.
  5. Select more states. Look at dataview. Clear selection set.
  6. Subset the WA State map and make WAState.cdf
    a. Selection by condition (FIPS =“53” )
    b. EXPORT the selection set as a new layer.
             C:\My Maps\Wastate.cdf
  7. Open Wastate.CDF in a new map window.
  8. Repeat above starting with cctract.cdf  (Use STATE=53)

Building a base map

  1. Repeat the steps of cccntyh.cdf
  2.  Build a base map using state, county, census layers.
  3.  Adjust styles to make map easy to read and pleasant
     to view.
  4. Add other layers:
      water
      highways
      streets
  5. Use  autoscale to set the viewing limits of the layers on the map.  
  6. Save as c:/my maps/WA base.map, close everything 

* Labels and legends on a map

  1. Open up c:/my maps/WA base.map
    What is the difference between a .map and a .cdf file?
  2. Make a thematic map of PERUVIAN, estimated number of people from Peru in1990 census.
  3.  Use automatic labeling to label county names.
  4.  Experiment with styles and colors.
  5.  Experiment with frames, overlaps and autoscale.

Manual labels

  1. Use the manual label tool to place labels.
  2. Experiment with styles and colors.
  3.  Experiment with frames.
  4.  Move labels to enhance the appearance of the map.

Adding a map legend

  1. Make a map legend.
  2. Customizing: experiment with styles, colors, and fonts.
  3. Make a label that is attached to the map.
  4. Add more layers and see how legend changes.
  5.  Change the scale from miles to kilometers.
    (EDIT > PREFERENCES) 
    Close and open the legend tool to see changes.

* Calculating in a dataview  [Slide23]

  1. Open Wacensus.cdf.
  2. Open a Dataview.
    A Dataview is a snapshot of the data connected to the map.
  3. Experiment with moving around in Dataview.

More about Calculating in a Dataview

 

  1. Calculate the proportion of population less than age 5.

(100 * [Age <1]+ [Age 1-2]+ [Age 3-4]+ [Age 5] ) / Population

  1. Make a thematic map of the proportion of population less
    than age 5. Zoom to an urban area, label with results in 5.

Linking data to a map. 

  1. Open c:\My Maps\WaCNTY.cdf
  2. Open CallTaj.dbf (all cause of death rate)
  3. Link on county FIPS and CNTY.
  4. Make a map of SMR
  5. Label counties(experiment with the options)
  6. Make a legend attached to the map
  7. Save as Workspace.

Linking data to Zip Codes [Slide24]

  1. Open WA1995zip.cdf. Zip Code or postal code map of Washington State.
  2. Open ZallTaj.dbf. All cause of death rates.
  3. Link ID to Zip Make a thematic map of the SMR.
  4. Add the WA county layer, c: \My Maps\WaCNTY.cdf on the Zip Code map. 
  5. Make the SMR divisions the same for both maps.  0-75 75-90 90-110 110-125 125-200
  6. Compare county and Zip Code maps.
  7. Save work space.

Geocoding and making the Infant death map [Slide25]

  1. Open WAinfdth.dbf in Excel – check out what is there, close.
  2. Now open in Maptitude, make a dot map. Call the layer WA infant dth.cdf and close it.
  3.  Open your Washington State base map.
  4.  Make a thematic map of per capita income.  (average income for each person)
  5.  Put the WA infant dth.cdf  layer on the thematic map.
    (Wastreets.cdf)
  6.  Zoom in to Benton – Franklin County area. Add streets.
  7.  Do you think there is a relationship between income and the number of infant deaths? Why or why not?
  8. What measure would be better?

Mapping infant death rates [Slide26]

  1. Open the census tract layer (WAcensus.cdf)
  2.  Open WAinfdth.dbf (answer NO )
  3. Do a many- to-one link of WAcensus.cdf to WAinfdth.dbf
     on the linking variables: TRACT in WAcensus.cdf
                                        
    CENTRK in WAinfdth.dbf

More about Calculating infant death rates [Slide27]

  1. Examine the joined dataview.
  2.  What do the new columns mean?
  3.  Find N_wainfdth – the number of records joined to the census tracts. 
  4.  Calculate the infant death rate per 1000
            DATAVIEW > FORMULA FIELDS
  5. Make a thematic map of infant death rate.
  6. Make a map to compare with household income

Reading other map formats [Slide28]

Building a map of Peru from e00 files –ArcInfo [Slide29]

Can Maptitude use data from the Internet?

Download the Peru map layers from the Penn State University Map Room

http://www.maproom.psu.edu/dcw/

Peru map from Internet data [Slide30], [Slide31]

  1. See readme.txt in c:\gisdata\DigMapWorld
  2. Read in dnnet.e00 into Maptitude.
      . Rivers..
  3. Put CCworldH.cdf on the world map too.
  4. Try converting other map layers and adding them to your Peru map.

Cancer near SeaTac International Airport [Slide32]

  1. Open KC blkgrp.CDF: block groups of King County, WA.
  2. Add Wawater.cdf to the map.  
  3. Add SeaTAC airport areas.cdf. 
  4. Make SeaTac transparent.  
  5. Save as workspace in c:\My Maps 
  6. Name it SeaTAC.

Cancer near SeaTac –building the denominator

Link the King County block group population to the King County block group coverage.

EXCEL file: kbg9297h population.xls  then

Link ID to BGX    

Now you have a block group population layer from 1992-1997 in 10 year age groups.

SeaTac Denominator [Slide33]

          Create 2 mile buffer around SeaTac with an overlay for the population variables, SeaTacbuffer.cdf

Aerial interpolation [Slide34]

Estimating the attributes of one layer (the buffers) from the attributes of another (the block group population data)

Seatac denominator [Slide35]

Now we have an estimate of the population in each band around SeaTac.

King County Cancer cases

  1. Make a layer of the cancer registry 1992-1997 from CaREG.dbf.
  2. Put it on the King County map (close it and open it again) 
    Now we must obtain just the cancer cases inside King County
  3. Selection > Select by Location will find King County cases
  4. Name the selection set: KC cancer 92 97.
    These are just the King County Cancer Cases. 
  5. EXPORT these as a new layer  
  6. KC cancer 92 97.cdf

Calculating King County Cancer rate [Slide36]

6. Remove the Washington State cancer layer of the map and then put the layer you just made on the map, just the King County cancer cases.

 Calculate the crude King County cancer rate:
a. Calculate the total population (person time) for
King County and also for the buffers:
                  DATAVIEW > FORMULA FIELDS
total population =T_92+T_93+T_94+T_95+T_96+T_97

b. number of cases.

            DATAVIEW > STATISTICS
 (COUNT gives the number of cancer cases)  45343
 

c. Total King County population
            DATAVIEW > STATISTICS   9679813 

d. Cancer rate in King County.

                 rate = 45343*100000/ 9679813

                 = 468.43 cancer cases/100,000 person years

Calculating cancer rate around SeaTac [Slide37]

  1. Calculate the total population in the SeaTac buffer.
    You may have already done this.
  2. DATAVIEW > FORMULA FIELDS
    Total population = T_92+T_93+T_94+T_95+T_96+T_97  
  3. Count the cases inside the SeaTac buffer

Calculating cancer rate around SeaTac

Use the DATAVIEW > Statistics to count cancer cases in the SeaTac buffer. (938 cases)

  •  Total population in the SeaTac buffer is ________
     (188250.53)

  •  Rate per 100,000 = 938*100,000/188250.53
                                  = 498.27

  •  Is the SeaTac rate higher?
    Rate ratio = SeaTac rate/King County Rate
                                 = 498.27/ 468.43  = 1.06

Go to Lecture Topics Go to Introduction Go to Case study Go to Readings

This project is a joint effort of the University of Washington School of Public Health and Community Medicine
and the United States Centers for Disease Control. It is an approved APEC project.  

Revised: 13-Jun-2003

Contact Us
© 2003, The University of Washington
SPHCM | UW Home