Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › ExifTool

Geotag Photos from a GPX Track: Choose a Workflow and Match Times Correctly

By Freedom251 Team · · 4 min read

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To geotag photos from a GPX track, match each photo’s capture time to a time-stamped position in the track, correct any camera-to-GPS clock or time-zone offset, then write and verify the coordinates. ExifTool is a practical choice for batch edits; Lightroom Classic offers a map-based route, and Mapillary Tools is designed for imagery prepared for Mapillary.

What you need before matching photos to a track

A GPX file does not say which location belongs to which image. The geotagging software pairs the image’s capture time with a nearby, time-stamped track position; it may interpolate between track fixes. The result depends on the photo timestamps and track times lining up.

As an Amazon Associate I earn from qualifying purchases.

  • A time-stamped GPX track: Confirm that the file contains recorded positions with times, not just a route without timed fixes. GPX is a broadly useful exchange format; Mapillary’s guidance calls it the most standard option and recommends checking whether a device can export it (Mapillary’s separate-GPS-device guide).
  • Photos with usable capture times: Check that the image files have accurate capture-time metadata. Mapillary Tools documents matching with EXIF Date/Time Original or GPS Date/Time (Mapillary Tools README).
  • An accurate time relationship: GPS track times are UTC, while cameras often record local time. Know the camera’s time zone and whether its clock was set correctly; otherwise, determine the offset before writing coordinates.
  • Untouched originals: Keep a separate copy before batch-editing metadata so you can recover if the time offset or track selection is wrong.

Choose a geotagging workflow

Workflow Best fit Considerations
ExifTool Batch edits, automation, or a directory of images Command-line tool. Its documentation lists GPX and other track formats, including NMEA, KML, IGC, Garmin XML/TCX, and FIT. You need to handle time correction and file rewrite behavior.
Lightroom Classic Map module Photographers already managing images in Lightroom Classic A specialist guide describes loading a GPX file and tagging selected photos. Adobe’s current interface and exact steps are not established here, so check the documentation for the version you use before following a click-by-click guide.
Mapillary Tools Images being prepared for Mapillary Supports GPX matching and an interpolation time-offset option. This is a platform-oriented workflow, not a general photo-library catalog workflow; its documented image-time fields are Date/Time Original or GPS Date/Time.

For any tool, consider whether it writes coordinates into the image files or keeps edits in a catalog, how it handles time zones and offsets, what input formats it accepts, and how it protects originals. Do not assume one workflow is best for every library or operating system.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Geotag a small batch with ExifTool

ExifTool’s official documentation describes adding GPS tags from a GPS track log and supports GPX input. This example matches using the image’s EXIF CreateDate field:

#1 Best Overall
OBD GPS Tracker for Vehicles, No Monthly Fee, No Subscription
  • [NO MONTHLY FEE — 4G SIM & DATA INCLUDED] Pay once and track without a recurring subscription or activation fee. The built-in 4G SIM and data are included, so you can view vehicle location and activity in the TrackEase app or web dashboard. Coverage depends on local cellular availability.
  • [PLUG-AND-PLAY OBD POWER — NO CHARGING] Plug the tracker into a compatible vehicle’s OBD-II port—no wiring, tools, or battery charging required. It draws power from the vehicle and enters sleep mode after the engine is turned off for simple, set-it-and-forget-it tracking.
  • [REAL-TIME LOCATION & 180-DAY TRIP HISTORY] See live vehicle location with updates every 5 seconds while moving, then review up to 180 days of routes, stops, mileage, and driving activity in the iOS, Android, or web app.
  • [CUSTOM SAFETY & SECURITY ALERTS] Receive push notifications for speeding, vehicle movement, geofence entry or exit, and device disconnection. Use configurable alerts to monitor teen drivers, family vehicles, company cars, or potential theft.
  • [MULTI-VEHICLE MANAGEMENT & GLOBAL COVERAGE] Manage multiple VITALGLOW trackers from one account and keep each vehicle’s map, alerts, and trip history organized in one dashboard. Supported 4G service is available in 170+ countries and regions, including the U.S., Canada, and Mexico.
exiftool -geotag track.gpx "-geotime<createdate" -P image.jpg

Replace track.gpx and image.jpg with your paths. You can provide a directory instead of a single image to process a batch. The -P option preserves the file modification date during rewriting; without it, ExifTool updates that date. See ExifTool’s geotagging documentation for its supported options, time handling, and formats.

  1. Check timestamps first. Compare the photo’s capture time with the GPX track’s time range. Confirm the camera’s time zone and clock setting, and identify any known difference from GPS time.
  2. Test a few images. Include photos from the start and end of the track, as well as any taken around a clock adjustment or time-zone change. A short test makes a wrong offset easier to catch before a large write.
  3. Apply the known correction. ExifTool supports explicit time-zone values and Geosync for correcting clock differences. Mapillary Tools provides --interpolation_offset_time in seconds. Use a correction based on the actual camera/GPS difference rather than guessing.
  4. Write coordinates and inspect results. Check the metadata and map position of representative files before processing or uploading the rest. For JPG/JPEG uploads, Mapillary’s guidance requires GPS longitude and latitude in addition to the applicable capture-time metadata.

Why matching can fail or produce the wrong place

Every photo is displaced by roughly the same amount

A consistent shift usually points to a time-zone or camera-clock offset. Compare the EXIF capture time with the GPX timestamps and correct the known difference. Since GPS times are UTC and camera times may be local, applying a guessed offset can move every image to the wrong place.

Rank #2
Bouncie GPS Tracker for Vehicles with Real-Time Location | Route History, Speed Monitoring, Driving Insights, Geo-Fence, & Accident Notifications. No Contracts. Cancel Anytime.
  • Real-Time GPS Tracker Device for Vehicles — Ideal for personal use or fleet management, this car GPS tracker provides up-to-the-minute location updates. Our car tracking device also provides unlimited trip history, including a detailed route history
  • Driving Insights — Our OBD tracker for cars monitors speed, acceleration, hard braking, idle time, and more. This versatile family and fleet GPS tracker for cars also helps improve road safety by sending alerts in response to unsafe driving practices
  • Vehicle Health — Unlike other vehicle tracking devices, our car tracker device continuously monitors diagnostic engine data, alerting you to potential maintenance issues, so you can avoid downtime and keep fleet and family vehicles in peak condition
  • Geo-Fencing & Accident Detection — Set up geo-fences to receive notifications when your vehicle enters or exits designated areas; Equipped with advanced sensors and software, this vehicle tracker device instantly detects impacts and sends SMS alerts
  • Easy To Install & Low Monthly Subscription — Our OBD GPS tracker for vehicles plugs directly into OBD2 ports and works on most vehicles 1996 and newer; $9.65 monthly subscription required - no hidden activation or return fees - cancel anytime

Only some photos receive coordinates

Check for missing capture-time metadata, images taken outside the track’s recorded interval, and long gaps between track fixes. ExifTool interpolates linearly between track points, but its default maximum time distance is one half hour; its options let you configure this limit. A photo outside the usable interval or beyond the allowed gap may not get a position.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Coordinates are present, but the photos are far from the trip

Confirm that the GPX file is from the same trip and date. Then compare track timestamps with image metadata, checking for camera clock drift, a date rollover, or a time-zone interpretation error before rerunning the write.

Rank #3
Sale
Garmin GLO 2 GPS and GLONASS Receiver for Precise Position Information on Mobile Devices, Black
  • Connects wirelessly to your mobile device: iPad, iPhone and other Bluetooth enabled smartphones, tablets and laptops to provide precise position information
  • Combines GPS and GLONASS satellite receivers for precise location data with Bluetooth Wireless Technology
  • It has up to 13 hours of battery life to keep your position on long trips
  • Suitable for pilots, mariners, hiking, cycling and the automotive industry
  • Charge Garmin Glo 2 easily with the included USB cable or optional 12/24 V vehicle power cable

File modification dates changed

ExifTool updates FileModifyDate when rewriting files unless you use -P. This concerns the file’s modification date, which is distinct from the capture time used for matching.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If you still need to record a track

A phone with a GPS-tracking app or an external GPS device can record the route; confirm that the device or app exports GPX. Mapillary’s guide gives OsmAnd trip recording as an example. A dedicated GPS data logger is optional, not a requirement. For Mapillary Tools specifically, the relevant workflow is intended for imagery prepared for that platform rather than general photo-library cataloging.

Quick Recap

SaleBestseller No. 3
Garmin GLO 2 GPS and GLONASS Receiver for Precise Position Information on Mobile Devices, Black
Garmin GLO 2 GPS and GLONASS Receiver for Precise Position Information on Mobile Devices, Black
It has up to 13 hours of battery life to keep your position on long trips; Suitable for pilots, mariners, hiking, cycling and the automotive industry
$109.90

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

ExifToolgeotaggingGPSGPXphoto metadata

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.