× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

jetlag

fingeradmin replied the topic: jetlag

11 years 7 months ago

Hi Sergio,

OK, i have that working here. You can use e.g. "titimeshift=2" to shift all the timestamps by 2 hours. Negative values also work. :)

(I finally found some time to actually work on the plugin today. If i can make it, i'll put up a new release tomorrow, otherwise i'll at least post a beta version here.)

cheers, Frank

Please Log in to join the conversation.

sergio replied the topic: jetlag

11 years 7 months ago

an option into the plugin ;)
it would be an improvement for the plugin

Last edit: 11 years 7 months ago by sergio.

Please Log in to join the conversation.

fingeradmin replied the topic: jetlag

11 years 7 months ago

Hi Sergio,

the plugin currently just reports the timestamps as they appear in the file - no calculation or conversion to/from UTC whatsoever is done.

Two options here:

- you can process the file with BaseCamp or a tool like GPSBabel and shift the timestamps as you need them. Both tools have functions for this.

- i could build an option into the plugin that would shift the timestamps in the plugin's output (something like "timeshift=-2").

The downside for the second option is: you need to specify this "shift" parameter for every track in the invocation code. From the information inside the GPX file, there is no way to tell how many hours your "jetlag" is (btw. nice name for this thread :) ).

What do you think?

cheers, Frank

Please Log in to join the conversation.

sergio created the topic: jetlag

11 years 7 months ago

Hi Franck

in my gpx i have UTC time
but there is an offset of two hours
can you fix this ?

cheers
Sergio

Please Log in to join the conversation.

Powered by Kunena Forum