[gdal-dev] ogr2ogr ignoring tracks, only converting paths

Manuel H. manuelhewitt at gmail.com
Sat Feb 8 14:55:22 PST 2020


It says it uses KML.
Well, I followed your links and the LIBKML driver seems to be abandoned for
many years. It's not worth it for me trying to set up a whole development
environment just for this.

Am Sa., 8. Feb. 2020 um 15:44 Uhr schrieb Even Rouault <
even.rouault at spatialys.com>:

> On samedi 8 février 2020 12:27:11 CET Manuel H. wrote:
> > Hi,
> >
> > I was attempting to simplify my Google Earth KML file and found ogr2ogr
> > mentioned on the internet.
> > When I run it through the program, ogr2ogr seems to ignore everything
> that
> > is a "Track" according to Google Earth. Only entries that are a "Path"
> are
> > converted. They are all GPS logs I collected over many years with
> different
> > devices. Most modern tracks have been collected with smartphones and they
> > are all ignored.
> >
> > Is there an easy way to prevent or circumvent this?
>
> Depends on which driver you use.
> The older KML driver (https://gdal.org/drivers/vector/kml.html)  has no
> support for tracks
> The newer LIBKML one (https://gdal.org/drivers/vector/libkml.html), based
> on
> libkml, has some support for tracks.
>
> Check the first line of "ogrinfo foo.kml"
>
> INFO: Open of `foo.kml'
>       using driver `LIBKML' successful.
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200208/a3cceabe/attachment.html>


More information about the gdal-dev mailing list