How to geotag photos: camera GPS, GPX tracks and maps
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.
| Method | Best for | Accuracy | Effort |
|---|---|---|---|
| Phone or camera GPS | Phone photos; cameras with GPS or a phone link | Where you stood, within the device's GPS accuracy | None after setup |
| GPS track + time matching | Cameras without GPS, long walks, many photos | Where you stood, if clocks are aligned | A few minutes per shoot |
| Manual placement on a map | A few photos, or fixing wrong locations | As good as your memory | Grows with every photo |
Method 1: phone or camera GPS
Phones geotag automatically once the camera app is allowed to use location.
- iPhone: Settings > Privacy & Security > Location Services > Camera, then choose While Using the App. Our iPhone location guide covers adding and editing locations in the Photos app.
- Android: turn on the location option in the camera app's settings. In Pixel Camera it is called Save location; on Samsung phones it is Location tags. Location must also be enabled for the phone.
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.
- 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.
- 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.
- Shoot as normal. The camera needs no settings changes and no connection to the phone.
- 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.
- 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.
- 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:
- Time zone. The tool has to know which zone the camera clock was set to. If you traveled and didn't change the camera, the offset is your home zone, not the local one.
- Daylight saving. A camera set in winter and used in summer is often an hour out.
- Clock drift. Camera clocks drift by seconds or minutes over months. On a walk, a minute of error can move a photo a long way down the street.
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:
- Lightroom Classic: in the Map module, find the place and drag photos from the Filmstrip onto the map.
- Apple Photos: open a photo's info, choose to adjust the location and search for a place. On a Mac you can select several photos and set one location for all of them at once.
- digiKam: the Geolocation Editor lets you drag images onto a map.
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
- No photos matched. The photo times fall outside the track. Check the time zone and that the track covers the whole shoot.
- Photos are shifted along the route. The offset is wrong by minutes or hours. Recalculate it with a clock photo.
- Some photos are missing locations. The track has a gap, for example when recording paused. Tools refuse to guess across long gaps; ExifTool's default limit is 30 minutes between points. Place those photos manually.
- Raw files look untagged in another app. Your tool may have written the location to an XMP sidecar or its catalog rather than into the raw file. Save metadata to file, or export with location included.
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