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

GPX import requires the optional <time> on every trkpt #153

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

GPX import requires the optional <time> on every trkpt #153

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

Comments

@openstreetmap-trac
Copy link

Reporter: immanuel.scholz[at]gmx.de
[Submitted to the original trac issue database at 3.19pm, Wednesday, 29th March 2006]

The GPX import script insert_gpx_files.rb requires the tag on every trackpoint. This tag is optional in the GPX specification. The server should not depend on the time to be set.

As example, it could use the file's global time for every trackpoint if present. If no time is present, it could use Time.now() instead.

Imi.

@openstreetmap-trac
Copy link
Author

Author: immanuel.scholz[at]gmx.de
[Added to the original trac issue at 11.44am, Saturday, 1st April 2006]

Clarified with Steve and:

Time is required for the Server to enable some nice stuff like acceleration calculation etc. You can still upload files without time, however they will not get imported to the trackpoint table.

@openstreetmap-trac
Copy link
Author

Author: A.Pirard[at]ulg.ac.be
[Added to the original trac issue at 11.29am, Saturday, 14th August 2010]

Requiring time tags for still objects is like requiring to number houses with minutes.
No I could not upload files without time, they get deleted and I even receive an e-mail.
So, I have uploaded a file with handmade, dummy time tags, all the same value.
BEWARE if you do nice calculation with that, INFINITE SPEED WILL RESULT !!!
And, whatever the mass, INFINITE ENERGY. The whole earth will explode !!!

OK, OK, but the reasoning is perfectly correct.
Time tags for roads have no meaning, just for the objects moving on them, the GSM in fact.
And the walking, running, biking or driving speed of the tracker is pointless on a map.

So, why trying to be a senseless pest to those who own timeless tracks?
They will have to fake time anyway, so why not let OSM do it?

Patch: sed 's/</trkpt>/1969-07-21T02:56:00Z</time></trkpt>/g'

@openstreetmap-trac
Copy link
Author

Author: A.Pirard[at]ulg.ac.be
[Added to the original trac issue at 11.35am, Saturday, 14th August 2010]

Drawing your urgent attention.

My area is without OSM data.
I hope to find and add it.
Without meeting a refusal.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 6.22pm, Saturday, 14th August 2010]

Please don't reopen ancient tickets.

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