I'm sure I've done this in the past without issues, but I keep getting errors trying to import the gpx file that I downloaded from Gaia for my latest planned ride. I did find a way to make it work, but it took a couple tweaks to the gpx file in a text editor.
I do not know which of these changes actually made it work, but here is what has been working for me tonight.
- Create and save a route in Gaia
- With the route open, select Export > GPX
- Open the GPX file in a text editor - I prefer something like Atom or Notepad++ that has a "beautify" plugin to set proper carriage returns and indentation for easier reading. There are likely online tools that will do the same thing, and I don't think this step is necessary, but it is easier on my eyes if it is formatted properly
- Using the text editor, do the following find and replacesteps:
- Find all instances of rtept and replace with trkpt
- Find all instances of rte and replace with trk
- Insert a new line before the first <trkpt> line and type <trkseg> on the line
- Insert a new line after the last </trkpt> and type </trkseg> on the line
- Save the updated gpx file
- On Ride Command website, select Import on the Tracked Rides page
- Upload the GPX file
- Select Import as Recorded Ride. Selecting Planned Route will dump most of the detail from your track.
Here is a very short snippet from one of my tracks that I just imported to show an example of what my steps above end up looking like.
XML:
<?xml version="1.0" ?>
<gpx creator="GaiaGPS" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<trk>
<name>My sweet track</name>
<desc></desc>
<extensions>
<line xmlns="http://www.topografix.com/GPX/gpx_style/0/2">
<color>2D3FC7</color>
</line>
</extensions>
<trkseg>
<trkpt lat="38.448385" lon="-118.781996">
<ele>3198.7463135999215</ele>
</trkpt>
<trkpt lat="38.448391" lon="-118.781876">
<ele>3197.1954105599075</ele>
</trkpt>
<trkpt lat="38.448364" lon="-118.781691">
<ele>3192.5517158398743</ele>
</trkpt>
</trkseg>
</trk>
</gpx>