Lesson 7: Integrating GPS Data

Introduction: Acquiring and Integrating GPS Data

A. Goals

Upon completion of module 7, you will be able to recognize the accuracy of different grades of GPS receivers, explain the basics of how a GPS works, use a GPS to acquire your own data, explain how hand-held field units can be used for data acquisition, outline various data creation methods, and describe what's involved in publishing data.

B. Background

Until now we've been focusing on the acquisition of data that already exist. Your assessment of data in your project may have yielded a need for some new data layers. Depending upon the scale of your project, data you acquire with a basic, non commercial-grade GPS receiver may or may not meet your project specifications. For the purposes of getting practice with acquiring GPS data and integrating them into GIS, we will assume that the accuracy of a handheld recreational-use receiver is adequate for your needs.

C. Module Overview

  1. Recognize the accuracy of different grades of GPS receivers (recreational, mapping, surveying)
  2. Explain how GPS works
  3. Use a GPS to find a Geodetic monument
  4. Explain how hand-held field units can be used for data acquisition, ex. ArcPad
  5. Outline various data creation methods

D. Deliverables

This module is one week in length. Please refer to the course Calendar tab, in ANGEL, for the due date.

Please see the Deliverables section at the end of Part II for this week's readings and action items.

Checklist

Lesson 7 is one week in length. Please refer to the Calendar in ANGEL for specific time frames and due dates. To finish this lesson, you must complete the actvities listed below. You may find it useful to print this page out first so that you can follow along with the directions.

Steps for Completing Lesson 7
StepActivityAccess/Directions
1Work through Lesson 7You are in the Lesson 7 online content now. The overview page is previous to this page, and you are on the Checklist page right now.
2Complete the deliverables for Lesson 7Page 4 has this week's deliverables.

 

Bringing GPS Data into a GIS

A. Download the Lesson Data

My story:

If you recall, one of the layers that the State College Borough Water Authority identified on their GIS wish list was fire hydrants. I decided to acquire hydrant data for this activity even though that type of data may call for sub-meter accuracy, something my recreational grade Garmin eTrex receiver will not give me. I noticed that there are some new developments in Pine Grove Mills that aren't included in the CAD data yet. Acquiring features in new developments is a great use for GPS.

NOTE -- If you are going to be collecting data in neighborhoods or in some place where your activities may look suspicious, it is a good idea to let the police department know where you will be and what you are doing in case someone calls. In these days of heightened security awareness, I suggest that you stay away from obvious military or government facilities.

Registered Students download from ANGEL the Lesson 7 data (lesson7files.zip) to a new folder (e.g., C:\MGIS\GEOG488\Lesson7). This .zip file is about 73 mb.

B. Load the Basemap and GPS Data

We will be overlaying the GPS data I acquired with some of the county basemap data you've seen in previous lessons.

  1. Add the streets layer first. The data frame will assume the projection of that layer.
  2. Add the digital orthophoto clip_9230a.tif.
  3. Add the PGM_hydrants layer. These are the hydrants I acquired with the GPS. My receiver units are: Position Format: degrees, minutes, seconds; Map Datum: WGS 84.
  4. Rather than adding attributes directly into the GPS unit, I took notes in the field, being sure to include the waypoint number with each hydrant number. I personally always keep a data log incase of subsequent problems with the unit. Add the hydrants_lookup.dbf table into ArcMap.
  5. Join the hydrants_lookup.dbf table to the PGM_hydrants layer using the waypoint number for the join.
  6. In the next section, you will be adding fields and populating them. Export this layer to make the join permanent. Give the layer a new name such as PGM_hyd_ids.
  7. If you zoom around the ortho, you can see that one hydrant I acquired (z2-10-05) is in a development that was put in since the aerials were flown.

C. Add X and Y Coordinates

You'll notice that the X and Y coordinates are not included in the table.

  1. Open the Attributes of PGM_hyd_ids table.
  2. Add fields to hold the coordinates, e.g. X_coord and Y_coord. Be sure to specify parameters that will be able to hold the values, e.g. type: double, precision: 10, scale:6
  3. Right-click the field heading for the X field and click Calculate Geometry.
  4. Calculate the X Coordinate of a Point
  5. Right-click the field heading for the Y field and click Calculate Geometry.
  6. Calculate the Y Coordinate of a Point

D. Compare GPS Coordinates to a Known Location

  1. Add the benchmarks layer. These are benchmarks from the National Geodetic Survey site [http://www.ngs.noaa.gov/].
  2. Add the digital orthophoto clip_9243c.tif.
  3. Add the psu_ngs layer. These are GPS points I collected for one of the NGS benchmarks on the PSU campus.
  4. Measure the distances between the collected points and the benchmark with known coordinates. The 16 locations I acquired are off between 2 feet and 15 feet - not bad!

Now, you will be given some instructions on how to acquire these benchmarks from the NGS site to test the accuracy of your receiver.

E. GPS a National Geodetic Survey Control Station

  1. Go to the National Geodetic Survey site [http://www.ngs.noaa.gov/].
  2. Click the datasheets link.
  3. Click the Shapefiles button.
  4. You can pick from any of the Retrieval Methods, but these instructions will be for a Radial Search.
  5. Enter a Center Latitude and Center Longitude. These can be acquired with your GPS receiver.
  6. Enter a Radius.
  7. Keep the defaults for Data Type, Stability, and Compression Options.
  8. Enter a File Prefix and click Submit.
  9. A list of stations should appear. Highlight the stations you want to download or click Select All and click Get Shapefile.
  10. Save the file to your Lesson 7_8 directory. Unzip the file and add the shapefile to ArcMap.
  11. Now, you should now GPS these stations to see how accurate your GPS data are.

F. Optional Go Further into GPS and Location

Here is a look at geodetics and GPS

That's it for Part I!

You have just completed Part I of this module, which involved looking at acquired GPS data and adding X and Y coordinates. In Part II, you will load GPS data you've acquired.

Acquiring Local GPS Data

A. Acquire GPS Data for your Area

Your story:

By now you should have identified a layer that you would like to acquire with your GPS receiver (this will be local cultural monuments unless you have something directly for your own project you need to collect with a GPS). Again, depending on the scale and accuracy requirements of your project, the layer may or may not meet your project specifications, but it will be good practice to start using a GPS receiver and to integrate the acquired data into GIS.

  1. Make sure WAAS is enabled if you have that capability on your receiver. On the Garmin eTrex units that are WAAS compatible, you can enable WAAS by going to Main Menu & Setup & System & WAAS.
  2. Check the units of your receiver. On the Garmin eTrex units you can do this by going to Main Menu & Setup & Units.
  3. Make sure that the Almanac is up to date by having turned your unit on and left it reading long enough to acquire the satellite data. For some units, this may take 30 minutes.
  4. Check that your battery is in good condition and will last long enough to finish the task.
  5. Check that the Datum is correct (default for all GPS is WGS1984). However, if you want to find something on a map, you will need to be in the same datum as the map you are working with.
  6. Acquire the points you identified for your project or those of local cultural units like monuments, historic markers, or buildings. On the Garmin eTrex units, you can mark a waypoint by holding in the button (what Garmin calls the "click stick") on the front of the unit. You can change the label of the waypoint by using the click stick to highlight the label and then selecting it to enter a new name or number. Once you are done editing the waypoint, click OK with the click stick.
  7. Make sure you collect the x y location, a name, a description, error, and your name and date, into a tab delimited text file.
  8. For better accuracy it is better to collect a point by averaging it.
  9. Make sure that your satellite geometry is good before you decide to record the way point. It needs to have a number of satellites visible in different parts of the sky and reasonably high off the horizon. The error reported by the unit may help you in assessing the quality of the reading.
  10. Acquire at least ten locations. In the next section, we will bring the data into ArcMap.
  11. As I said before, I always note the readings and other data in a position logging book in case I drop, lose, otherwise destroy the unit, or accidentally delete the waypoints when downloading. Often the things I record are once only events or are too far away or difficult to acquire again. I work in inhospitable areas like northern Kenya.

B. Load the GPS Data

Garmin eTrex GPS receivers are recommended for this class because they are affordable and there is an interface that can be downloaded from the Esri site or an alternative from http://www.dnr.state.mn.us/mis/gis/tools/arcview/extensions/DNRGarmin/DNRGarmin.html .

****If you aren't using a Garmin receiver, you should be able to get a table of coordinates from your receiver via a cable. You can then use the Add XY Data tool that you used in the last lesson to create spatial features from the coordinates. If you have questions about how to do this with your receiver, I will help as much as I can, but I do not know how to use all receivers.****

noteThe following section is for Garmin eTrex receivers only.

  1. Go to the Esri Support page and type gpsi in the textbox under the Search Our Site section in the upper left corner of the page and click the green Search button.
  2. You will see that there is one result in the Downloads section. Click Downloads and then click GPSi (GPS Interface). Read the summary and then click the green Download button.
  3. An alternative that some prefer is this download tool. The GSPi does not seem to work with all GPS units. (This is a problem as software becomes ever more integrated). http://www.dnr.state.mn.us/mis/gis/tools/arcview/extensions/DNRGarmin/DNRGarmin.html The general method remains the same if you use this interface. Other units may well come with upload software.
  4. Read the disclaimer, and then if you accept, click the green accept button.
  5. A File Download dialog box will pop up. Specify where you want to save the file. (I created a folder in my ArcGIS directory called downloads and created a folder within that folder called GPSi. )
  6. Browse to the directory where you saved the file (AS12749.zip) and unzip the files.
  7. Open the readme.txt file and follow the installation instructions.
  8. Once you have completed the installation, the GPSi toolbar should appear in ArcMap.
  9. Connect the GPS cable to your receiver and to your computer. Turn the GPS unit on.
  10. Click GPS Interface > Waypoints > Download Waypoints.

    In the summary of the utility, there is a note about Error 429. If you experience this error, you need to download the Mscomm32.ocx file. You then need to register the file. This can be done by clicking the Start menu and choosing Run. Type regsvr32 and then the path where you downloaded the file in the text box and click OK.

    e.g. regsvr32 D:\Geog_488\Project_7_8\mscomm32.ocx

  11. Select the waypoints you want to download. You can click the All or None buttons to make the selection of waypoints easier.
  12. Click Save. Save the waypoints as a shapefile to your Lesson 7_8 directory and add the layer to ArcMap. Do the points line up with your other data layers?
  13. Create metadata for your newly acquired layer.
  14. Check your data to see all fields were downloaded. A number of programs drop some fields; the most egregious is the elevation field. If it is dropped and you will want it for your final project, you will need to add it manually.

C. Explore Geocaching (Optional recreational activity but good practice with the GPS)

What is geocaching?

  1. Go to the Geocaching [http://www.geocaching.com/] site and find out.
  2. You can locate the nearest geocaches by entering your zip code. My zip code (16801) has 91 geocaches and I've visited four of them.
  3. Pick a geocache near you and at the very least post a few details about it in your write-up for this week. If you feel adventurous, visit one of the geocaches and take a little something and leave a little something.

D. GPS a Confluence (really optional)

  1. Go to the Degree Confluence Module [http://www.confluence.org/] site.
  2. If you are in the U.S. (lower 48) it is unlikely that you have an unvisited confluence near you, but you may still have fun visiting and acquiring your location. Browse around the site and take a look at the pictures of the confluence nearest you.
  3. Pick a confluence that has yet to be documented that you would like to visit. I think I'll go and take a picture of 13°S 30°E.

E. Deliverables

This module is One week in length. Please refer to the course Calendar tab in ANGEL for the due date.

1. Readings:

Required:

  • "Recreational Versus Professional GPS: What's the Difference?"
    Article from ArcUser discussing some of the things to consider when deciding what grade of GPS receiver you need.
  • Trimble GPS Tutorial
    Trimble offers a basic walk-through GPS tutorial that doesn't focus on their brand.
  • Texas DOT GPS Manual
    A comprehensive manual for GPS surveyors and a good example of the level of documentation used in the field -- First, skim this weighty document but read the sections on accuracy completely, if you have time read as much as you can.
  • Cell Phones as new mass data collection technologies from Nature.

Recommended:

2. Post a project write-up including:

  • discussion about what grade of receiver would be necessary to acquire data for your project (if the unit you are using is adequate for the data you are collecting, what additional layers might call for a different grade?);

3. Send the point layer shapefile for the cultural monuments you have collected including metadata.
           If you are collecting data for your project then send a point layer shapefile for that data instead.
           This should be sent to the Lesson Seven Cultural Points Drop Box as a Layer Package.
            Layer packages can be made from the tool in the Data Management Toolbox (to see  an example click here).

4. Discuss the weekly topics on the discussion forum.

5. Frustration Revisited. Having got so far, now the final project might look pretty uncoordinated. Do not become disheartened by this, as this is normal. As you begin to write it up it will all fall together. Remember that in Problem Based Learning the process is more important than the product. If you need to change course, project expected deliverables, or want to modify what you had planned, do not worry. I will take this into account at this point, too. Remember to document all your efforts and keep me informed. Contact me directly if you feel the need to discuss your plans in person. Sometimes a few words are worth a ton of emails

That's it for Part II and Lesson 7!

You have just completed module 7.

Don't forget...if you have any questions, feel free to post them to the Lesson 7 Discussion Forum.