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
17.8k39153379


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.

link

answered 10 Apr '12, 00:09

robbieonsea's gravatar image

robbieonsea
82911222
accept rate: 18%

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.

link

answered 09 Apr '12, 20:51

SomeoneElse's gravatar image

SomeoneElse
17.8k39153379
accept rate: 12%

Your answer
toggle preview

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

Tags:

×123
×52
×2

Asked: 09 Apr '12, 15:01

Seen: 1,675 times

Last updated: 10 Apr '12, 00:09

powered by OSQA