How near to the photo time does the gpx log information need to be.
And can that tolerance be changed?
I ask because I have a 20 minute gap in one log (phone shut off?) and I didn't move much during that time and just wanted to open up the tolerance for one batch.
I can think of other work arounds, but this one would work for this case.
Thank you
The GeoMaxIntSecs and GeoMaxExtSecs API options control how far ExifTool will interpolate/extrapolate in a GPX file. Read here (https://exiftool.org/geotag.html#Options) for a description of the options.
By default, GeoMaxIntSecs is set to 1800, which is 30 minutes, so ExifTool should treat your GPX track with a 20-minute gap as one continuous track.
- Phil
Thank you Phil
I looked at another file and maybe the wrong time is being used. OM has these fields exiftool -a -u -g1 -s .../2024.09.17-14.52.53-35.gs.O.orf:
TimeZoneOffset : 7
DateTimeOriginal : 2024:09:17 14:52:53
CreateDate : 2024:09:17 14:52:53
OffsetTime : +07:00
OffsetTimeOriginal : +07:00
OffsetTimeDigitized : +07:00
DateTimeUTC : 2024:09:17 07:52:53
SubSecCreateDate : 2024:09:17 14:52:53+07:00
SubSecDateTimeOriginal : 2024:09:17 14:52:53+07:00
SubSecModifyDate : 2024:09:17 14:52:53+07:00
I have this track point in the log
<trkpt lat="48.294398" lon="89.599159">
<ele>2115.0</ele>
<time>2024-09-17T07:53:23Z</time>
</trkpt>
The error I'm getting is this
Task Terminated with exit code 1
Warning: Time is too far from nearest GPS fix 9299 1800 in File:Geotime (ValueConvInv) - /.../2024.09.17-14.52.53-35.gs.O.orf
Warning: No writable tags set from /.../2024.09.17-14.52.53-35.gs.O.orf
Is something else going wrong? I'm on macOS Sequoia and I have been having an issue with path to files in iCloud, so maybe a problem there.
I name the files based on the local time.
From the docs on geotime (https://exiftool.org/geotag.html#geotime)
QuoteIf a value for Geotime is not given, it is taken from unformatted value of DateTimeOriginal for each image (as if "-Geotime<DateTimeOriginal#" had been specified)...
So, the track as a time of
2024-09-17T07:53:23Z, but exiftool is using the
DateTimeOriginal of
2024:09:17 14:52:53, which does not include the time zone.
Try adding
"-Geotime<SubSecDateTimeOriginal"as the
SubSecDateTimeOriginal does include the time zone, which allows exiftool to adjust to the UTC time of the track.