Opened 13 years ago

Closed 9 years ago

#153 closed defect (wontfix)

GPX import requires the optional <time> on every trkpt

Reported by: Immanuel Scholz Owned by: Immanuel Scholz
Priority: major Milestone:
Component: api Version:
Keywords: Cc: A.Pirard@…


The GPX import script insert_gpx_files.rb requires the tag <time> 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 instead.


Change History (5)

comment:1 Changed 13 years ago by Immanuel Scholz

Owner: changed from steve@… to Immanuel Scholz
Status: newassigned

comment:2 Changed 13 years ago by Immanuel Scholz

Resolution: wontfix
Status: assignedclosed

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.

comment:3 Changed 9 years ago by A.Pirard@…

Cc: A.Pirard@… added

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>/<time>1969-07-21T02:56:00Z<\/time><\/trkpt>/g'

comment:4 Changed 9 years ago by A.Pirard@…

Resolution: wontfix
Status: closedreopened

Drawing your urgent attention.

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

comment:5 Changed 9 years ago by Tom Hughes

Resolution: wontfix
Status: reopenedclosed

Please don't reopen ancient tickets.

Note: See TracTickets for help on using tickets.