

I personally assign the closest coordinate within 2 minutes to a photo, so I use "GeoMa圎xtSecs=120". guess the coordinate of a photo if none are available for that exact time), and "GeoMa圎xtSecs=SS" tells it to use the closest coordinate in time at a maximum of "SS" seconds from the photo.

Finally, "GeoMaxIntSecs=0" tells exiftool NOT to interpolate coordinates (i.e. a photo taken at 9pm in Germany will match the coordinates recorded at 7pm UTC). For example, in summer Germany is UTC+02:00 - if I have corrected my photos to have the correct German time, I need to tell exiftool that the GPS coordinate times will be 2 hours behind (e.g. Assuming the times corresponding to their coordinates are in UTC (they usually are), switch "+HH:MM" out for the UTC timezone of the camera.
#Exiftool geotag multi .gpx files to photos full#
gpx, etc., full list here) in /GPSFILES/. This will geotag all photos in the current directory with the closest GPS coordinate in time. exiftool -geotag '/GPSFILES/*' '-geotime<$+HH:MM' -api GeoMaxIntSecs=0 -api GeoMa圎xtSecs=SS * The "_00" at the end is a sequential number for when you take burst photos with the exact same time. This takes all the photos from /SOURCEDIR/ and moves them into /OUTPUTDIR/ in the following format: 2020/-04-31_140426_00.JPG. exiftool -r -P -progress -d /OUTPUTDIR/%Y/%m/%d/%Y-%m-%d_%H%M%S%%+.2c.%%e "-filename
