*

It is currently Wed May 22, 2013 2:27 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Editing GPX files to show local time?
PostPosted: Thu Jun 14, 2012 9:12 am 
Offline

Joined: Tue Mar 02, 2010 2:56 pm
Posts: 169
Back to this long running but (for me) still inconclusive discussion.

Richard (rgphilpott): You seemed to provide the definitive answer I'd been seeking. If I understood correctly you said that I could change Mem-Map's behaviour by editing the GPX file, replacing all lines like "2011-10-05T08:46:54Z" with "2011-10-05T09:46:54+01:00".

Richard (USmmtech): You appeared to confirm that.

However, I just made that global replacement to a sample GPX file, but hovering over the track still shows the original times, not one hour later.

If it helps, here's the start of the revised GPX file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<gpx version="1.1"
creator="Memory-Map 5.4.2.1089 http://www.memory-map.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/1"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<trk>
<name>20110730-C2C-Day6</name>
<type>C2C ALL:C2C Actual</type>
<trkseg>
<trkpt lat="54.5554591497" lon="-2.7412378311"><ele>192</ele><time>2011-07-30T08:11:27+01:00</time></trkpt>
<trkpt lat="54.5550938288" lon="-2.7407826742"><ele>182</ele><time>2011-07-30T08:17:13+01:00</time></trkpt>
etc

I've duplicated this post here as well as the original discussion at
viewtopic.php?f=29&t=2092&p=17451#p17451
as I think it's rather more general than a Mobile Device > GPS topic.

--
Terry, East Grinstead, UK


Top
 Profile  
 
 Post subject: Re: Editing GPX files to show local time?
PostPosted: Thu Jun 14, 2012 11:05 am 
Offline

Joined: Tue Mar 02, 2010 2:56 pm
Posts: 169
Edit: I was mistaken. The current PC time factor must have confused me. I've now repeated several tests and summarise the results as follows:

GPX #1, walk in winter, start = 09:12 local time. Actual 1st trackpoint time in file = 09:12. Displayed by MM as 10:12 (incorrect). After global replacement = 09:12 (correct).

GPX #2, walk in summer, start 09:25 local time. Actual 1st trackpoint time in file = 08:25. Displayed by MM as 09:25 (correct). After global replacement = 08:25 (incorrect).

If I was doing this test late in the year (back on GMT instead of BST) then those results would be reversed.

On balance, reckon I'll stick with taking photo of a clock or my watch near the start of every walk. The combinations of walk date (winter, summer), location (UK, Europe, USA, etc) and the current PC Date/Time make it all too much of a PITA!

A wizard in MM might sort it, but I won't hold my breath.

--
Terry, East Grinstead, UK


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group