Recording GPS tracks

From OpenStreetMap Wiki
(Redirected from GPS reception)
Jump to navigation Jump to search
Global Navigation Satellite System Tracelog
Record tracelog Convert Modify Upload Accuracy Device reviews
A NaviGPS receiver.

Recording GPS tracks requires a GNSS Receiver (like GPS, Galileo, GLONASS, etc.) with the ability to save your location. Satellite Receiver is a device which allows you to accurately pinpoint your position, by receiving radio signals from satellites. To record tracks and/or waypoints, you will need to select a sat unit with this function — a specialized unit, but also a smartphone are both good candidates.

If you are hosting a mapping party, you can borrow the GPS units for loan.

Types of GNSS (or satellite) receivers

A 2007 collection of GPS receivers.

There are many types of satellite receivers, from a simple logger to smartphones with embedded GNSS chip(s). The most useful for OpenStreetMap listed below.

  • Hand-held receiver
    These are small devices which are used to record track logs. Many also include a small screen for displaying maps, basic settings and accuracy measurements. The battery life can be 24+ hours (depending on screen use) and they are generally rugged devices that are splash-proof or waterproof.
  • Smartphone / Tablet
    Almost all smartphones and many tablets include GNSS/GPS. Apps can be installed to provide the ability to record tracks, provide navigation features, and even edit OpenStreetMap directly.
  • In-car SatNav
    With a large display, the main function of In-car SatNav devices is that of navigation. Although some can also record tracks, this is not true of all. Away from a power supply the battery life tends to be quite short (often 3 hours or less).
  • Precise positioning receivers
    Certain hardware receivers can emit raw data that can be post-processed to centimeter or decimeter accuracy using post-processing software.

See GPS Reviews for a list of reviews of receivers by OSM contributors.

How-to guide

With hundreds of receiver devices available, providing detailed instruction for all of them is infeasible. The following guide therefore provides generic advise to help you get started. Not all the steps may be necessary (or possible) on your particular device. If you need any help, please ask questions on the Mailing lists or IRC.

Prerequisites

  • Check if your sat unit has a "Snap to road" or "Lock on road" option, make sure that option is switched OFF, or you will end up merely recording a direct copy of the map loaded into the sat unit, which is not only a copyright infringement (unless your map was downloaded or derived from OpenStreetmap, etc.), but is possibly going to be less accurate than the track you would otherwise record. On Garmin devices, it's on the first page of the map setup.
  • Set the position-recording frequency to the highest possible, depending on the memory of your device, the foreseen length of your track, and the speed at which you're travelling. If possible, set it to "every second".
  • Mount your sat unit to your vehicle (if applicable and needed). Maybe a simple homemade GPS mount can help.
  • If you want to update the OSM map yourself afterward, take what you need to record the details of what you encounter along your track — notepad, voice recorder, digital or video camera, etc. Software such as JOSM will allow you to synchronize your recordings with your path, for example, place the pictures on the map where you took them.

Record the track

GPS traces of hiking trails recorded during a mapping party in Slovakia (watch video).

Go for a walk or a cycle ride or a drive (or whenever you take any kind of journey)

  1. Switch your sat unit on at the start of the part of the journey that you want to map
  2. before you move, wait for a very good fix, i.e., until your connection to satellite has locked as many satellites as possible.
  3. Clear any track recorded previously, especially if the previous step recorded many false points.
  4. If necessary, set the sat unit to tracking mode so that it records your journey.
  5. If you plan to make up the roads later, take notes of the street names and other features, unless you already know them. You cannot later get them from or check them on a map, as this would infringe copyright.
  6. Record your route along any linear feature — rivers and waterways, footpaths, bridleways, rail and tramways, and any other fixed linear features are of interest to OSM. We want points of interest and area information also, so add this information in your travels where you can.
  7. If supported by your device, you can record waypoints, too, to mark roundabouts, churches, starts and ends of bridges, etc.

Frequently asked questions

Can I use a smartphone?

Yes, but the accuracy may not be as good as a dedicated hand held unit. Almost all smartphones do include GPS receivers and you can record track logs using one of the numerous available apps. Unfortunately the accuracy between phones can vary greatly and it is difficult to work out the technical accuracy of a track. A good test is to compare your results to other sources. Have a go at recording a track and check that it is smooth (does not jump all over the place) and is roughly in line with GPS tracks recorded by other people/devices (preferred) or aerial imagery (least preferred due to inaccuracy of aerial imagery in hilly areas).

See Software/Mobile for a list of software for your smartphone; for most platforms there is a table comparing the "Track making features" of the apps. Don't forget that you can also take geo-located photos with your smartphone which can be used in OSM (e.g. in JOSM editor).

Can I use a car SatNav?

Not all car SatNavs include an option to record GPS tracks, and if it does it may be within a hidden service menu. Try searching for your particular model number online or ask in the mailing lists or IRC. Be aware, that battery life can be short (less than 3 hours if the screen remains on when recording). Furthermore, some devices have a "lock to track" mode that cannot be disabled and are only useful away from all mapped tracks or roads. To test this, walk away from a road at 45° and watch if your recorded path follows the road and then suddenly jumps away when you are several 10's of meters away.

What to record?

Anything, as long as it reflects a real world feature. For example, try to avoid tracklogs of flights, as these could be distracting or confusing to other map contributors. Don't worry if you don't have the time to edit the map features after uploading a GPS track - the track on its own is helpful for others. Also tracklogs of roads that have already been mapped are also useful, as they can help to validate the true path of a road by providing more sample points.

Marking unreachable objects

GPS offset method

(Intermediate level technique)

When there is a structure or object that you want to GPS but is inaccessible (like a cell tower surrounded by a large fence) then you can use the 'GPS Offset Method' to get its coordinates. To do this you will need your GPS, compass, optionally a range finder and a way to record your data like a notebook or voice recorder. (Instead of using a range finder you can just estimate the distance but this will usually be less accurate.)

  1. Start collecting GPS points for your waypoint and give it some kind of recognizable ID like CT1 (Cell Tower 1). This is a good opportunity to use the average waypoint feature (that is included in a lot of GPS units) since the next steps will take a minute or so to complete.
  2. Use your compass to sight the structure and then record the bearing (azimuth) from your current location to the structure in your notebook.
  3. If you have a range finder, shoot the structure and record the distance to it in your notebook. Estimate the distance if a range finder isn't available.
  4. End GPS data collection and save your waypoint.
    An example format to record this information in your notebook:
    1. CT1 = 90m @ 340° from WP1
    2. CT2 = 60m @ 176° from WP2
    3. etc.
  5. When you get back to your computer you can download your waypoints and enter your offset notes into a spreadsheet. For less accurate coordinates of these structures, you can use the measure tool included in a lot of mapping programs to measure the distance and bearing. Then place the point referring to your notes about the waypoint offset information.

    For highly accurate coordinates of the structure using this offset information, you can use commercial GIS programs like ESRI Arcmap + COGO Extension or Softree Roadeng(Survey). There also exist free utilities to accurately calculate a new coordinate from distance and azimuth, for example Mentor Forward/Inverse or FizzyCalc.

Aimed straight segments method

Another method (much more simple, a little less accurate) is to "draw" two straight segments by GPS traces (walk right towards the object twice from different locations) both pointing at that distant object and then draw two lines through them. The lines will intersect in the object's location. For added accuracy, walk towards two objects at once, keeping yourself in line with both of them. This helps you walk straight.

Interpolation

Identify two reference objects in the background, such as prominent buildings or power poles, which have already been mapped (or which you will map e.g. from aerial imagery). For each reference object, mark a GPS position where the target object is between yourself and the reference object. Draw a line from each of these GPS positions to the corresponding reference object. The target object is where the lines cross.

For best accuracy, pick reference objects that are close to the target object but far away from each other (ideally at a 90 degree angle). Counterintuitively, the further away you are from the target object, the more accurate your measurement is, because any errors in your own position are less significant.

Estimation

If the unreachable object is not critical, you can simply estimate where it should be on the map, but make sure to mark it with fixme=*, so that others know and possibly position it better later.

See also

  • Accuracy of GPS data – the accuracy of GNSS data can vary greatly between sat receivers. It is also affected by your surroundings, the weather and the position of satellites at the time of recording the track
  • Mapping techniques – other means to get data for mapping, including less complex methods