· 5 min read
How to Map a Route From Photo GPS Data
Heshan Fernando
Co-founder & COO
Sixty-one photos from a day’s walk, and forty-eight of them carry coordinates accurate to a few metres plus a timestamp accurate to the second.
That set is a detailed record of where you were and when. Useful for reconstructing the route, and worth thinking about before any of those photos go anywhere public.
What is actually in the file
EXIF metadata is written by the camera at capture. On a phone with location services enabled for the camera, that includes:
Latitude and longitude, typically to several decimal places.
Altitude, where available.
Timestamp, to the second, in local time and sometimes UTC.
Direction the camera was facing, on many phones.
Camera model and settings, which identify the device.
Together those reconstruct not just where you were but the order, the pace, and which way you were looking. A set of holiday photos maps a holiday; a set of photos taken at home maps your address.
Why some photos have no coordinates
Gaps in a plotted route are normal and have consistent causes.
No satellite fix — indoors, in a narrow street between tall buildings, in dense forest, or underground. The phone falls back to network positioning or records nothing.
Location services off for the camera app, either deliberately or after a permissions reset.
Stripped in processing. Many editing apps, messaging services and social platforms remove EXIF on export or upload. A photo that came back from a chat app has usually lost its coordinates.
Screenshots and downloads, which never had them.
The pattern of gaps is itself informative — a run of missing coordinates usually means you were inside.
Ordering by timestamp, not filename
Filenames sort in capture order only when all the photos came from one device with sequential naming.
Two phones, or a phone and a camera, produce two overlapping sequences. Sorted by filename the route jumps between them; sorted by timestamp it is correct.
The caveat is that devices need to agree on the time. A camera whose clock was never set, or is in a different time zone, produces a route that interleaves wrongly. Checking that the timestamps of the first photo from each device are plausible catches it.
| Sort by | Correct when |
|---|---|
| Filename | One device, sequential naming |
| Timestamp | Any number of devices, clocks set |
| Timestamp with wrong clock | Nothing — fix the clock offset first |
Strip it before sharing
The same data that makes a route mappable is data you usually do not want to publish.
Photos taken at home carry your address, to within a few metres. Photos of children at a regular activity carry the location and time of that activity. A photo posted in real time carries where you currently are.
Most major social platforms strip EXIF on upload, which handles the common case. Many do not — direct file sharing, email attachments, forums, cloud links and messaging apps that preserve original quality frequently keep it intact.
The reliable approach is to strip it yourself before sharing rather than relying on the destination. It takes seconds and it removes the question.
Accuracy varies by fix quality
Coordinates come with a confidence that the metadata does not always record.
A phone with a clear sky view and a good satellite fix is accurate to a few metres. The same phone between tall buildings, under trees or immediately after switching location services on may be tens or hundreds of metres out, and the file records the coordinate with the same apparent precision either way.
The visible symptom is a route that occasionally jumps sideways — a photo apparently taken in the middle of a river or on the wrong street.
Some files include a DOP value indicating fix quality, which allows filtering. Where they do not, a point that is implausibly far from its neighbours in the time available is almost always a bad fix rather than a detour.
Common mistakes to avoid
- Sorting by filename across multiple devices.
- Assuming the platform strips metadata.
- Sharing photos taken at home without stripping location.
- Uploading a geotagged set to a hosted tool to map it.
- Assuming missing coordinates means the tool failed, when it usually means no fix.
How to do it with EXIF GPS Route Mapper
The EXIF GPS Route Mapper reads the metadata in your browser.
- Select the photos — they are read locally and never uploaded.
- Sort by timestamp rather than filename.
- Export as GPX if you want the route in mapping software.
- Strip EXIF from anything you intend to share afterwards.
Other image tools are in the tools directory.
Frequently asked questions
Why do some photos have no GPS?
No satellite fix at the time — indoors, in dense urban areas, or with location services off. Photos exported through some apps also lose the data.
Is my location data uploaded?
No. Everything is read in the browser, which matters here more than usual — a geotagged photo set is a detailed record of where you have been.
Should I remove EXIF before sharing photos?
Usually yes for anything public. Geotags on photos taken at home publish your address, and many sharing routes preserve the metadata even where large platforms strip it.
Final thought
Map the route locally and strip the metadata before sharing. The same precision that makes the map useful is what makes the photos worth stripping.