Geotagging is the process of attaching geographic coordinates to a photograph, normally as latitude, longitude and altitude stored in the file’s metadata, so that every image records where it was taken. In photography and image processing, geotagged photos can be sorted, searched and displayed on a map, and the location becomes part of the image record alongside exposure settings and capture time.
Location data can be written at capture time by a camera or phone with a satellite receiver, added after capture by matching timestamps against a separate track log, or entered manually in an editor. Each method differs in accuracy, effort and privacy exposure, which is why experienced photographers treat geotagging as a deliberate workflow decision rather than a default setting.
How geotagging stores location in image files
Geotagging works by writing location values into standardized metadata fields inside the image file. The most common container is the EXIF GPS IFD, a dedicated block of the Exchangeable Image File Format that holds coordinates as degrees, minutes and seconds, together with reference tags that state the hemisphere (N or S, E or W).
Beyond EXIF, the XMP standard can carry the same coordinates in an embedded or sidecar form, which matters for RAW files that editors prefer not to modify. The older IPTC fields add human-readable place data such as city, region and country, which complements the numeric coordinates rather than replacing them.
The following table lists the main location fields that geotagged photos may contain and what each one records.
| Field | Standard | What it records |
|---|---|---|
| GPSLatitude and GPSLongitude | EXIF | Position in degrees, minutes, seconds |
| GPSAltitude | EXIF | Height above or below sea level in meters |
| GPSImgDirection | EXIF | Compass bearing the lens was pointing |
| GPSTimeStamp | EXIF | Satellite time in UTC at the fix |
| GPSHPositioningError | EXIF | Estimated horizontal error in meters |
| City, State, Country | IPTC or XMP | Readable place names for search |
Methods of geotagging photos
There are three practical routes to geotagged photos, and they trade convenience against precision and battery life. In-camera tagging uses a built-in receiver or a phone connection, while track-log synchronization relies on a separate GPS logger and software that matches each photo’s capture time to the nearest recorded position.
Track-log matching depends on accurate camera clocks. A camera clock that is off by two minutes while the photographer drives at 60 km/h places images roughly two kilometers from the true location, so editors offer a time-offset setting to correct the drift and the time zone before matching.
| Method | Typical accuracy | Main advantage | Main drawback |
|---|---|---|---|
| Built-in GNSS receiver | About 3-10 m outdoors | Automatic, no extra steps | Higher battery drain |
| Phone app via Bluetooth | About 5-15 m | Uses existing phone hardware | Connection drops and lag |
| External track logger | About 3-10 m | Long battery life, one log for many cameras | Requires clock synchronization |
| Manual map placement | Depends on the user | Works for any archive | Slow for large shoots |
Modern receivers often combine GPS, Galileo, GLONASS and BeiDou satellites, which shortens the time to first fix and improves accuracy in difficult terrain. Indoors, in narrow streets and in dense forest, signals reflect or disappear, so a reported position may drift by tens of meters or remain stale from the last valid fix.
Geotagging compared with related metadata
Geotagging is one specific layer of image metadata, not a separate file format. It sits beside capture data such as shutter speed and lens, which the EXIF Term covers in detail, and beside descriptive keywords that cataloging software adds during batch editing in tools such as Adobe Lightroom or Capture One.
| Metadata type | Typical source | Purpose |
|---|---|---|
| Geotag coordinates | Receiver, logger or editor | Where the image was made |
| Capture settings | Camera firmware | How the image was exposed |
| Descriptive keywords | Photographer or cataloging tool | What the image shows |
| Reverse-geocoded place names | Mapping database lookup | Readable location for search |
Reverse geocoding converts raw coordinates into place names. It is convenient for search, but the lookup reflects the mapping database at that moment, so borders, district names and spellings may differ from what the photographer would choose for a published caption.
Format support and processing behavior
Whether location survives processing depends on the output format and export settings. JPEG and HEIC carry full EXIF GPS data, WebP and AVIF can hold EXIF or XMP chunks, while PNG support is inconsistent across software, and many web upload pipelines strip metadata entirely to reduce file size.
Editors also differ in how they handle RAW originals. Most catalog applications write geotags to an XMP sidecar file or to their own database instead of altering the proprietary RAW file, so moving images without their sidecars can silently separate photos from their location data.
Privacy risks and common mistakes
The greatest risk of geotagging is unintended disclosure of location. A photo shared online with intact coordinates can reveal a home address, a child’s school or the storage site of valuable equipment, and wildlife photographers often remove coordinates to protect nesting sites and rare species from disturbance.
The table below pairs frequent problems with their causes and practical fixes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Photos placed kilometers away | Camera clock or time zone offset | Apply a time shift before matching |
| Indoor shots show street positions | Stale or reflected satellite fix | Correct manually on the map |
| Coordinates missing after export | Metadata removed in export preset | Enable location in export settings |
| Home location visible online | Geotags left in shared files | Strip GPS fields before publishing |
| Location lost after moving files | XMP sidecars not copied | Move RAW files with sidecars |
- Review export presets so that public images omit coordinates while archive copies keep them.
- Synchronize camera clocks with a phone or logger before every trip, especially across time zones.
- Check accuracy indicators such as positioning error before relying on coordinates for documentation.
In everyday language
Geotagging is like writing the address on the back of a printed photo, except that the camera or editor does it automatically and stores it inside the file. Later, a photo library can show the picture on a map or find every photo taken in a certain town.
The key point is control. The location is useful for organizing a personal archive, but the same information can tell strangers where a picture was taken, so it is wise to remove it before posting photos publicly.
Seen in the real world
A landscape photographer spends ten days hiking a long-distance trail and carries a small GPS logger that records a position every 30 seconds. The camera itself has no receiver, so each evening the photographer checks that the camera clock matches the logger to within a few seconds.
Back home, the photographer imports about 2,400 RAW files into a catalog application, loads the track log and applies a one-hour time-zone offset that the camera had not adjusted. The software then assigns coordinates to every frame, and the photographer corrects a handful of shots taken inside a mountain hut.
The result is a fully mapped archive that makes it easy to find the exact viewpoint for a return visit. For the published portfolio, the export preset removes GPS fields, because several images show a fragile alpine meadow the photographer prefers not to pinpoint.