Garmin & OpenStreetMap GPS Logging Tutorial

Part of the GPS logging project

This tutorial will teach you how to record route data on Garmin devices and map it with OpenStreetMap.

Record GPS Routes with Your Garmin

I wrote this tutorial using a Garmin nüvi 2539LMT. However, I’ve had success using the same steps with other variations of the Garmin nüvi.

Fortunately, the nüvi already records location data in GPX format by default; all you have to do is get it off the device. To extract them, we need to hook up the nüvi to a computer via USB – the same way you’d hook it up to install map updates. The nüvi should have come with its own USB cable, but any standard USB cable should work – plug it into the same slot into which you’d normally connect the power cord. The nüvi 2539 takes a USB Mini cable.

Garmin nüvi 2539LMT connected to a PC via USB

Your computer should recognize the nüvi as a USB storage device and mount it. On Windows 10, it will be listed in This PC.

Screenshot of Windows Explorer

Navigate to the nüvi’s /GPX folder. (On some models, this may be in /Internal Storage/GPX.)

Screenshot of Windows Explorer

Copy Current.gpx to your desktop, or somewhere else on your computer where you can find it easily.

Make sure you use copy instead of cut, and do not delete or modify this file (or any other file) on the device. The nüvi is very particular about the integrity of its internal files, even if you later copy them back onto the device – I’ve lost my favorites on more than one occasion from this. Copying files is fine, but to be safe, treat the nüvi like it’s read only and don’t change anything on the device.

Current.gpx contains the most recent route history tracks, as well as all locations you’ve saved in the device. The device will try to keep the file to about 2 MB; if it goes above that, the oldest tracks are placed into .gpx files in the /GPX/Archive folder. Using the GPS daily, 2 MB equated to approximately two weeks of driving under normal use. Longer road trips fill it up quicker, so if you don’t want to deal with the archives, I’d recommend copying the Current.gpx file to a computer at the end of each day of driving.

Trim Extra Data

Since the Garmin GPX file contains the last 2 MB of data, it’s possible that it contains more location history than you actually want to map. If that’s the case, you’ll need to delete the extra GPS tracks with a GPX editor.

On Windows, I use EasyGPS as a free way to edit GPX files. (On MacOS, I haven’t been able to find a good solution for free, but myTracks has a free trial.)

In EasyGPS, select Tracks from the dropdown at the top of the lower left panel, and you’ll see a list of tracks named by date. By looking at the dates, you should be able to tell which tracks you don’t need, but if you’re unsure, you can double click a track to preview it and figure out if you need it.

Screenshot of EasyGPS

Delete a track by selecting it and pressing the DEL key (or right clicking on it and selecting Delete Track).

Once you’ve made any necessary deletions, save and close the GPX file.

Import the Location Data into uMap

uMap is a website which allows you to import GPX data and overlay it on an OpenStreetMap layer.

Screenshot of uMap

Click Create a map to get started.

Screenshot of uMap

On the menu on the right side of the map, click Import data. Choose your GPX file and click Import.

Screenshot of uMap

Your data is imported! If you wish, you can stop here. However, I usually prefer to change the background map to something less busy. You can do that by clicking the Change tilelayers button, third from the bottom on the right menu.

Screenshot of uMap

I usually use Positron, but you can choose any map you want.

Screenshot of uMap

And that’s it! A clear map of your routes. Save or screenshot your map as you see fit.

Return to GPS Logging