Convert a .gpx file for viewing in Google Maps

Discussion in 'Mapping & Navigation' started by TRZ Charlie, Mar 31, 2011.

  1. TRZ Charlie

    TRZ Charlie That's MR. Asshole

    Joined:
    Nov 13, 2008
    Oddometer:
    20,065
    Location:
    Fayetteville, AR
    The following is a tutorial on how to convert .gpx files into .kml files for viewing in Google Maps.

    1. Save your .gpx file where you can find (I place it on my desktop for ease of retrieval)

    2. In your webrowser type: www.gpsvisulizer.com

    3. When GPSVisualizer opens find the box that says "Get Started Now"

    [​IMG]

    4. Next, minimize the window and drag the .gpx file (from your desktop) into the "Get Started Now" box at the window that says "Upload a GPS file" (you may alternately browse to it). You will note that the file name is now in this window.

    5. Choose your output type. You want "Google Maps" which is also the default in this window.

    6. Click "Go"

    7. The file will now be converted and GpsVisualizer will open the original .gpx file in Google Maps.

    [​IMG]
    #1
  2. SnowMule

    SnowMule [angry moth noises]

    Joined:
    Jul 2, 2009
    Oddometer:
    22,312
    Location:
    I LIVE IN A GIANT BUCKET
    #2
  3. TRZ Charlie

    TRZ Charlie That's MR. Asshole

    Joined:
    Nov 13, 2008
    Oddometer:
    20,065
    Location:
    Fayetteville, AR
    Thanks ShowMule I like that.
    #3
  4. WERA456

    WERA456 Been here awhile

    Joined:
    May 23, 2008
    Oddometer:
    207
    Location:
    North Ga. (The site of the first major gold rush)
    So now how can I get it from gpsviualizer (google maps) into just google maps. I would like to be able to save it to "my maps" so I can come back and get it later. Also if I could get it into regular google maps then I could drag and edit the route.
    #4
  5. abhibeckert

    abhibeckert Long timer

    Joined:
    Feb 15, 2010
    Oddometer:
    1,955
    Location:
    Cairns, Australia
    This is all I do:

    * go to maps.google.com
    * log in with my google account (if i'm not already logged in)
    * click "my maps" on the left
    * click "create new map"
    * click "import"
    * it says to choose a KML/KMZ/GeoRSS file, but a .gpx file works perfectly too
    * select your gpx file, and press "upload"
    * done!

    Here's a test gpx import I created just now: http://maps.google.com/maps/ms?ie=U...d=215040159146187550527.0004a0c25b9e62f6e6e1a
    #5
  6. TRZ Charlie

    TRZ Charlie That's MR. Asshole

    Joined:
    Nov 13, 2008
    Oddometer:
    20,065
    Location:
    Fayetteville, AR
    Good stuff.
    #6
  7. Visian

    Visian Look out!

    Joined:
    Aug 23, 2001
    Oddometer:
    1,735
    Location:
    ATL/WNC
    I've tried both the abhibeckert and SnowMule methods above and all i get is a lot of blue waypoints (?) on a google map... no line showing the roads that connect.

    What am I doing wrong?

    on edit: for clarification, it looks like abhibeckert created a track, exported a GPX and then generated a google map. I am using Routes... could this be the difference?


    for a variety of reasons, I don't want to use a 3rd party site.

    .
    #7
  8. SnowMule

    SnowMule [angry moth noises]

    Joined:
    Jul 2, 2009
    Oddometer:
    22,312
    Location:
    I LIVE IN A GIANT BUCKET
    Routes are a list of major points (the waypoints you're seeing) that are connected using data from the mapset. You would put in two waypoints, like the bank and the store, then generate a route from the bank to the store. The receiver/computer/whatever would use the street information in the mapset to get a left-turn, right-turn, go-straight, turn-here path to follow. Routes are highly dependent on the receiver's ability to generate a path and the map information available.

    Tracks are a large list of minor points that are connected to each other. No information from a mapset is used to generate or display these. As a result, nearly any GPS can use these. My old GPS12 with no maps at all could use a track for navigation, provided it fits in teh limited 1024-point memory.

    A lot of people use tracks as a route because it gets rid of any specifics to a mapset... mapset A may take you along the highway to the store, while mapset B will route you along side roads. A track is just a list of digital breadcrumbs to "pick up" as you head to the store, it won't have the voice-prompted turns that a route would have.
    #8
  9. mrprez

    mrprez KJ4WMZ

    Joined:
    Apr 25, 2008
    Oddometer:
    1,265
    Location:
    Mobile, Al
    Very well explained. Answer me this. When you are creating a map in Google Maps and you use the "follow roads" or "snap to roads" what is that? A route or a track? Also, do you know a way to make it stop trying to route you a different way? Whenever I try to use it, the feature wants to try and find a "better" road to take.
    #9
  10. SnowMule

    SnowMule [angry moth noises]

    Joined:
    Jul 2, 2009
    Oddometer:
    22,312
    Location:
    I LIVE IN A GIANT BUCKET
    Google Maps would be a route... you've got Point A (Northglenn, on I-25) and point B (Idaho Springs, Point B), and Google's using its mapset go generate the I-25/I-76/I-70 route.
    edit: okay, embed's broken.. click this


    A track would look more like this, has a much higher resolution of points along the path you want to take. If you were to plot each of these points in a track connected by straight lines between points, you could follow that regardless of what (if any) mapset you had installed.
    Linky
    #10
  11. mrprez

    mrprez KJ4WMZ

    Joined:
    Apr 25, 2008
    Oddometer:
    1,265
    Location:
    Mobile, Al
    Here's what I'm doing. I made a mapset using the snap to road feature. Saved it as a KML file and uploaded to the iPhone using Accuterra. AT does not support routes, only tracks. When I view the track in AT, the track still follows the road, not point to point! Pretty cool but using the snap to road feature is a Major PITA.
    #11
  12. Visian

    Visian Look out!

    Joined:
    Aug 23, 2001
    Oddometer:
    1,735
    Location:
    ATL/WNC
    good explanation, indeed. thanks. it's essentially like bit map vs. vector in the graphics world.

    unfortunately, while one can create a route from a track, there appears no way to export a Track from a Route.

    i've got a bunch of GPX routes of rides that others have provided. i'd like to turn into Google maps and provide direct links. there is not enough time to do it manually.

    i tried communicating with the tech support guy at GPS Visualizer and he just spoke way over my head... we couldn't connect, conceptually, as to what i am trying to do.

    .
    #12
  13. Steve W

    Steve W Old Grouch

    Joined:
    Apr 28, 2008
    Oddometer:
    706
    Location:
    Rocky Mountains of Alberta
    The newest Mac BaseCamp Beta can do exactly that. It might not hurt to download and try the Windows version if you have not yet seen the light. :D
    #13
  14. Visian

    Visian Look out!

    Joined:
    Aug 23, 2001
    Oddometer:
    1,735
    Location:
    ATL/WNC
    ok, thanks.... Basecamp is what i am using. 3.1.4 (beta crap on Mac scares me....and i turned of Window last year *permanently* after yet another day wasted in Outlook hell. :lol3 )
    #14
  15. Visian

    Visian Look out!

    Joined:
    Aug 23, 2001
    Oddometer:
    1,735
    Location:
    ATL/WNC
    well, i have a current macbook pro with 8 gig of ram and the beta Basecamp just sits there locked up, so i reloaded the current distribution version.

    any other ideas... i am :ear

    .
    #15
  16. 2Vulcans

    2Vulcans Let's go...

    Joined:
    Mar 10, 2009
    Oddometer:
    171
    Location:
    Stellenbosch, South Africa
    Hi all,
    I am posting here first, hoping that somebody will notice this and comment.
    I am relatively new to My Places in Google Maps and what I am trying to do is following a route everyday and upgrading it in My Places. Unfortunately everytime I open it, the graphic information is split in pages and I am not able to see the whole track/route in one page. I have tried this with different browsers and it is the same.
    I had found a trick that uses the KML option to save it and then put the link of the KML file into the search in Google Maps and it does work, but how do I do this when I embedd the map into ADVRider for example or another website or forum?
    Thanks!
    :freaky
    #16
  17. jesse.jennings

    jesse.jennings Airhead

    Joined:
    Jul 20, 2009
    Oddometer:
    2
    Location:
    North Idaho
    Good info, I use Expert GPS, relatively cheap (~$80) for the basic package, and will export a .gpx file directly to a .kml of kmz for viewing in Google Earth. Also connected to a map server, so all topo sheets and aerial photography is available. Really a good tool to have.
    Cheers, and happy thanksgiving.
    J
    #17
  18. TJE

    TJE Space Emperor

    Joined:
    Sep 17, 2009
    Oddometer:
    83
    Reviving this thread ...

    I'm recording GPX tracks on my iphone, and want to import them into Google Maps, which works fine, except they are split up into sections, which is useless. I used to use http://www.coursemapper.com to optimize the track, so it would fit into 1 section in Maps, but now I get an error on that site.

    How can I make one continuous track to save in My Maps?

    Thanks!
    #18
  19. TRZ Charlie

    TRZ Charlie That's MR. Asshole

    Joined:
    Nov 13, 2008
    Oddometer:
    20,065
    Location:
    Fayetteville, AR
    In Mapsource or Basecamp have you tried "join tracks" You, highlight all of your tracks in the left pane, then right click>join tracks (I think). Then you could export them.
    #19
  20. FreeTheBeast

    FreeTheBeast Shunpiker

    Joined:
    Jan 23, 2004
    Oddometer:
    3,226
    Location:
    +1.603
    I just came across this thread. Good info. Thanks for posting. Google Maps didn't play well for me even though I was trying to follow the directions here. What did work for me is exporting from Basecamp as KML v2.2. I then imported that file to Google Maps when creating a new map. It included the waypoints and the line of the route on the roads.

    My intent was to have a Google Map to share with others as well as a GPX file for those with a unit. (Group ride coming up.)

    The greatest thing was searching Google to find out how to use Google Maps...and finding the best answers on ADVrider. :clap
    #20