Hi,

I'm struggling to find a way of creating/editing GPX files for past and planned trips. Whilst there are many options to map locations as a track, none that I have found seem to include the facility to edit the dates/times easily. I have already drawn maps for most of my trips in Google Maps and exported the data to GPX files, so this gives me then where but not the when.

For example, for a trip to Argentina in 2001, the data (simplifying for the example) would be along these lines:

  1. London, 1/4/2001
  2. Sao Paulo, 2/4/2001
  3. Buenos Aires, 2/4/2001
  4. Bariloche, 7/4/2001
  5. Buenos Aires, 10/4/2001
  6. etc.

In some cases the place and date will be quite well defined, but many will be rather general, and that's fine for my purposes.

How can I edit my GPX files (preferably visually, on a map interface) to reflect dates/times when I was (or plan to be) in a specific location?

It just seems such an obvious thing to do?!?

Many thanks!

Stefan

asked 17 Dec '15, 18:08

Stefan%20Aalten-Voogd's gravatar image

Stefan Aalte...
40447
accept rate: 0%

1

This question doesn't seem to be related to OSM and seems off-topic (especially considering that the GPX files were created in Google Maps)

(17 Dec '15, 23:21) alester

alester, I added that I created these GPX files using Google Maps, but that is really by-the-by. The main question I'm asking (and hope that the OpenStreetMap forum is the right place to do so) is "how can I edit a map track [however it was created] to reflect not just the places but also the time/date".

(18 Dec '15, 10:03) Stefan Aalte...

GPX files are text files, you can edit them with any text editor ( I know that is not the map interface you ask for).

This is a fragment from a GPX file (waypoint file) from a Garmin Dakota 10. It represents 1 waypoint.

<wpt lat="51.162456" lon="3.578275">
<ele>1.713715</ele>
<time>2015-12-06T11:33:35Z</time>
<name>MB16-17</name>
<sym>Navaid, Green</sym>
</wpt>

Just edit the value after <time> to travel through time :-)

permanent link

answered 18 Dec '15, 04:59

escada's gravatar image

escada
18.8k16159301
accept rate: 21%

escada, many thanks and I can see how that would work, but it is not quite the easy solution I'm looking for.

Now, if I already had clear names for the various waypoints in my GPX files then it would be fairly straightforward, but as I said I have simply drawn the tracks on Google Maps, and this gives me data along these lines, with only lat and lon coords:

<trk> <name>Argentina (2001)</name> <trkseg> <trkpt lat="51.37830000" lon="-0.08412000"> <ele>0.0000000</ele> <time>2010-01-01T00:00:00Z</time> </trkpt> <trkpt lat="51.47069000" lon="-0.45387000"> <ele>0.0000000</ele> <time>2010-01-01T02:45:42Z</time> </trkpt> <trkpt lat="48.86426000" lon="2.350380000"> <ele>0.0000000</ele> <time>2010-01-02T13:57:14Z</time> </trkpt> Etc.!

(18 Dec '15, 09:58) Stefan Aalte...

You can use gpsbabel to tweak GPX files.
Additionally, you could convert the GPX to CSV, open this in a program like LibreOffice Calc or Excel and add times by using some calc skills (first timestamp, last timestamp, fill the rest).

permanent link

answered 19 Dec '15, 15:12

malenki's gravatar image

malenki
4.7k24683
accept rate: 6%

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

Question tags:

×448
×322
×230
×10
×4

question asked: 17 Dec '15, 18:08

question was seen: 3,373 times

last updated: 19 Dec '15, 15:12

powered by OSQA