
To geotag photos, you need coordinates and a way to attach them to each file. There are four ways to get them: a camera with built-in GPS, a phone paired to the camera, a GPS track log matched to your photos by time afterwards, or placing photos on a map by hand. The track log method works with any camera, but only if the camera clock is right or you correct the offset.
What geotagging actually writes into a photo
A geotag is just a few fields of photo metadata stored inside the file, or in a sidecar file beside it. Nothing about the pixels changes. Understanding which fields exist makes every method below easier to follow, because every method ends by writing the same fields.
- GPS coordinates. Latitude and longitude, stored in the EXIF data of the file, with a reference letter for north or south and east or west. Most software shows them as decimal degrees, such as 49.28270, -123.12070.
- Altitude. Height above sea level in metres. Often present, often inaccurate, because GPS is weaker at height than at position.
- GPS time stamp. The time of the fix in universal time (UTC). Useful later for checking that a photo and its location really belong together.
- Direction. Some phones and cameras record which way the lens was pointing, from a compass. Treat it as approximate; compasses are easily thrown off by metal and electronics.
- Place names. Separate, human-readable fields: sublocation, city, state or province, country and country code. These are IPTC fields, not GPS fields, and they hold words, not numbers.
The coordinates and the place names are independent. A photo can have coordinates and no city, or a city and no coordinates. Software that fills in the place names from the coordinates is doing reverse geocoding: it looks the point up in a map database and writes back the nearest town, region and country. That is handy, but check it at borders, on coasts and in rural areas, where the nearest named place may be somewhere you never went.
For raw files, many photo managers write the location into a small sidecar file next to the raw instead of changing the raw itself. Keep sidecars with their raws when you move or back up your photos, or the location goes missing.
The four ways to get coordinates
1. A camera with built-in GPS
The camera finds its own position and writes it into every frame as you shoot. It is the simplest method when it works. The costs are battery life, because the receiver draws power and some cameras keep logging while switched off, and the time it takes to get a first fix. A receiver that has been off for a while, or has moved a long way since it was last used, can take a minute or more under open sky to find its position. Frames taken before the fix either get no location or, worse, the last known one.
Check the first few frames of each outing. If they show the hotel or the airport, the camera wrote a stale fix.
2. A phone paired to the camera
Many cameras can connect to a phone app over a low-power wireless link and borrow the phone’s position. The camera asks the phone where it is and writes that into each frame. It saves buying anything, and the phone usually has a better fix than a camera would, because it also uses cell towers and wifi to speed things up.
The weak point is the connection. Phones close background apps to save battery, links drop, and when they do, frames are written with no location or an old one. Some setups only update the position every few minutes. Treat a paired phone as convenient, not guaranteed, and spot check results the same evening.
A phone used as the camera is the simplest case of all. With location allowed for the camera app, every frame is geotagged as you shoot. See phone camera settings for where that switch lives and what else is worth setting.
3. A GPS track log matched by time
This works with any camera, including film scans if you noted the times. A phone app or a handheld GPS records a track log: a list of points, each with a position and a time, often one every few seconds. The common file format is GPX. Afterwards, your photo software compares each photo’s capture time with the track and gives the photo the position you were at that moment, estimating between the two nearest points if needed.
The method rests on one assumption: the camera’s clock and the track’s clock agree. The track log runs on satellite time and is very accurate. Your camera clock is whatever you set it to, plus drift. That is why the next section exists.
The advantages are real. You do not need any special camera, the phone can stay in a pocket with the screen off, and a single log covers every camera you carried, so two bodies or a camera and a drone all land on the same map.
4. Placing photos by hand on a map
Most photo managers have a map view where you drag a photo, or a whole selection, onto a point. It is the right tool for old scans, for photos from before you started geotagging, and for fixing the odd frame that missed its fix. It is slower, and accuracy depends on your memory, but for a family photo archive a pin at the right house or the right town is worth a great deal to whoever inherits it.
Choosing a method
| Method | Works with any camera | Extra gear | Battery cost | Effort after |
|---|---|---|---|---|
| Built-in GPS | No | None | Camera | Low |
| Paired phone | No | Phone | Phone and camera | Low |
| Track log | Yes | Phone or GPS unit | Phone | Medium |
| By hand | Yes | None | None | High |
Many people combine them: a track log as the main source, and the map for anything it missed. On a long trip, recording a track also gives you the route itself, which is worth having for travel photography stories and for finding a viewpoint again on a later visit.
Why the camera clock decides everything
When you match photos to a track log, a clock error becomes a distance error. The size of the mistake depends on how fast you were moving.
| Moving at | Distance per minute | Error if clock is 2 minutes off |
|---|---|---|
| Walking, 5 km/h | about 83 m | about 167 m |
| Cycling, 20 km/h | about 333 m | about 667 m |
| Driving, 90 km/h | 1,500 m | 3 km |
Standing still at a viewpoint, a clock error costs nothing. On a train, a minute puts the photo in the wrong town. Camera clocks drift by seconds to minutes over months, so an untouched clock is rarely exactly right.
The time zone problem
The bigger error is usually whole hours. Many cameras store capture time as plain local time, with no note of which time zone it is in, while track logs store universal time. Fly six hours east with the camera still on home time and every photo is matched to where you were six hours earlier, perhaps an airport, perhaps nowhere on the track at all.
Matching software handles this by asking for the time zone or an offset. The cleaner habit is to decide one rule and keep it: either set the camera to local time every time you cross a zone, or leave it on one fixed zone for the whole trip and tell the software which one. Mixed rules are what break matching.
Measuring and fixing the offset
You do not need a perfect clock, only a known error. The reliable trick:
- Open a clock on your phone that shows seconds. Phone time is set from the network and is accurate.
- Photograph the phone screen with each camera you are using.
- Later, compare the time shown in the photo with the capture time in the photo’s metadata.
- The difference is the offset. If the screen shows 14:05:40 and the metadata says 14:03:10, the camera is 2 minutes 30 seconds slow.
- Enter that offset, plus any time zone difference, in the matching tool, or shift the capture times of the whole batch by that amount before matching.
Do this once per trip and per camera. It takes ten seconds and removes the guesswork. If you shoot a second body, its offset will be different.
Accuracy: what to expect from a fix
Under open sky, consumer GPS is often good to within about 5 metres. Between tall buildings, in deep valleys, under thick forest and indoors, signals bounce or vanish, and errors of tens of metres are normal. A photo taken just inside a doorway may be placed across the street.
Decimal places in coordinates give a useful sense of scale. One degree of latitude is about 111 km, so:
| Decimal places | Example | Precision, roughly |
|---|---|---|
| 2 | 49.28 | 1.1 km |
| 3 | 49.283 | 111 m |
| 4 | 49.2827 | 11 m |
| 5 | 49.28270 | 1.1 m |
Longitude degrees shrink toward the poles, so the east to west precision is finer than shown at high latitudes, but the order of magnitude holds. Five decimal places is more precision than the GPS itself delivers, which is worth remembering when a map pin looks exact.
Also note what the coordinates describe: where the camera was, not where the subject was. A mountain photographed from 20 km away is tagged with the photographer’s position. If you want the subject, add its name in the place fields or keywords.
Privacy: decide on export, not at capture
Geotagging your originals and sharing coordinates with the world are two different decisions. Keep full location in your own archive, where it helps you search, sort and remember. Decide on each export what leaves with the file.
- Home and family. Photos taken at home, at a child’s school or anywhere you go every day can show a stranger where to find you. Remove location from these before they go anywhere public.
- Sensitive wildlife and fragile places. Exact coordinates of a nest, a rare plant or a quiet spot can bring crowds or disturbance. Many nature photographers share only the region. The habits in wildlife photography apply here.
- Partial location. You can keep place names such as city and country and remove only the coordinates, or keep coordinates rounded to two decimal places, which is about a kilometre.
- Do not rely on websites. Some services strip location on upload, some keep it, and sending an original file by email or a file link usually keeps everything. Check the file, not the promise.
How to strip or reduce metadata on export, and what different platforms do with it, is covered in sharing photos online and privacy.
Common mistakes when geotagging
- Forgetting the time zone. Photos all land on the map hours away from where they were taken, often along the route of the previous day. Fix it by shifting the offset by whole hours until they fall into place.
- Trusting the first frames of the day. Built-in and paired GPS often write a stale position before the first real fix. Check the first few frames of each outing.
- Stopping the track too early. Photos taken after the log ended get no location, or the last point of the track. Start the log before the first photo and stop it after the last one.
- Letting the phone kill the logging app. Battery saving can pause background logging, leaving gaps in the track. Look at the track before trusting it, and allow the app to run in the background.
- Losing the sidecars. Location written to sidecar files disappears when raws are copied without them.
- Assuming reverse geocoding is right. A coastal photo can be filed under the town across the bay. Read the place names before you rely on them.
- Publishing home coordinates. The most common privacy slip. Strip location on export unless you mean to share it.
Try this: geotag a short walk by track log
A 10-minute exercise with any camera and a phone.
- Start a GPS track logging app on your phone and put the phone in your pocket.
- Photograph the phone’s clock, showing seconds, with your camera.
- Walk for about eight minutes and take a photo at five distinct places: a corner, a tree, a doorway, a bench, a sign. Note them in your head.
- Stop the track and export it as a GPX file.
- At home, read the offset from the clock photo, then match the photos to the track in your photo software with that offset applied.
How to judge the result: open the map view and check each of the five photos against where you know you stood. Under open sky they should sit within a few metres. If all five are shifted the same distance along your path in the same direction, the offset is wrong; adjust it by a few seconds and match again. If one photo is far off and the rest are fine, look at the track around that time for a gap or a jump. Then run the same match with no offset and see how far the pins move. That distance is what an uncorrected clock costs you.
FAQ
Can I geotag photos from a camera with no GPS?
Yes. Record a track log on your phone while you shoot, then match the photos to it by time in your photo software. You can also place photos by hand on a map, which suits old photos and the odd frame a track missed.
Does geotagging drain the battery?
It costs some. Built-in camera GPS and a paired phone connection both shorten camera battery life, and continuous track logging uses phone battery. Carrying a spare and turning camera GPS off when you are not shooting keeps the cost manageable.
Why are my photos placed hours away from where I took them?
Almost always a time zone mismatch between the camera clock and the track log, which is stored in universal time. Set the correct time zone or offset in the matching tool and match again; a whole-hour shift is the giveaway.
Does geotagging change the image?
No. It adds or edits metadata fields only, and the pixels stay the same. With raw files, many programs write the location to a sidecar file and leave the raw untouched.
Should I geotag photos I plan to post online?
Geotag them in your archive, where location helps you find and remember them, and decide on export what to share. Remove or reduce location for photos taken at home, near children, or of sensitive wildlife sites.
Want to see every field your camera writes, not just location? Reading EXIF data shows what each one means.
Wondering what else travels with a file when you post it? Sharing photos online and privacy covers what to strip and how.
Need a way to find these photos again by subject, not just by place? Keywording photos builds the other half of searchable metadata.
Planning a trip and want the location data to help you find shots, not just record them? Scouting locations starts before the camera comes out.
Wondering where geotagging fits among import, culling and backup? A photography workflow puts each step in order.