Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a GPS tracked stored in a GPX file. Now I'm looking for a tool that allows me to set the start time of the track and the duration, and the tool should automatically evenly distribute the appropriate timestamps for all my recorded points in the track.

The tool should be free and run on OSX.

share|improve this question
Can you tell us more about your software preferences? Do you want help writing a script to do this? If so, in what language(s)? Will the data be in a database (in that case ST_AddMeasure would work)? Do you just want a black box tool? –  katahdin Mar 6 '13 at 18:55
A blackbox tool is fine for me. The data is not in a database, just a plain GPX file. If I can't find a tool, I'll write a small script by myself, but I still hope that I can find such a tool. –  RoflcoptrException Mar 6 '13 at 19:47
I don't know of any such tool, but perhaps someone else on the site does. –  katahdin Mar 6 '13 at 19:53
add comment

1 Answer

You could try GPSBabel, with the faketime option. This will let you specify the timestamp for the first point, and set an increment for each subsequent point.

eg use a command like this:

gpsbabel -i gpx -f in.gpx -x track,faketime=f20100705200000+10 -o gpx -F out.gpx

Though I don't think there's any way of getting the duration of the track and setting the increment based on that. GPSBabel also has a move option, which will offset the timestamp on each point by a set amount.

Some more details on GPSBabel manipulate track lists

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.