This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Faking missing timestamps of saved Garmin gpx-track

0

The OSM FAQ contains the following advice:

"If you can't get your GPX with timestamps with no mean, then you can use this command to fake them:

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

"

My question:

"Where do I enter this command?"

asked 09 Apr '12, 15:01

J%C3%BCrgen%20Frielinghaus's gravatar image

Jürgen Friel...
11223
accept rate: 0%

edited 09 Apr '12, 20:45

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866


2 Answers:

0

A web search suggests that it's referring to this. You'd enter the command at the command line in whatever operating system that your computer uses, but you'd need to install it first. The documentation suggests that the command might actually be "xml" rather than "xmlstarlet" for the current version.

answered 09 Apr '12, 20:51

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

0

This is a command entered into a command line interpreter - which is different depending on the Operating System type of your computer.

This FAQ section is probably written with the Linux OS in mind and is just a hint for more advanced users.

It is dependent on the xmlstarlet program being installed first - different procedures for different OS's.

If you're using Windows then running cmd.exe is possible to enable entering the commands, but the example in the FAQ may not work:

  • you'll probably have to enter the full path (folder) to reference the xmlstarlet (or xml) program
  • you'll need to know how to navigate the folder system to reference your gpx files.

I'll reword the FAQ.

answered 10 Apr '12, 00:09

robbieonsea's gravatar image

robbieonsea
90411325
accept rate: 16%