Creating GPX files for your Garmin GPS


Using GPSVisualizer Draw to create a simple GPX file

I have tried several websites and methods for creating tracks for hikes that I am unable to locate gpx files for. What I’ve found is that most methods add waypoint, routepoint or linepoint data to the files. My GPS unit (Garmin Dakota 20) fails to load a track file if it contains anything other than trackpoint data. Thus far, GPSVisualizer Draw is the easiest way to create a gpx file that only contains latitude and longitude information.

  1. Visit the GPS Visualizer Freehand Drawing Utility website (http://www.gpsvisualizer.com/draw/)
  2. Select the map you want to use by clicking on the arrow in the upper right hand corner of the screen.
  3. Navigate to the area where you want to create the gpx file by dragging the map and/or zooming in. You can also use the search box in the upper-left hand corner.
  4. On the right, under ‘Drawing Tools,’ click on trk
  5. Draw your track by clicking on the map.
  6. When you’ve finished drawing the track, click on the gpx button, which is located near the trk button
  7. A link to your gpx file will appear below the gpx button. Right-click on the link and save the file to your computer.
  8. This file can be loaded onto your GPS unit.

 

Adding (geek) stats to simple GPX files

I like to have a printed map and a GPX file for all of my hikes if possible, especially if it involves some off trail or x-country sections. I have been making my own printed maps for a while, by either scanning the large maps I have or taking screen shots of the trails. I then import these images into software (Gimp, Photoshop, Fireworks) to add stats and highlight my route.
Since I have started hiking routes that are off trail or obscure, I am finding it increasingly difficult to find the information I need to create the (geek) stats I like to have for my hikes. The process I have come up with takes some work and if you don’t need this information, it is unnecessary. If you just want to create a simple GPX file that can be viewed on your GPS unit, GPSVisualizer Draw is the easiest option (see above). Before we get to the process I use, here are some examples of what I created from the information harvested in this process:

Side 1 of a map I carried on a recent trip. Coordinates  for landmarks are included
Side 2 of the map, with trail elevation profiles and itinerary/timing estimates
Search locations I plotted for Carey’s Cache. GPS coordinates omitted
A map for a San Gorgonio hike, which includes elevation gain/loss info
A map created over several trips up Skyline Trail, including split times between landmarks
Map and elevation profile for a hike I completed in Joshua Tree, including location of POIs.

 

  1. Map out the route using the steps above
    1.  Save the GPX file. Save it with the suffix STEP1 (ie MyHike_STEP1.gpx)
  2. Upload your GPX file to GPSVisualizer to add elevation information*. Export as a KML file.
    1. Go to: http://www.gpsvisualizer.com/map_input?form=googleearth
    2. Next to ‘Add DEM elevation data:’ select the source you want to use
    3. Customize your file using the available options. The only thing I do is ‘Colorize by’ to ‘Track’
    4. In the right hand column, click ‘Choose File’ and select the file created in step 1 .
    5. Click ‘Create KML File’
    6. Right-click on the KML file, and save the KML file to your computer with the suffix STEP2 *this step is optional, but I like to have elevation information included in my files
  3. Open the KML file in Garmin Basecamp. Export a .gpx for you GPS unit
    1. File > Import into, then select the file you created in Step 2.
    2. In the bottom left pane, you may see a list of waypoints/routepoints for the file you imported. They will have a flag icon next to them or something similar. I usually delete these.
    3. Scroll down past the way/route points (if you haven’t deleted them), until you see the track. The title should be something like ‘Gmap4_Route##’ or ‘Hiking 4/29/14’. Right-click on the file and select ‘Rename.’ Rename it to something descriptive (ie Mt. Baldy via Register Ridge)
    4. In the Library pane (upper left), you should see the name of the file you imported. Click on it once to highlight it. The go to File > Export > Export Selection.By default, ‘.gpx’ should be the file type. Save the file with the suffix ‘STEP3.’ This is the file for your GPS unit.
  4. Upload the file to your GPS unit and test it.
While it is not necessary, I like to break my hikes/maps down into sections and grab data for each of those sections. By doing so, it helps me prepare for the hike and get an idea of how difficult it will be and how long it will take to complete. Google earth is a great tool for getting this information. You can highlight different sections of your hike and it will calculate the mileage, average slope, elevation gain/loss, etc. If I am doing a hike that has multiple routes or side hikes, I will save each of these sections as it’s own track by using the steps above. Once I have them in Basecamp, I do the following:
  1. Create a new folder in the Library Pane
    1. Right-click on the ‘My Collection’ folder. Select ‘New list folder’
    2. Name it something descriptive (ie Cottonwood Pass Trip, May 2014)
  2. Drag and drop the section of your hike into this folder
  3. Click on the folder name once to highlight it. Then go to File > Export > Export ‘your folder name here’.
  4. Change the ‘Save as type;’ selection box to ‘KML’
  5. Click ‘Save’

You can now double-click on that file to open it in Google Earth

Once in Google Earth, you can view the elevation profiles of route(s), add information in the description of each route or even harvest information for your printable map. Here is an example of what can be done using a combination of Google Earth and Gmap4: Cottonwood Pass Trip, May 2014



2 Responses

    • TheHikingGeek

      Thanks!
      I am curious if other GPS unts are as finicky about GPX files as Garmins. Do you know anyone that uses non-Garmin GPS devices?