On mercredi 26 avril 2017 06:15:34 CEST Vlad wrote: > I have a collection of GPX files that have something like this... > > <trkpt lat="" lon=""> > <ele></ele> > <time>2016-08-15T10:48:20Z</time> > </trkpt> > > as the first element of a <trk><trkseg> section. It's probably put in there > on device initialization. When OGR (Ogrinfo and the Dataset/Datasource > Java classes) extract information, this trkpt is interpreted as having a > lat/lon of 0,0.
Vlad, I've just committed a patch to ignore such lat/lon with empty content in trunk and 2.2 branch, but note that such a GPX file doesn't validate the GPX XML schema. Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
