Publishing long rides from MyTracks in Google Maps

By , May 3, 2009 3:22 pm

Just in case it’s useful to anyone, here’s how I publish my cycling routes in my blog. I record the routes on my great G1 Google phone which runs Android, using the great MyTracks application from Android Market. Once the route is recorded and I get back home, I do the following:

  1. In MyTracks, copy the track to SD card as a KML file
  2. Plug the phone in via USB and mount the SD card’s filesystem
  3. Copy the KML file from the kml directory to a local directory.
  4. Open the KML file in an editor, search for 7f0000ff (light orange) and change it to ffcc66cc (purple) or something more visible
  5. Ensure the track name is correct
  6. Go to (ensuring I’m signed into my google account)
  7. Click “My Maps”
  8. Click “Create new map”
  9. Click “Import” and upload the KML file
  10. Edit the route if necessary and save changes.
  11. Sometimes it’s necessary to click on another route and back to this new one, in order to make the “View in Google Earth” link appear.
  12. Copy the URL of the “View in Google Earth” KML link and paste it into the Google Maps *search* bar (yes that’s right, *not* your browser address bar)
  13. Click “Link” near the top right
  14. Share the link with friends and/or paste the embeddable HTML into a new blog post.

The copy of the “View in Google Earth” KML link back into the search bar in step 12 is necessary to stop Google Maps from splitting the route up into multiple pages, which would only show shorter segments (“lines”) of the overall route at one time.


3 Responses to “Publishing long rides from MyTracks in Google Maps”

  1. James says:

    Hi Adam,
    I’ve also got myTracks on my G1 phone. I’m wanting a way to do what you are doing but have it automated and show up as a Google Map on my WP site. Haven’t found it yet but it should be possible.


  2. Katy says:

    Hello Adam, I thought it could be helpful to recommend a very useful tool for making Google Earth kml files to gpx formats and the other way around, in case you ever need, thanks!

  3. Katy says:

    Sorry, I forgot to mention the online converter, here’s the link

Leave a Reply


Panorama Theme by Themocracy