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

GPX failed to import - Reports >75% lacked a <time> tag #1600

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

GPX failed to import - Reports >75% lacked a <time> tag #1600

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: tommg
[Submitted to the original trac issue database at 3.41pm, Monday, 16th February 2009]

Tried to import the attached GPX but got an email back from the server saying the following:


Hi,

It looks like your GPX file

2009_02_14_19_08.gpx

with the description

Inverness

and no tags.

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.


This is not correct, as viewing the GPX file in Notepad clearly shows every trkpt has a tag

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 9.36pm, Monday, 16th February 2009]

It may have timestamps, but they aren't valid. The GPX format specifies that times should use xsd:datetime format, which is documented at http://books.xmlschemata.org/relaxng/ch19-77049.html but in summary they should look like this:

[-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]

which is nothing like the times in your file.

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