KML export to work around Google Earth GPX import bug with multiple tracks

Bug #438404 reported by Michael Hofmann on 2009-09-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igotu2gpx
Wishlist
Unassigned

Bug Description

I have a GT-200, I have 0.2.92 of this program installed and I am having problems viewing multipart tracks and way points in Version 5.1.3506.3999 (beta) of the Linux Google Earth.

When I view the GPX file with a text editor it has multiple tracks but GE will only display the first track or waypoint. It knows they are there, it just will not show them to me.

To get around the problem I can seperate the different tracks into multiple files or delete the lines that make it a multipart so the GPX file is a single track. The later is my preferred workaround as I down the track at the end of each day and just want one track of the entire day.

To see what I mean I have uploaded the original file and the altered file of Day 3 in Paris here:

http://tux.com.au/files/Paris_Day_3_orig.gpx
http://tux.com.au/files/Paris_Day_3.gpx

If I get the www.gpsvisualizer.com web site to convert the GPX file to a GE kmz file it all works perfectly. All tracks and all waypoints are shown in GE.

See for yourself here:

http://tux.com.au/files/Paris_Day_3_orig.kmz

Michael Hofmann (mh21) wrote :

Ok, I tested it a bit and it seems to be a bug in Google Earth. Multiple tracks import ok (they are placed in multiple folders), but only the tracks in the first folder are shown. You can cut-and-paste the tracks from the other folders in the parent folder or the first folder, and they will appear. It seems to have sth. to do with the <TimeSpan> tags for the folders that are created by GE which determines the first track.

So this is technically not a bug in igotu2gpx, although it makes importing tracks in GE harder than it needs to be. I think the solution will be to export directly to kml, which should work around the bug of the GE importer.

summary: - Multiple tracks in GPX should be one track with multiple segments
- instead
+ KML export to work around Google Earth GPX import bug with multiple
+ tracks
Changed in igotu2gpx:
importance: Undecided → Wishlist
status: New → Confirmed
Michael Hofmann (mh21) wrote :

I filed bug #441607 for the use-segments-instead-of-tracks feature, should be in the next RC.

Yeah, I just tried that on the Paris day 3 file, its one track with 4 segments and GE shows them all fine.

I use GPX editor to merge the 4 tracks with a ingle segment each into a single track with 4 segents and it opens in GE perfectly.

Michael Hofmann (mh21) wrote :

The use-segments-instead-of-tracks feature is committed and should be in the next RC. The option is in the preferences dialog, "Group exported trackpoints into: Tracks segments", or you can use it with "igotu2gpx dump --segments".

Michael Hofmann (mh21) wrote :

KML export is in the new devel version.

Changed in igotu2gpx:
milestone: none → 0.4.0
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions