Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Anonymous Timestamps + Elevation in gpx-File causes GPX Import Failure #3548

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: magic_doc
[Submitted to the original trac issue database at 10.24am, Friday, 18th February 2011]

I always used the anonymous-timestamp-function in the gpxedit-plugin in JOSM and uploaded many tracks without issues.

Now my GPS-Software started adding elevation-tags in the tracks like this:

1970-00-00T00:00:00.000Z
    <ele>41.00</ele>

Uploading that track causes the following error:

failed to import. Here's the error:

Found no good GPX points in the input data. At least 75% of the trackpoints lacked a tag.

which is of cause not correct!
When I remove all lines with the Elevation-Tag, that it looks like this here:

1970-00-00T00:00:00.000Z

then the import works flawlessly.

@openstreetmap-trac
Copy link
Author

Author: magic_doc
[Added to the original trac issue at 4.35pm, Friday, 18th February 2011]

sorry my failure- the problem was not the -Tags but the invalid date-format produced by the editgpx-Plugin in JOSM:
substituting

1970-00-00T00:00:00.000

by

1970-01-01T00:00:00.00

does the trick!

So it is no OSM-related issue I must contact the author of the plugin!

@openstreetmap-trac
Copy link
Author

Author: sly
[Added to the original trac issue at 9.17pm, Sunday, 8th May 2011]

After a bit of digging, I re-open this bug as the syntax YYYY-MM-DDThh:mm:ss.fffz for the gpx time tag is possible.

Of course, in the osm context milliseconds are irrelevant, but since it is supported by the gpx specs, some gpx generator might add millisecond and cause the gpx import to fail.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 1.39pm, Sunday, 28th August 2011]

This was fixed some time ago.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant