Image::ExifTool::Geotag(3p)

NAME
Image::ExifTool::Geotag - Geotagging utility routines

SYNOPSIS
This module is used by Image::ExifTool

DESCRIPTION
This module loads GPS track logs, interpolates to determine position based on time, and sets new GPS values for geotagging images. Currently supported formats are GPX, NMEA RMC/GGA/GLL/GSA/ZDA, KML, IGC, Garmin XML and TCX, Magellan PMGNTRK, Honeywell PTNTHPR, Bramor gEO, Winplus Beacon text, Garmin FIT, GPS/IMU CSV, DJI/Columbus/ExifTool CSV format and 3 different Google JSON formats. As well, ExifTool can geotag from any supported file or set of files containing GPS metadata provided that GPSDateTime, GPSLatitude and GPSLongitude are available.

Methods in this module should not be called directly. Instead, the Geotag feature is accessed by writing the values of the ExifTool Geotag, Geosync and Geotime tags (see the Extra Tags in the tag name documentation).

NOTES
To take advantage of attitude information in the PTNTHPR NMEA sentence, the user-defined tag GPSRoll, must be active.

AUTHOR
Copyright 2003-2026, Phil Harvey (philharvey66 at gmail.com)

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

REFERENCES

<http://www.topografix.com/GPX/1/1/>
<http://www.gpsinformation.org/dale/nmea.htm#GSA>
<http://code.google.com/apis/kml/documentation/kmlreference.html>
<http://www.fai.org/gliding/system/files/tech_spec_gnss.pdf>

ACKNOWLEDGEMENTS
Thanks to Lionel Genet for the ability to read IGC format track logs.

SEE ALSO
"Extra Tags" in Image::ExifTool::TagNames, Image::ExifTool(3pm)