ok, thank you for the answer. I wrote a short python script that parses xml and retrieves the data I need...

Robert Lipe <robertlipe@gpsbabel.org> wrote:
OK, that's two Google products using the gx:Track extension.  (Not being a MyTracks developer, I incorrectly looked at https://code.google.com/p/mytracks/source/browse/MyTracks/src/com/google/android/apps/mytracks/io/file/GpxTrackWriter.java when I should have been looking at https://code.google.com/p/mytracks/source/browse/MyTracks/src/com/google/android/apps/mytracks/io/file/KmlTrackWriter.java)   That's unfortunate, IMO.

I'd say the solution for those of you that care about interoperability is to get MyTracks to write GPX, not KML.


On Sat, Jul 6, 2013 at 5:17 PM, Alexey Korepanov <khumarahn@gmail.com> wrote:
hi.

here is a link to a kml file:
http://db.tt/u6MZWdWQ

I use arch linux that has version 1.4.2 at the moment.. but then I compiled version 1.4.4 and tried it and results were the same.

Thank you.


Robert Lipe <robertlipe@gpsbabel.org> wrote:
Brad, Google is a big company and they have lots of products that are written by different groups. 

Google Latitude History is known to use the funky KML extension gx:Track which isn't part of OGC KML and contains enough ambiguities that it's a problem for us to read, though we've been working on improving the framework that would make adding that easier.

MyTracks for Android seems to use good old standard KML if https://code.google.com/p/mytracks/source/browse/MyTracks/src/com/google/android/apps/mytracks/io/file/GpxTrackWriter.java is to be believed.  (Well, with a Topografix extension for color...)

Steve's call is the correct one - and the reason for the italicized text on http://www.gpsbabel.org/lists.html when joining this group.  Without seeing the KML, we're just guessing and that's not productive.  Please provide a complete reproductible test case, including data and version numbers of involved software.





On Sat, Jul 6, 2013 at 6:01 AM, Brad Rogers <brad@fineby.me.uk> wrote:
On Fri, 05 Jul 2013 18:21:44 -0500
Alexey Korepanov <khumarahn@gmail.com> wrote:

Hello Alexey,

>I tried running "gpsbabel -i kml -f 5-10-2013\ 6-35PM.kml -o csv -F -"
>and similar commands with various options, but had no luck so far.
>While this prints out beginning and end points of my hike, it ignores
>all intermediate points.

I'm no expert, but it sounds very similar to the issue gerlos asked
about on 28 Jun.  Robert explained that google don't use 'formal kml'
but their own extended version of it which gpsbabel doesn't support.  As
a result, you get next to nothing as output.

If I'm wrong, I'm sure Robert will be along to correct me.

--
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
I hope I live to relive the days gone by
Old Before I Die - Robbie Williams

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@lists.sourceforge.net
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc




This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev



Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@lists.sourceforge.net
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@lists.sourceforge.net
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc