ArcMap Intro Lab (due in two weeks)

Objective: The objective of this lab is to get you started with ArcCatalog, ArcMap and a little with ToolBox. You will: open shapefiles; measure distances; use the information tool; begin symbolizing data; examine and query data tables; sort tabular data; compute statistics from tabular data; select mapped features graphically; select mapped features from attribute characteristics in tables; select features by their location relative to other features; compute and use buffer zones.

Data

The following data have been loaded into the class's resource page on Laulima. They can also be found on the cartography lab server (Odin) probably in \\odin\Data\Geog 488. When you download or copy the shapefiles, be sure to get all of the parts (.shp, .shx, .prj, .dbf etc.) of each shapefile.

oahucbpts.shp - Oahu census block centroid points (Census 2000) with various characteristics for the blocks, including urban/rural designation, population count, and number of housing units. (It is missing the .prj file which you will need to create using ArcCatalog in order to answer several of the questions below. The data are in unprojected WGS84 coordinates.)

allroad3.shp - streets and roads of Oahu, most with street names, address ranges, TMK zones. (Coordinates of the segment end points are also in the table, but it is the coordinates in the ".shp" that are used for drawing. Augmented and derived from Census bureau data.)

cc-street.shp - City and County of Honolulu version of street segment centerlines and address ranges. Probably a better version than the allroad3 data.

soils.shp - Oahu soils from some NRCS source. Contains 4032 polygon records and codes soils into 163 categories.

streams.shp - Oahu hydrological features (shore, ditches, canals, streams, etc) from the USGS 1:24,000 Digital Line Graph (DLG) data, includes map edges from the 1:24,000 topographic quadrangle source maps and up to three major and minor code pairs indicating what the features are, as well as from- and to-nodes and area-left and area-right for the (within map sheet) topology. In the USGS Digital Line Graph (DLG) data, Major and Minor code pairs were/are used to numerically encode the kinds of things shown on printed topographic maps. For example, a major code of '50' means a 'hydrographic feature', and the minor code of '412' means a 'stream'. ) These (and more) codes are documented in the USGS DLG Data Users Guide, Circular 895C, available on the web (http://rockyweb.cr.usgs.gov/nmpstds/digstds.html - Part 3: Attribute Coding) and photocopied in the manila folders in the bookcase at the front of PSB 310).

A Note on GIS Data and Coordinate Systems

One of the useful facilities of GIS software is the ability to integrate data from a variety of coordinate systems for use together. We'll spend some time examining this this term, but for now, know that map projection information for all but one of these data sets is in the associated .prj file and accessible via ArcCatalog or ArcMap as a general property of the data set. Those are distinct from the coordinate system used for the display panel (which you can access as a property of the display). This notion should make sense to you from Geog 104, 370 or 375. It will become clearer as we go.

To set a shapefile's coordinate system (.prj file): (1) Remove it from any project you have open. (2) Open ArcCatalog (the file cabinet icon). (3) navigate to the shapefile. (4) If it is in a directory to which you can not write, copy it to a directory where you can write --- your U: 'drive'. (5) On the X Y coordinate system tab / panel, select the system in which the shapefile's coordinates are recorded.

Arc Hints

Help - is on the main menu of ArcMap, online from ESRI, and in the "Getting to Know ArcGIS" book.

Starting ArcMap - START:Programs:ArcGIS:ArcMap

Use ArcCatalog to connect ArcMap to your data folders. (And to associate coordinate systems with datasets that are missing them.)

Adding a shapefile to the map - Add layer; connect to folder; select files

Arrange layers - drag in legend

Hide (or Show) layers - check box in the legend

Tool bar tools - zoom in, out, previous, next, full; pan; identify; measure; select feature

Getting the table for a layer - left click name in legend, then choose "view table"

Properties of the display panel - right click in the body of the map (with the pointer tool?), and then go to the desired properties in the drop-down menu.

Symbolizing data - double left click the layer's name in the legend / table of contents. Under the symbology tab, you can symbolize a layer as one class, several classes (and by different strategies), or as unique values (individual symbols) using graduated colors and or sizes.

Selection - by location (for locating things that are in some spatial relation to other things, i.e. close-to, inside, intersecting, etc)

Selection - by attributes (use SQL-like query to select records from a table.

Statistics - calculate statistics (mean, minimum, maximum, total, standard deviation etc for (selected rows) of a column of data in a table) (when viewing a table, right-click on a column heading and select 'statistics')

Sorting in table - right click top of column.

Summarize - create a new table summarizing (mean, minimum, maximum, total, standard deviation etc) the values associated with unique values in a column in a table. When viewing a table, right-click on a column heading and select 'summarize'. Be sure that you are trying to write the table in a directory to which you have write permission.

Spatial Join - relates records from two tables based on the spatial relationships among the entities they represent.

Table Join - relates two tables based on matching values in key fields in each of the tables.

Getting started

Download and unzip 388data.zip from Laulima into a suitable directory on your computer. (If on the _lab computers_, do this on the "U:\" drive. On your own computer, it is probably someplace on C:.)

Start ArcMap by clicking on the icon. (If you don't see one, Windows can probably find it, or you can hunt down into the ArcGIS 'bin' directory.)

Start ArcCatalog and connect to the data folder using the "Connect to Folder" button and then browsing to the directory where you unzipped the data.

Load the five data sets: oahucbpts.shp, allroad3.shp, cc-street.shp, streams.shp, and soils.shp into a new empty map (the Add-data "+" icon).

Spend a few minutes getting familiar with the controls. Use the check boxes in the legend to turn layers off and on. Pan, zoom, and drag to get around the map. Try the "back arrow" and "zoom to world" buttons. Change the colors on layers so they stand out better (rt click the layer's symbol in the TOC and...)

Examine the properties of the data layers (right click the name in the legend, the layer properties are accessed at the bottom of the drop-down list). In particular, note the symbology tab and the general tab where the coordinate system is specified.

Under the "Source" tab look for the coordinate system that is used for each of the data sets. Are they all the same? Are any "Assumed"? Are any "Unknown"?

Under the "Symbology" tab you can control the graphic symbology used to represent the layer. You can make (more) useful maps by assigning more meaningful symbology to the features. There are options for showing qualitative or quantitative distinctions among, rather than just the existence of, features in the layer based on data fields in the associated tables. We'll do more with this later, but for now, change these three things:
symbolize the allroad3.shp street data so that all of the roads are red lines;
symbolize the census block populations (ratio level quantitative data) in oahucbpts.shp with small graduated circles whose sizes are proportional to the populations of the census blocks (POP100 field); and
symbolize the soil category (nominal data) with unique colors for each of the soil classes.

Open (and later close) the data table for each layer. See that the number of records is displayed at the bottom of the screen. Note the effects of clicking on a column label and on the box at the left end of a row. There is an "options button" at the bottom that gets you to the SQL interface to select by attributes, add new columns and do other things.

Check-out the interactive graphical selection tool. With it, click and drag over something in the map. Find the thing in the table. Try doing it from the table to the map. (There is a "zoom to selected" option that might help.)

Look at the properties of the display. (Right click in the map body.) See the coordinate system and options for reporting distance units?

Deliverables

Using ArcMap, answer the following questions. Some are easy; some are puzzlers. The objective is to get you thinking about how to put the component functions together to useful effect.

  1. What is the map scale when you zoom so that Oahu just fits on your screen?(box displays the RF)
  2. What is the map scale when you zoom so that Waikiki just fits on your screen?
  3. What is the map scale when you zoom in so that only one census block centroid is on screen?
  4. What is the scale when you zoom to the data extent (world icon)?
  5. What coordinate system is used for each of these data layers? (right click name in legend, properties, general tab)
  6. What is the map projection used in the display? (Rt click in the map body, it is a property of the display panel.)
  7. How many records are in the block centroids point file (oahucbpts)? (rt clk name, table, bottom of table panel)
  8. What is the most populous block (table, POP100 field, sort)?
  9. What is the soil class at the centroid of the most populous block? (information tool)
  10. What are the range and mean of the census block populations? (POP100 field, statistics)
  11. Assuming that all of the records in the streams data are really streams, what is the total length of streams on Oahu? (field, statistics)
  12. What units do you think those are in? Why?
  13. How many data fields are in the data table for allroad3?
  14. How many records are in the data table for allroad3?
  15. How many records are in the data table for cc-street?
  16. How many street segments have "Young" as the street name in allroad3? (select by attribute)
  17. How many street segments have "Young" as the street name in cc-street? (select by attribute)
  18. How far misregistered are these two sets of streets?
  19. What are the names and data types of some of the data fields in the block centroids (oahucbpts) table?
  20. How many of the census blocks are classed as 'urban'? (URBRUR field, 1 vs 2, and which is which?)
  21. What proportion of Oahu's population lives on 'rural' blocks? (selection and summing, or summarize)
  22. How far apart are the two most distant block centroids? (ruler - measuring tool)
  23. What is the approximate perimeter of Oahu? (measuring tool)
  24. What is the perimeter of Oahu if you select all of the shoreline segments and sum them?
  25. What is the total length of streams on Oahu? (try to refine-out the edges and shore lines or to select just streams)
  26. Which soil polygon has the greatest area?
  27. What is its soil class or category?
  28. How many census block centroids are inside this polygon?
  29. What is their combined population?
  30. Which of those blocks has the highest population count?
  31. How many street segments are in Manoa Valley? (graphical selection)
  32. Which is the longest of these? (sort in the selected set)
  33. How many stream segments are within 2 km of any of these Manoa streets? (select by location)
  34. How many people (oahucbpts POP100 field) reside within 1 km of any of those stream segments?
  35. How are the 1:24,000 topographic quadrangle sheet edges coded in the streams data? (I.e,, what are the codes in the major1-3 minor1-3 fields for the sheet edges and do these identify only sheet edges?) (inquiry, table examination, selection by attributes, thought)
  36. Are the edge line data coded consistently?
  37. How many soil classes are in the soils data?
  38. How many soils polygons do not touch a hydrological feature? (select by location, do not intersect [or 'intersect' and 'switch selection')
  39. Which soil category contains the greatest area? (summarize on category, sort the resulting table)
  40. What proportion of Oahu's population lives on each of its soils? (spatial join, summarize)
  41. Use the buffer tool (Red Tool Box icon, Analysis Tools, Proximity, Buffer, then fill-in the panel) to create a buffer zone of 0.5 km around all of the streams (you may want to remove the sheet edges and other non-stream hydrographic featrues, and perhaps save the cleaned-up data as a new shapefile (selection, and export data) and use that cleaned-up dataset instead). How many block centroids are not inside of this buffer zone?