GPS laboratory assignment

All paths lead to Saunders

Due dates: March 21, submit GPS point file

March 28, append your data to main file

April 7, figure and question

Objectives:

During this laboratory exercise, you will gain experience collecting GPS point data and importing this data into a GIS. In addition, you will practice using Excel spreadsheet software to organize data and create a graph and make predictions based on regression analysis.

Marking location:

During class time, I will demonstrate the use of the Garmin GPS 12 XL. You will also have time to coordinate schedules with your group and assign a group leader who will be primarily responsible for the Garmin GPS. There are only eight devices to use in the class so final project teams have been combined in several cases.

1. Turn on power

2. Face the southern sky

3. Wait while recevier acquires EPE—estimated potential error from satellite signals

4. Hit the page button to see 5 views:

-position page

-map page

-compass/road view

-menu

-satellite signal

5. Check that options are set to collect UTM coordinates:

-scroll with arrows to navigation, hit enter

-scroll to position format, hit enter

-scroll to UTM/UPS with arrows

-ensure that your datum is NAD 83 and units are in metric.

-hit page to return to menu

6. The satellite numbers are depicted in their respective orbits on satellite signal view. The strength of their signal is shown according to each satellite number. More information about this device can be found in the user's manual, which is posted on blackboard.unc.edu.

  1. On the position page, enter mark. Your position will be recorded.
  1. Hold down power button and turn off.

Data collection and collation:

  1. Go to your dorm/apt/house and mark your position.
  2. WRITE DOWN your waypoint number AND your UTM coordinates. Some GPS devices let you upload your data directly, but this one does not. Because each of you is collecting just a single point, simply collect your data point and enter it directly into an excel spreadsheet.
  3. Open Microsoft Office and open excel.
  4. Label top 3 cells: Name, Easting, Northing (only first person creating datasheet)
  5. In the next row, enter your last name, underscore and first initial, e.g., smith_m
  6. In the next column enter your easting, in the next enter your northing (you should be able to tell which is which by what you already know about the UTM coordinate system)
  7. Pass the excel sheet around in your group along with the GPS receiver. You will turn in only one spreadsheet per group. Your groups are listed on the last sheet of the lab.
  8. Email the completed data table and deliver the GPS to me by March 21. I will collate the data and make the data available to you prior to Tuesday's recitation for the rest of this laboratory assignment.

Week 2:

Waypoints to Map:

You can upload the excel datasheet into ArcMap format, but only using the latest version 9.2.

  1. Open ArcMap
  2. Select tools, add x y data

  1. In the first window, select your excel spreadsheet in the lab data folder
  2. Specify the x field as your easting; specify the y field as your northing
  3. Select the coordinate system that we used for collecting our data above. (Hint: it is in projected coordinate systems.)

In this lab, you will calcualte the distance between your home and Saunder's Hall and generate a path layer.

Measure tool:

  1. Add CH_image
  2. Right click on the studentdata dataset
  3. Open the attribute table
  4. Select your house and Saunders hall
  5. To do this you must scroll to the right row and highlight it by clicking. Hold down the control key, navigate to the other point and click it.
  6. Both points should end up highlighted in blue. These points will remain highlighted until you go back to open attribute table and select “clear selected” from the options menu. However, you will want them to remain highlighted for now.
  7. Use the measure tool to determine the crow's distance between your home point and Saunders hall.
  1. This tool button looks like a ruler with a question mark over it.
  2. Click the button and click your origin point (your house)
  3. You will begin to draw a line. Put the end of the line on the Saunders point and click. The distance is reported in the small popup box

Creating a new file:

  1. Open ArcCatalog
  2. Navigate to your course folder on the lefthand side called “catalog” and make sure that your lab folder is highlighted
  3. At the main toolbar, select File/New/Shapefile
  4. Create a new shapefile named onyen_path using only the first 5 letters of your onyen (e.g., mrlip_path)
  5. Select feature type: polyline and save it within your course space
  6. Select your projection: UTM 17, NAD 83 and OK
  7. Close ArcCatalog (when working alone at home, you may leave it open, but there seems to be a license conflict in the lab when many are open at the same time)
  8. Go back to your open ArcMap
  9. Add your new shapefile to your map with the plus sign
  10. Go to view/toolbars and make sure your “editor” toolbar is checked
  11. Open the editor toolbar and select “start editing”
  12. Select your lab folder and your new file, onyen_path.
  13. Next to the word “edit” on your editor toolbar, there is a pencil button. Click this button and click the pencil tool within the submenu.
  14. Use the pencil to trace the crow's path that you measured previously
  1. Click on your house point that should still be highlighted and double click on Saunder's Hall.
  2. If you mess up, select the black arrow next to the pencil tool, select your path, right click and hit delete.
  1. Create a walking path based on the roads on the image.
  2. Select the pencil tool again.
  3. Start at your house, but follow the roads this time and trace the path you would use to go to school by foot, bike, bus, car, etc...
  4. Click at each corner.
  5. When you arrive at the Saunders point, double click.
  6. Go back to editor and select stop editing.

Adding fields:

  1. Go to data management/fields/add fields in your Arc Toolbox
  2. Select onyen path as your input table
  3. Enter “path_type” as the field name with no caps
  4. In this case, field type is text, and length should be 50; click OK
  5. Repeat steps and add additional fields: 'length' , data type is double, precision is 2; and the word 'onyen' (not your onyen), text is the data type and the length is 50.
  6. Open your attribute table. Along the top there should be the following fields in this exact order:
  7. FID Shape Id path_type length onyen
  8. Turn the editor back on and start editing
  9. Open your attribute table and name “direct” for the crow's path and “walk” for the route in the “path_type” field. Use those terms direct and walk EXACTLY as written.
  10. Measure both lengths with the measure tool (in meters) and enter these values into the length field. Record only 2 decimal places and do NOT include units or any text in the field.
  11. Record your onyen twice for both paths in the appropriate field
  12. Turn off your editor

Append to class dataset, allpaths:

  1. In the course data folder, there is a file called “allpaths”
  2. You will append your onyen_path to this file
  3. This append must be completed by Friday, April 28.
  4. Go to datamanagement tools/general/append in your arc toolbox
  5. Input datasets include your file, onyen_path. Your target dataset is allpaths
  6. Leave default settings and select OK.

Week 3:

You will use this data to create a linear regression comparing walking distance to direct distance for the homes of the students in this class. In this exercise, you will learn some basic Excel datasheet skills (data reorganization & formula creation), practice linear regression and create a scatterplot.

1. Open file allpaths in ArcMap

2. Export file to your home directory, by right clicking the layer in the table of contents, and selecting “data” and then “export data”

3. Open Excel

  1. Select File/Open , select “all files” for the file type option at the bottom
  2. Browse to your course space and select allpaths.dbf
  3. The class data will now appear in your excel spreadsheet
  4. Delete the easting and northing columns. To do this:
  5. Click on the “B” , hold it down and scroll to hold down the “c”. Both columns will turn blue.
  6. Right click and select delete
  7. Select to move columns to the left.
  8. Convert paths from meters to miles. To do this:
  9. Select the column to the right of the length field
  10. Right click and select “insert”
  11. You will create an empty colum
  12. In the topmost empty cell, you will enter an equation to convert your length from meters to miles
  13. Enter “=” and then click the uppermost length measure; the corresponding grid (e.g., E2) should pop up in your formula window
  14. enter “* .00621371192
  15. The final formula should read something like: =E2*.00621371192, hit enter
  16. The formula should compute a value much smaller than the original length measure
  17. Line up your cursor in the right bottom corner and double click; the formula should carry down the entire column.
  18. Change the top row field names, direct and walking to indicate miles, e.g., (miles)
  19. Select all (control A). Go to tools/sort
  20. Sort first by path type and then by name (as part of one sort command)
  21. The result will be a list of all of the direct paths followed by the walking paths
  22. Cut all of the walking path rows and paste them next to the columns associated with crow's paths so that they look like the following:

Name Direct (miles)Name Walking (miles)

smith_m5smith_m7

We are interested in the relationship between direct distance and walking distance. In this case, our independent variable is direct distance and walking distance is the dependent distance. We are presuming that the user of the information will know from the map approximately how far they live from school and what they want to know is how far they will have to walk.

  1. Select both direct and walking columns. You can do this by holding the control key down while you select
  2. Hit the graphic button on the top tool bar (it looks like a little bar chart)
  3. The chart wizard will open up. Select the scatterplot and hit next
  4. The series is columns; click the series tab
  5. Your series should indicate the direct column as the “x” and the walking column as the “y”
  6. By clicking the little table button to the right of each of these dialog boxes, you will go back to the table and see the data you have selected. Check this and make sure your x and y are as you intended
  7. Name your series: Home to Saunders
  8. Hit next;
  9. title your chart: Relationship between Walking Distance and Direct Distance between Saunders Hall and Students' Homes
  10. Value x: Direct Distance (miles)
  11. Value y: Walking Distance (miles)
  12. Hit next and As new sheet, chart 1
  13. Now you see your scatterplot. To examine this relationship you will use a linear relationship and determine the r2 value.
  14. Click on one of the points and all points should turn yellow
  15. Right click and select “Add Trendline”
  16. Select linear, go to the options tab before hitting OK
  17. Select “Display equation on chart” and “Display R-squared Value on chart”
  18. Now hit OK
  19. Copy and past this chart into a word document and answer the following question to finalize this lab assignment:
  20. Your friend just moved to a new neighborhood that is 2 miles from campus according her map. What would you estimate for the biking distance? How reliable is your estimation?

The grade for this lab will be based on your successful submition of a GPS point, a properly appended row with your onyen, and lab report consisting of:

-your final figure with properly labelled axes and trendline (equation and r2)

-and answer to question above

1Bryce Koukopoulos

Meredith Robbins

Joy Rasmussen

Emily Madara

2Nicholas Holcomb

Christina Mills

Jamie Stubson

Harrison Miller

Kaylyn Siporin

Seth Holland

Ryan Miller

3Taylor Crabtree

Stephan Proctor

Walt Rogers

Ben Bruffey

4Scott Zeman

Emily Snow

Sam Franklin

Matt Stephenson

Elbert Hairston

Erika Kupatt

5Derrick Burke

Yong Min

Robert Yancy

Jaime Neill

Maggie Caswell

6Matt Whitehead

Chelsea Lindley

David Richardson

Fennon Wisseh

7Kathleen Casanova

Kelsie Grabert

Bridget Rogers

Robert Williams

Shepard Daniel

8Sam Reicle

Andrea Krutulis

Sean Weyrich

Lauren Tuttle

Brad Lynn

Ross Connolly

1