NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, I have a problem in exporting my GPX file in openstreetmap : 2 minutes after sending the file, i got this in my mailbox

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

I checked the file, and there is actually no <time> tag.
Here is what my file looks like:

alt text

Is anybody has the same problem ?

Thanks.

PS: I did some researches and I went on this link : https://bitbucket.org/lawgon/osmindia/src but i wasn't able to run the scrpit (it tells me : "bogustimestamp takes precisely 3 parameters, you have given 1 parameters")

asked 09 Jan '11, 15:38

Bastoche's gravatar image

Bastoche
46113
accept rate: 0%

edited 09 Jun '11, 10:13

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128


Hi! Looks like you used expertgps to create the gpx. Never just that software myself but I googled and I would be surprised if it is not able to convert keeping the timestamps. Try to search here: http://www.expertgps.com/support.asp

You could also try to use the editgpx plugin in JOSM. It allows for editing gpx and saving as anonymised time-stamps. Possibly it can also genereta the time-stamps when missing. See here: http://wiki.openstreetmap.org/wiki/JOSM/Plugins/EditGpx

Happy mapping!

permanent link

answered 27 Jan '11, 21:10

geolr's gravatar image

geolr
7015
accept rate: 0%

I know this is an old question, but for others who need a solution, I have been working on a tool that will add timestamps to GPX files. It tries to preserve most of the GPX data, and lets you set a start time and an average speed:

http://gotoes.org/strava/Add_Timestamps_To_GPX.php

permanent link

answered 22 May '15, 07:46

fulmar2's gravatar image

fulmar2
4212
accept rate: 0%

This fixes the error if you want to import a gpx manually created, in the Garmin Connect application !!! Fixes! Fixes! Fixes! Thanks! Thanks! Thanks!

ps. Is possible to set the start and the end point?

(06 Aug '17, 09:32) Tarta

This is because OSM requires a timestamp for all nodes in the GPX trace file. Why it is missing in your case depends on the tool you locally used with your GPS to generate this file. Sometimes it is a simple configuration hint to add the timestamp, sometimes it is not possible. A popular tool to generate GPX files for OSM is 'gpsbabel', you may have a look there.
I also found a Python script which may help you fixing this issue at this address.

About the reason why the timestamp is required , I will quote Andy Robinson from the mailing-list : "The reason it's required is that it reduces the temptation for individuals to upload data in the GPX format that has not been gathered by a GPS. Of course that's not foolproof and it's not intended to be."

permanent link

answered 11 Jan '11, 12:53

Pieren's gravatar image

Pieren
9.8k2083157
accept rate: 15%

"OSM requires a timestamp"

why? my tracks come from the software without timestamp and set the privacy settings, too close to publish without time ... it is not a good idea to have any gpx edit again

mfg jens

(04 Jul '13, 22:07) Jens_999
2

Requiring timestamps makes it more likely that the track is actually from a GPS device. And not just traced from Google Maps, or some other copyright source.

If you are concerned about privacy, then you can adjust the visibility of your GPS traces. http://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces ie set them as trackable, then they won't be linked to your account.

Or if you are really concerned about privacy, then don't upload any GPS tracks to OSM. You can still use them for editing the map - eg JOSM and ID allow you to load GPX files from your PC.

(05 Jul '13, 00:59) Vclaw
2

...and P2.

(05 Jul '13, 07:11) Richard ♦

The GPS device i use is the "Tomtom Rider". I can't make the script work, i will try later, but by adding the timestamp by hand, it gave me a trace on OSM map.
Thanks for your help anyway Pieren !

permanent link

answered 12 Jan '11, 18:28

Bastoche's gravatar image

Bastoche
46113
accept rate: 0%

edited 12 Jan '11, 18:31

You can send me your GPX and I'll test and fix the "script".

(27 Jan '11, 18:47) Martin

It works perfectly with xmlstarlet , thanks !

(09 Feb '11, 12:53) Bastoche

With xmlstarlet you can add default timestamps:

xmlstarlet ed -N x=http://www.topografix.com/GPX/1/0 -s '//x:trkpt' -t elem -n time -v 1970-01-01T00:00:00Z track.gpx > track-nulltime.gpx

permanent link

answered 17 Jan '11, 19:53

Martin's gravatar image

Martin
75226
accept rate: 0%

you can inspect or open a gpx file with windows note pad or a linux text editor, i've tried this on a windows tower system and a ubunto net book,These will then display type software that was used to create it and some other header info followed by a list of latitudes, longitudes,the date, the time when at that point,over and over again.I have set my garmin vista to one every second.I have downloaded and looked at someone else trace to compare to mine and theirs had the gps model in the header.I looked at some of my traces and found out where I was three years ago to the second.Osm needs the time stamps to prove they are genuine surveys.Hopefully you can read a problem or rejected trace and get a clue to what wrong.

permanent link

answered 15 Jan '11, 02:29

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×293
×255
×29

question asked: 09 Jan '11, 15:38

question was seen: 25,068 times

last updated: 04 Aug '21, 06:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum