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

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


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.

permanent link

answered 10 Apr '12, 00:09

robbieonsea's gravatar image

robbieonsea
90411325
accept rate: 16%

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.

permanent link

answered 09 Apr '12, 20:51

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

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:

×255
×84
×3

question asked: 09 Apr '12, 15:01

question was seen: 4,981 times

last updated: 10 Apr '12, 00:09

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