Author Topic: 10 years offset in Canon EOS 1Dxmk2 GPS Logs  (Read 7401 times)

Offline La Jobe

  • Newcomer
  • *
  • Posts: 10
    • View Profile
10 years offset in Canon EOS 1Dxmk2 GPS Logs
« on: April 30, 2018, 08:20:13 AM »
Hi,
I shoot with 4 EOS 1D but only one has GPS log features.
I need to GPS tag all my photos, so the 1DXmk2 records GPS position and I save it to its card.

When I try to plot these files, they seem to be 10 years in advance (PM understand them in 2028).

Here are the first 10 lines of a GPS positions recorded on April 20, 2018 :

Code: [Select]
@CanonGPS/ver1.0/wgs-84/Canon EOS-1D X Mark II/053011002006/0078
$GPGGA,033828.000,1304.7266,S,03147.4268,E,1,11,0.8,545.0,M,,,,0000*16
$GPRMC,033828.000,A,1304.7266,S,03147.4268,E,,,200418,,,A*74
$GPGGA,033909.187,1304.7325,S,03147.4173,E,1,04,1.8,534.0,M,,,,0000*16
$GPRMC,033909.187,A,1304.7325,S,03147.4173,E,,,200418,,,A*77
$GPGGA,034008.733,1304.7365,S,03147.4128,E,1,04,1.8,533.0,M,,,,0000*1D
$GPRMC,034008.733,A,1304.7365,S,03147.4128,E,,,200418,,,A*7B
$GPGGA,034109.054,1304.7351,S,03147.4187,E,1,05,1.5,533.0,M,,,,0000*15
$GPRMC,034109.054,A,1304.7351,S,03147.4187,E,,,200418,,,A*7F
$GPGGA,034211.392,1304.7200,S,03147.4259,E,1,11,0.8,555.0,M,,,,0000*1A

How can I proceed to GPS tag my non tagged photos shot with the older EOS 1D ?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #1 on: April 30, 2018, 09:00:05 AM »
Hi,
I shoot with 4 EOS 1D but only one has GPS log features.
I need to GPS tag all my photos, so the 1DXmk2 records GPS position and I save it to its card.

When I try to plot these files, they seem to be 10 years in advance (PM understand them in 2028).

Here are the first 10 lines of a GPS positions recorded on April 20, 2018 :

Code: [Select]
@CanonGPS/ver1.0/wgs-84/Canon EOS-1D X Mark II/053011002006/0078
$GPGGA,033828.000,1304.7266,S,03147.4268,E,1,11,0.8,545.0,M,,,,0000*16
$GPRMC,033828.000,A,1304.7266,S,03147.4268,E,,,200418,,,A*74
$GPGGA,033909.187,1304.7325,S,03147.4173,E,1,04,1.8,534.0,M,,,,0000*16
$GPRMC,033909.187,A,1304.7325,S,03147.4173,E,,,200418,,,A*77
$GPGGA,034008.733,1304.7365,S,03147.4128,E,1,04,1.8,533.0,M,,,,0000*1D
$GPRMC,034008.733,A,1304.7365,S,03147.4128,E,,,200418,,,A*7B
$GPGGA,034109.054,1304.7351,S,03147.4187,E,1,05,1.5,533.0,M,,,,0000*15
$GPRMC,034109.054,A,1304.7351,S,03147.4187,E,,,200418,,,A*7F
$GPGGA,034211.392,1304.7200,S,03147.4259,E,1,11,0.8,555.0,M,,,,0000*1A

How can I proceed to GPS tag my non tagged photos shot with the older EOS 1D ?

Can you post the entire log?

Thanks,

-Kirk

Offline La Jobe

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #2 on: May 01, 2018, 02:50:42 AM »
Hi Kirk,
thanks for your reply,
attached is the complete log file :

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #3 on: May 01, 2018, 08:10:33 AM »
Thank you, I will look into why it is getting the year wrong.

-Kirk

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #4 on: May 01, 2018, 05:02:21 PM »
Your log is in too new of a format for our parser (an older version of GPSBabel) to handle.  We will address this in PM6.

-Kirk

Offline La Jobe

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #5 on: May 02, 2018, 02:51:23 AM »
Thank you Kirk,
is there a way (on Mac) to translate this log to an older version handled well with PM5 ?

Wish you good luck and successful work for PM6 !

P.S. : A PM6 interesting feature would be to automatically include position to photos without GPS coordinates with estimated coordinates calculated between the 2 closest surrounded GPS located photos (ordered by capture time, of course).

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #6 on: May 02, 2018, 08:16:19 AM »
is there a way (on Mac) to translate this log to an older version handled well with PM5 ?

If you were to open up the log in a plain text editor and use find and replace to find:

A*

with

*

and then save the file, I believe that PM should be able to handle the file.

P.S. : A PM6 interesting feature would be to automatically include position to photos without GPS coordinates with estimated coordinates calculated between the 2 closest surrounded GPS located photos (ordered by capture time, of course).

Please see: http://wiki.camerabits.com/en/index.php/User_Manual_Flat_View#Importing_GPS_Coordinates

Allow matches within gaps in log: allows Photo Mechanic to ‘interpolate’ locations between two GPS coordinates. If this checkbox is turned off then only GPS coordinates with time matches within the time range specified will be used and some photos will not receive GPS coordinates.

HTH,

-Kirk

Offline La Jobe

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #7 on: May 02, 2018, 10:58:18 AM »
Thanks Kirk, I'll try the search&replace trick and try tonight.

I know (and use) the 'interpolate' checkbox on the import coordinates page. But, this only works with GPS log files import.
What I'm asking for, is a feature who would interpolate coordinates based on real coordinates already belonging to other photo files… Without handling log files, but just to automatically fill the gaps of unlocated photos between located photos. We could have the choice to 'stick at location of the closest tagged photo' or to 'interpolate location between the previous and following tagged photos'.

Thanks
__
Chris

Offline La Jobe

  • Newcomer
  • *
  • Posts: 10
    • View Profile
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #8 on: May 02, 2018, 11:11:32 AM »
Saddly, replacing 'A*' by '*' in the log files gives me a parse error.
I've also tried to replace ',A*' by ',*' with same result.

I finally succeeded using http://www.gpsvisualizer.com/convert to convert all my log files to one big GPX file.  :)
« Last Edit: May 02, 2018, 11:45:09 AM by La Jobe »

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: 10 years offset in Canon EOS 1Dxmk2 GPS Logs
« Reply #9 on: May 02, 2018, 01:36:12 PM »
Excellent.  I'm glad you found a solution.

-Kirk