NOTICE: 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= -N y= \
    -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...
accept rate: 0%

edited 09 Apr '12, 20:45

SomeoneElse's gravatar image

SomeoneElse ♦

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 ♦
accept rate: 16%

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

accept rate: 16%

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 09 Apr '12, 15:01

question was seen: 4,825 times

last updated: 10 Apr '12, 00:09

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