ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: l on September 04, 2016, 08:43:24 AM

Title: Geotagging with drift correct and writing corrected time back to files
Post by: l on September 04, 2016, 08:43:24 AM
Hi all

I'm trying to do geotagging with a high degree of accuracy. I have GPX tracks with positions recorded in one second intervals. Specifically, I want to achieve the following goals:

I have the following draft for a command:

exiftool                                                    \   
   -v2                                                      \   
   -api GeoMaxIntSecs=1                    `# goal 3`       \   
   -api GeoMaxExtSecs=1                    `# goal 3`       \   
   -geosync='06:40:10@2016:06:29 06:40:22' `# goal 1`       \   
   -geosync='09:20:54@2016:06:30 09:21:30' `# goal 1`       \   
   -'Geotime<${CreateDate}+05:30'          `# set timezone` \
   -geotag 'track.gpx'                                      \
   -'AllDates<${CreateDate}'               `# goal 2`       \
   -overwrite_original mypics/


My questions:

Thank you for your help.
Title: Re: Geotagging with drift correct and writing corrected time back to files
Post by: Phil Harvey on September 05, 2016, 08:19:38 AM
Well done.  You've got goals 1 and 3 correct.  For goal 2, I would recommend copying GPSDateTime back to another date/time tag in a second command (this is the only date/time that will be drift corrected by the -geotag option).  If you write to an EXIF tag, you will have to correct for time zone (you can use the -globalTimeShift option for this).

- Phil