ShutterRoute
Log in Create account

How to geotag photos: camera GPS, GPX tracks and maps

7 min read · Updated

To geotag photos, use one of three methods: let a phone or GPS-equipped camera record location as you shoot; record a GPS track while you shoot and match it to your photos by capture time; or place photos on a map by hand. For cameras without GPS, the track-matching method is the most accurate.

Which method should you use?

If you are new to the idea, what is geotagging explains what a geotag is and where it is stored. The right method depends mostly on what you shoot with.

Comparing the three ways to add GPS to photos
MethodBest forAccuracyEffort
Phone or camera GPSPhone photos; cameras with GPS or a phone linkWhere you stood, within the device's GPS accuracyNone after setup
GPS track + time matchingCameras without GPS, long walks, many photosWhere you stood, if clocks are alignedA few minutes per shoot
Manual placement on a mapA few photos, or fixing wrong locationsAs good as your memoryGrows with every photo

Method 1: phone or camera GPS

Phones geotag automatically once the camera app is allowed to use location.

Dedicated cameras vary. Some models have a GPS receiver built in; others can take location from a paired phone through the manufacturer's companion app over Bluetooth. Check your camera's manual for a GPS or "location information" setting. Built-in GPS and phone links both use battery, and a phone link only works while the app stays connected, so check a few photos after a long day before trusting it.

Method 2: GPS track and time matching

This is the standard way to add location to photos from a camera with no GPS. It works because every photo records the time it was taken, and a GPS track records where you were at each moment. Software looks up each photo's time in the track and writes the matching coordinates into the photo. When a photo falls between two track points, tools such as ExifTool interpolate the position between them.

  1. Check the camera clock. Set the date and time before you leave, or note exactly how far off it is. The next section explains why this matters.
  2. Start recording a track. Use a GPS logger, a GPS watch or a phone app that records a track in the background. Start it before your first shot and keep it running until after your last.
  3. Shoot as normal. The camera needs no settings changes and no connection to the phone.
  4. Export the track as GPX. GPX is the common format almost every geotagging tool reads. Read what is a GPX file if you want to know what it contains.
  5. Import photos and track into a geotagging tool. Lightroom Classic (Map module), ExifTool and digiKam all do this. Load the GPX file, select the photos and run the match.
  6. Review the result on a map. Photos should sit along the route in the order you took them.

In Lightroom Classic, for example, you load the track in the Map module and choose Map > Tracklog > Auto-Tag Selected Photos, as described in Adobe's Map module help. The full walkthrough for each tool is in geotag photos from a GPX file.

The camera clock and time zone pitfall

Almost every failed geotagging attempt comes down to time. GPS tracks record time in UTC. Most cameras record the local time shown on their clock, often without saying which time zone that is. If the two don't line up, photos land in the wrong place on the route, or match nothing at all.

Three things cause trouble:

Every serious tool lets you correct this. Lightroom Classic has Map > Tracklog > Set Tracklog Time Offset; ExifTool has the -geosync option, documented on its geotagging page; digiKam's correlator has its own offset settings.

Method 3: manual placement on a map

When you have no track, you can still add location to photos by hand:

Manual placement is quick for a single landmark and tedious for a 300-photo walk. It is also only as precise as your memory: fine for "the bridge", not for which side of the bridge. It is, however, the right tool for fixing the odd photo that a track match or a phone placed wrongly.

Can you geotag photos online?

Yes, with limits. In Google Photos on the web you can open a photo, click Info and choose Add a location, according to Google Photos help. Google notes that you can only edit locations it estimated or that you added yourself, not ones written by the camera. Flickr's Organizr also lets you drag photos onto a map.

The catch is that the location you add online may live only in that service's database. If you want the coordinates written into your original files, so they survive a move to another app, use a desktop tool such as Lightroom Classic, ExifTool or digiKam. Browser tools that rewrite EXIF also mean uploading your originals to someone else's server, which is worth considering for private photos.

Check the result and fix common problems

Questions

How do I add GPS to photos from a camera without GPS?
Record a GPS track on your phone or a GPS logger while you shoot, export it as a GPX file, and use Lightroom Classic, ExifTool or digiKam to match each photo's capture time to the track.
Why are my geotagged photos in the wrong place?
Almost always because the camera clock and the GPS track disagree. GPS tracks use UTC while cameras usually record local time, so set the correct time zone and any clock offset in your geotagging tool.
Can I geotag photos online?
Some services, such as Google Photos on the web and Flickr, let you add a location to photos you have uploaded. That location may be stored only in the service, so use a desktop tool if you want it written into the original files.
Is it better to geotag with a GPS track or manually?
A GPS track is more accurate and much faster for many photos, because every image is placed where you actually stood. Manual placement suits a few photos or correcting individual mistakes.

Record the route of your next photo walk

ShutterRoute logs a GPS track on your iPhone or Android phone while you shoot, even offline. Export it as GPX and geotag your photos at home — no account needed.

Get the app