Lab 02 - Projections and Coordinate Systems

A note about this lab: Items in bold are to indicate buttons and/or menus you are looking for.

Lab 2: Projections and Coordinate Systems

Learning Objective

An introduction to how ArcGIS handles geographic and projected coordinate systems. Users should understand the difference between geographic coordinate systems and projected coordinate systems. Identify appropriate projections for datasets. Become familiar with the ArcGIS toolbox

Tutorial

Getting started


Materials (click to download)

Data Name Description
conusa.shp Polygons of the 49 States
selecteduscities.shp Selected Cities of the United States
latlong.shp Latitude-Longitude Lines for the United States
kscities.shp Cities in Kansas
SanDiego.shp unknown coordinate system, from San Diego Sector
SanDiego.lyr layer file used to display road type symbology
ElCentro.shp unknown coordinate system, from El Centro Sector
ElCentro.lyr layer file used to display road type symbology
StudyArea.shp GCS (NAD83), study area polygon
CARDS.shp GCS (NAD83), California roads
CARDS.lyr layer file used to display road type symbology
USGS100k.shp PCS (UTM NAD27), USGS DLG roads
QuestionsSheet.docx Handout to turn in

Note: This data is in a zipped format. You are able to tell this because the folder will have a small zipper going down it’s side, and if you click into it, the top of the file explorer will have a pink bar with “Compressed Folder Tools” on the top. To access it you will need to

  • Navigate to the folder with the zipped download
  • Right click on the folder and chose 7-zip > “extract to your folder name here”.

  • Open ArcMap and close any windows that pop up.
  • Save the empty map document to a personal folder, name it something meaningful like GEOG358_Lab02_YourLastName.mxd
  • Click the Add Data button, navigate to your downloaded data folder, hold down the Control key and click conusa.shp, selecteduscities.shp, and latlong.shp, and then click Add.

Measuring in ArcMap


Measure Locations in Latitude and Longitude

  • Right-click Layers in the Table of Contents and select Properties. Under the General tab, change the Name to U.S. Cities. A little lower in the tab, under the Units heading, make sure Display set to Decimal Degrees. Click OK.
  • A quick-and-dirty way to estimate the latitude and longitude of a point is to hover the Select Elements tool over the point and then look at the numbers in the bottom right part of the window.
  • Click the Full Extent button to put the entire map into focus.
  • Use this technique on Los Angeles, Chicago, and Lawrence. Answer question 1 on the assignment sheet.

Hint: did you look in the data downloads folder?

  • Now let’s use a more accurate method to determine the latitude and longitude of those cities.
  • Click the Identify button and then click on Lawrence. In the window that pops up, click Lawrence under selectuscities. About an inch below are the city’s coordinates (listed after Location:). Use this method to answer question #2 on your assignment sheet.

Unless your quick-and-dirty estimations were dead-on, you should see a small discrepancy between the coordinates in question #1 and question #2.

Comparing distances in different projections

  • Open the data frame’s Properties window. Select the Coordinate System tab.
  • In the upper box, navigate to Projected Coordinate Systems > Continental > North America, click USA Contiguous Lambert Conformal Conic, make note of the map in the window, and then click Apply at the bottom of the window.
  • Now the map is no longer (as) distorted!
  • Click the Measure tool. In the Measure window, make sure Distance is set to Miles and the Measurement Type (the rightmost down arrow) is set to Planar.
  • Hover the Measure tool over Lawrence. The cursor should snap to Lawrence and a circle should appear around the city. (If this doesn’t happen, click the Select Elements button, then click the Measure tool and try again.)
  • Click on Lawrence and then hover over Chicago. As with Lawrence, the cursor should snap to the location and a circle should appear around it. This is your distance measurement.
  • Using this technique, answer question #3 on your assignment sheet.

Changing the map projection

  • Open the Properties window, select the Coordinate System tab, and navigate to Projected Coordinate Systems > UTM > NAD 1983, click NAD 1983 UTM Zone 15N, and click Apply.
  • As you did before, measure the distance from Lawrence to Chicago and from Lawrence to New York City. (Make sure the Measure tool is set to Miles and the Planar distance.)
  • Answer questions #4 and #5 on your assignment sheet.
  • Save your map document.

Defining the coordinate system for a shapefile using ArcToolbox

  • Click the ArcToolbox button (it looks like a red toolbox with a computer window in the background). Give it a minute to open.

  • Go to Data Management Tools > Projections and Transformations, and then double-click Define Projection. We’re going to use this tool to assign a geographic coordinate system (GCS) to the kscities shapefile in our data folder.

  • Click the folder icon —not the down arrow— to the right of Input Dataset or Feature Class. Add your kscities.shp to the map by navigating to your data folder, selecting kscities.shp and clicking Add. Notice the warning that pops up that indicates that the Coordinate System is Unknown. This is what we’re going to fix!

  • Click on the pointing hand icon to right of Coordinate System. Just like we did in previous steps, select the following: Geographic Coordinate Systems > North America > NAD 1983. Don’t click OK just yet.

  • Notice the components of the GCS, such as:

    • Name: GCS_North American_1983
    • Angular Units: Degree
    • Prime Meridian: Greenwich
    • Datum: D_North American_1983
    • Semimajor Axis: 6378137
    • Semiminor Axis: 6356752
  • Now click OK. Click OK again. Notice that kscities has been added to the Table of Contents.

NOTE: You can also define the coordinate system for a shapefile in ArcCatalog. Here’s how:

  • In ArcCatalog, right click on the shapefile and select Properties.
  • Click the XY Coordinate System tab.
  • The rest will be similar as in ArcToolbox.)

Project kscities.shp into Kansas State Plane Coordinate System (PCS)

  • In ArcToolbox go to Data Management Tools > Projections and Transformations, and then double-click Project. This tool is different than the Define Projection tool we just used; it actually creates a new shapefile that is projected into the desired coordinate system.
  • In the Input Dataset or Feature Class section, click the down-arrow —not the folder icon— and select kscities.
  • Click the folder icon to the right of Output Dataset or Feature Class. Navigate to your data folder. In the Name field type kscities_stateplane.shp and then click Save.
  • Click the pointing hand icon to the right of Output Coordinate System and then select the following coordinate system and make note that you can see its parameters: Projected Coordinate Systems > State Plane > NAD 1983 (Meters) > NAD 1983 StatePlane Kansas North FIPS 1501 (Meters).prj
  • Click OK. Click OK again. The projected shapefile will be added to your Table of Contents automatically.

Make a map!

  • Turn off all layers except conusa and selecteduscities.
  • Right-click conusa and select Zoom to Layer.
  • Right-click selecteduscities, go to Selection, and select Make This The Only Selectable Layer.
  • Click the Select Features button (it looks like a cursor in front of a tiny map).
  • Draw a box around Lawrence. Now Lawrence is selected.
  • Right-click selecteduscities, go to Selection, and select Create Layer from Selected Features. Now you have a layer of just Lawrence called selecteduscities selection.
  • Click once in the middle of the selecteduscities selection layer name and type Lawrence.
  • Turn off the selecteduscities layer.
  • Right-click the Lawrence layer and select Properties.
  • In the Symbology tab, you should see a big Symbol button with a dot in the middle of it. Click it.
  • In the Symbol Selector window that pops up, scroll down a bit until you see the symbol Star 1. Click that symbol.
  • To the right is a Size box. Type 30 in the box.
  • Click the Color button above it and select a color that you think represents Lawrence.
  • Click OK.
  • Switch to Layout View (accessible via the View menu or a little button in the bottom left corner of the window).
  • Create a map. All you need to include is the mapped area, a title (e.g., “Lawrence, Kansas”), and your name. Spend a couple minutes making it pretty. Since the contiguous U.S. is wider than it is tall, a landscape orientation is recommended. Also, make sure to zoom in close enough so that there isn’t an excessive amount of space.
  • Export the map as a .png file called GEOG_358_Lab02_YourLastName.png.

“Real World” Application

The United States Border Patrol’s jurisdiction is divided into Regions and further subdivided into Sectors. In the Western Region, the San Diego and El Centro Sectors are responsible for patrolling approximately 130 miles of border between the State of California and Mexico. The San Diego Sector, headquartered in Chula Vista, California, has used GIS for several years. The El Centro Sector, east of San Diego, is in the process of implementing a GIS and is working closely with the San Diego Sector. Both Sectors are committed to standardizing GIS data collection, symbology, and analysis. Through data sharing exercises, the Border Patrol staff noticed that two similar sets of street data, one from the El Centro Sector office and another from the San Diego Sector office, were not aligning. They have asked you to figure out what datum the data is in.

Getting started

  • Open up a new ArcMap window. Click Cancel on the opening screen.
  • Save the map document in your data folder as GEOG358_Lab02_YourLastNameApplication.mxd
  • By default, there is only one data frame in the Table of Contents. For this exercise, though, we want three data frames. Go to Insert > DataFrame and create two more data frames.
  • Rename the data frames as:
    • Unknown Coordinate Systems
    • GCS NAD83
    • PCS NAD27
  • Right click on each shapefile in the ArcCatolog window and determine the datum the shapefile is in
  • Sort the shapefiles to their appropriate data frames. (For example, we will add the shapefiles without coordinate system information to the Unknown Coordinate Systems data frame.) Right-click each data frame, select Add Data…, and add the appropriate shapefile(s).

Make sure you are adding shapefiles and not layer files [.lyr])

  • When you are presented with a window that complains about an Unknown Spatial Reference, just press OK; this is the problem we are trying to fix.
  • Right-click the Unknown Coordinate Systems data frame and select Activate.
  • Double-click the Unknown Coordinate Systems data frame. Under the General tab, set the map units to Decimal Degrees and the display units to Meters.
  • Click Apply and then OK.
  • Make sure you’re zoomed in enough by right-clicking the SanDiego layer and selecting Zoom To Layer.
  • Look at the map for a couple seconds and try not to develop a migraine. That offset between layers suggests datum problems. The ElCentro layer is probably in one datum and the SanDiego layer in another.

Investigate the San Diego and El Centro datum problem

  • Right-click the ElCentro layer, select Copy, right-click the GCS NAD83 data frame, and select Paste Layer(s). Do the same for the SanDiego layer. The GCS NAD83 data frame should have four layers now.
  • Right-click the GCS NAD83 data frame and select Activate.
  • Right-click the StudyArea layer and select Zoom To Layer.
  • Turn off the ElCentro, SanDiego, and StudyArea layers by going to the Table of Contents by clicking the checkboxes next to them. The only visible layer should be cards.
  • Let’s see if either the ElCentro layer or the SanDiego layer might have been created using the same datum as the cards layer.
  • Zoom in closer to one of the roads in the middle part of the cards layer. Now turn the ElCentro and SanDiego on and off a few times. Does one of them seem to fit the cards layer better? If you don’t see any difference, look closer at the highway interchange in the right part of the screen.

Define the coordinate systems for San Diego and El Centro street shapefiles

  • We’re going to remove all the SanDiego and ElCentro layers from our map document. Right-click each one (there should be four of them total) and select Remove.
  • Click the ArcToolbox icon and give it a few seconds to open. Go to Data Management Tools > Projections and Transformations and then double-click Define Projection.
  • Click the folder icon to the right of Input Dataset or Feature Class and select SanDiego.shp from your folder.
  • Click the hand icon to the right of Coordinate System and select Geographic Coordinate Systems > North America > NAD 1983. Click OK. Click OK again.
  • This shapefile will automatically be added to the active data frame (GCS NAD83).

note: If you received an error message from stating that projection didn’t work, make sure ArcCatalog is closed and try again.

  • Double-click the SanDiego layer you just created and then click the Source tab. It should list the Geographic Coordinate System as GCS_North_American_1983.
  • Click the General tab and rename the layer SanDiego_GCS_NAD83. Click OK.
  • The ElCentro shapefile might be in GCS NAD27. Using the Define Projection process we just used, select the following coordinate system for ElCentro: Geographic Coordinate Systems > North America > NAD 1927.
  • Rename the layer ElCentro_GCS_NAD27.
  • The ElCentro layer certainly fits much better now, but that’s not good enough for purists like us.

Convert El Centro street shapefile from NAD27 to NAD83

  • In ArcToolbox go to Data Management Tools > Projections and Transformations and then double-click Project.
  • Click the down-arrow to the right of Input Dataset or Feature Class and select ElCentro_GCS_NAD27.
  • Click the folder to the right of Output Dataset or Feature Class and save the file in your folder as ElCentro_GCS_NAD83.shp.
  • Click the hand icon to the right of Output Coordinate System and select Geographic Coordinate Systems > North America > NAD 1983.
  • Make sure the box below the Geographic Transformation (optional) field says NAD_1927_To_NAD_1983_NADCON.

If it doesn’t, click the down-arrow to the right of Geographic Transformation (optional) and select NAD_1927_To_NAD_1983_ NADCON.

  • Click OK. This layer will be added to the active data frame.

Reproject the Usgs100k shapefile

  • The Usgs100k layer in the PCS NAD27 data frame is a 1:100,000 scale digital line graph (DLG) that was downloaded from the USGS EROS website. It is in a projected coordinate system (NAD_1927_UTM_Zone_11N).
  • Reproject this layer the same way you reprojected the ElCentro layer in the last section. When you’re done, drag the layer over to the GCS NAD83 data frame. How well does it fit the other layers? You may notice that the fit is better in the area’s center compared to its periphery.

Add some pre-made layer

Esri’s ArcGIS Resource Center defines a layer thusly: “Each layer references a dataset and specifies how that dataset is portrayed using symbols and text labels. When you add a layer to a map, you specify its dataset and set its map symbols and labeling properties.” We’re going to add a few layers that already have their map symbols and labeling properties set but need to be referenced back to their shapefiles.

  • With the GCS NAD83 data frame still active, right-click the data frame and select Turn All Layers Off.

  • Right-click the data frame, select Add Data, and add the following:

    • cards.lyr
    • ElCentro.lyr
    • SanDiego.lyr
  • Don’t see anything? That’s because the connection to the underlying data was severed. This is the case whenever you see grayed-out check boxes with red exclamation marks next to them. Let’s fix this. For each layer, double-click the layer, click the Source tab, click the Set Data Source… button, and then add its corresponding shapefile from your Lab04 folder (e.g., cards.shp for cards.lyr). This should make the gray part of the check boxes and the red exclamation marks disappear.

  • Take a screen shot of ArcMap (all of it—including the Table of Contents, menus, etc., using the snip tool is fine in this case) and save it in your data folder as GEOG358_Lab2Application.png.

  • Paste the image in the word document with the rest of your answers and submit it on blackboard.