This format can...
read and write waypoints
This format has the following options: filename, frame, name, overwrite, offset .
This format reads and writes GPS information embedded in EXIF, the Exchangeable Image Format, data. EXIF is a standardized method of encoding data in pictures such as JPEG, TIFF, and WAV and is frequently used by mobile phones with cameras and cameras with built-in GPS.
EXIF is frequently used for Geolocating photographs so their images can be correlated with time and location.
Set waypoint name to source filename.
With this default option waypoint names are generated from source filename.
gpsbabel -i exif -f "C:\Pictures\IMG_1199.JPG",filename=Y -o gpx -F OUT.GPX
The resulting waypoint in OUT.GPX has name IMG_1199.
Time-frame (in seconds).
Frame means the maximum time difference that we accept between the EXIF time information of a picture and the timestamp of a track-, route- and waypoint used for tagging. Without this option the maximum time frame is 10 seconds.
gpsbabel -i gpx -f holiday.gpx -o exif,frame=60 -F IMG0784.JPG
If the camera time wasn't adjusted, you should use the offset option. You may also need to use the frame option, or the interpolate filter.
Locate waypoint for tagging by this name.
When you specify a name with this option we're looking for a waypoint with this name. And, if found, the GPS information of this point is used for tagging the image file.
gpsbabel -i gpx -f holiday.gpx -o exif,name="On the beach" -F IMG0786.JPG
!OVERWRITE! the original file. Default=N.
In the default case GPSBabel reads the output file (the file that should be tagged with GPS information) and then creates a new file with an additional .JPG extension. With this option in a final step the original file will be deleted and the new file renamed as the original filename.
Image Offset Time (+HH:MM or -HH:MM).
Uses the given value instead of the value from the tag OffsetTime, OffsetTimeOriginal or OffsetTimeDigitized. This is useful when the image doesn't contain an OffsetTime* tag and the offset is different from the local time, or when the image contains a tag that is incorrect. The format of this option should match that of the tag OffsetTime*, specifically it must be "+HH:MM" or "-HH:MM".
If the camera was using China Standard Time, e.g. in the winter in Taiwan, then you should supply
an offset of "+8:00".
gpsbabel -i gpx -f holiday.gpx -o exif,offset=+08:00 -F IMG0784.JPG