Not only does your sample use GE specific extensions, it doesn't even use them according to the schema specified: http://www.google.com/kml/ext/2.2.  Does Google Maps Location History still produce kml like this?  If so a bug should be filed against Google Maps.

Within a track all the when elements need to appear before all the gx:coord elements:
  <complexType name="TrackType">
    <complexContent>
      <extension base="kml:AbstractGeometryType">
        <sequence>
          <element ref="kml:extrude" minOccurs="0"/>
          <element ref="kml:tessellate" minOccurs="0"/>
          <element ref="kml:altitudeModeGroup" minOccurs="0"/>
          <element ref="kml:when" minOccurs="0" maxOccurs="unbounded"/>
          <element ref="gx:coord" minOccurs="0" maxOccurs="unbounded"/>
          <element ref="gx:angles" minOccurs="0" maxOccurs="unbounded"/>
          <element ref="kml:Model" minOccurs="0"/>
          <element ref="kml:ExtendedData" minOccurs="0"/>
          <element ref="gx:AbstractTrackSimpleExtensionGroup" minOccurs="0"
            maxOccurs="unbounded"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

On 6/29/2013 4:13 AM, Robert Lipe wrote:
That file is not created using formal KML; it's using a Google Earth-specific extensions to KML that we can't read, so it's effectively an empty file for us.

If GPSVisualizer can read it, perhaps they can write it as OGC-standard KML which we can read.


On Fri, Jun 28, 2013 at 3:58 PM, gerlos <gerlosgm@gmail.com> wrote:

Il giorno 28/giu/2013, alle ore 21.11, gerlos ha scritto:

> Hello everyone!
> I'm new here. Just downloaded latest GPSBabel from the web (ver. 1.4.4), to convert a kml file to gpx.
>
> I want to use GPSPhotoLinker to geotag a bunch of photos, and have a kml file downloaded from my Google Maps Location History (see https://maps.google.com/locationhistory). GPSPhotoLinker needs a gpx file, so I tried to use GPSBabel to convert my kml file to gpx, but got no success.

Forgot to say 2 things:
- I'm using GPSBabel on Mac OS X 10.6.8
- Going to http://www.gpsvisualizer.com/convert_input and uploading the same file I got it converted fine to gpx. How do I get the same result running GPSBabel locally?

regards
gerlos

--
"Fairy tales are more than true, not because they tell us that dragons exist,
but because they tell us that dragons can be beaten."
                                        G. K. Chesterton
       <http://gerlos.altervista.org>
gerlos +- - - > gnu/linux registred user #311588


------------------------------------------------------------------------------
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