[gdal-dev] OGR support for Google Latitude KML output
Ulrich Strötz
ustroetz at gmail.com
Thu Dec 4 15:11:44 PST 2014
Thanks Even for getting on this so quickly!
I built GDAL from source after you committed your changes, though I still only get the start and end point.
Did you try it with my sample file?
Thanks,
Uli
> On Dec 4, 2014, at 10:07, Even Rouault <even.rouault at spatialys.com> wrote:
>
> Le mercredi 03 décembre 2014 19:53:44, Ulrich Strötz a écrit :
>> Hi everyone,
>>
>> I am trying to use ogr2ogr with a KML file generated by Google My Tracks
>> <https://play.google.com/store/apps/details?id=com.google.android.maps.myt
>> racks&hl=en>.
>>
>> There was a ticket #5095 <http://trac.osgeo.org/gdal/ticket/5095> about
>> this which is marked as fixed, but it still does not work properly.
>>
>> I use GDAL 1.11.1, released 2014/09/24 and the following command:
>> ogr2ogr -f "GeoJSON" out.geojson in.kml
>>
>> It does create only the start and end points of the track, but not the
>> points in between.
>>
>> The sample file can be found here.
>> https://www.dropbox.com/s/ilafup4m0vcvmxj/in.kml?dl=0
>> <https://www.dropbox.com/s/ilafup4m0vcvmxj/in.kml?dl=0>
>>
>> Any help on how to get this to work is appreciated.
>
> Ulrich,
>
> Ticket 5095 was about gx:Track, but the geometry in your file is a
> gx:MultiTrack. I've just added support for the later in the LIBKML driver in
> GDAL trunk.
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
More information about the gdal-dev
mailing list