LightPhotos

Adding GPS to my full-frame camera

My Sony is a great full-frame camera but it has no GPS. My iPhone has the GPS information but I don't use it to take pictures. I want the two to work together, assuming I have both of them on me at the same time.

The camera doesn’t know where it is

My Sony full frame camera came out in 2014. It has no GPS and no Bluetooth, so the phone location link that newer Sony bodies have isn’t an option. Every photo has a time and an exposure, but no location.

I don’t want a GPS box on the hot shoe. I already carry a phone with a good GPS in it. The idea is old and simple: record the GPS track on the phone, then match each photo to the track by time. Lightroom can do this with a GPX file but I don't to manually upload the GPX files one at a time.

The clock is the messy part

The camera writes its own wall time into each photo: 2026:11:08 13:14:05, with no time zone. The GPS from the iPhone is in UTC. To match them, you need to know the difference between the camera’s clock and UTC, to the second.

Three things make that hard:

Most geotagging tools ask you for one fixed offset and hope it holds for the whole trip.

The phone measures the camera

I wrote LightRemote, an iPhone remote for my Sony A7 camera, which uses Sony’s Camera Remote API over Wi-Fi. It gives me live view, interval shooting and bulb on the phone. When the phone connects to the camera, it also starts recording a precise GPS track. When the camera disconnects, it goes back to a low-power track.

Because the phone tells the camera when to take each picture, it knows the exact UTC time of the shot. The camera sends back a preview JPEG, and that preview has the camera’s own wall time in its EXIF. The difference between the two is the camera’s clock offset, measured instead of guessed. It is measured again on every shot that the phone triggers, so drift is corrected as you go.

The phone can’t fix the camera’s clock: the A7II doesn’t let you set it over Wi-Fi. So LightRemote writes each measurement into the track instead. The track is one GPX file per day in iCloud Drive, and the measurements sit in its metadata:

<metadata>
  <name>2026-11-08</name>
  <extensions>
    <lr:cameraClock measuredAt="2026-11-08T21:14:05Z" cameraMinusUtcSeconds="-28843"/>
    <lr:shot time="2026-11-08T21:14:05Z"/>
  </extensions>
</metadata>

-28843 means the camera reads 8 hours and 43 seconds behind UTC: Pacific time, and 43 seconds slow. A Live Activity on the lock screen shows that the track is recording and how far the camera clock is from the phone’s, so I see a wrong time zone before I shoot a whole day with it.

LightPhotos does the matching

Back at the computer, I open the folder from the SD card in LightPhotos and choose Actions › Import GPS Tracks… in the Grid. I can pick GPX files, folders of them, or LightRemote’s iCloud folder. Days that iCloud hasn’t downloaded yet are downloaded first.

The dialog has one row per camera, found by its model and serial number. Each row has two settings:

LightPhotos remembers these rows, so the next import is one click. Then, for each photo:

  1. Turn the camera’s wall time into UTC with the nearest measurement. A measurement holds until the next one, even across days, so a measurement on Monday still places a photo on Thursday.
  2. Find that moment on the track. Between two GPS points at most 10 minutes apart, it interpolates. Otherwise it uses a point within 5 minutes, or leaves the photo alone. These are exiftool’s rules, and LightRemote’s own helper script passes the same test cases.
  3. Save the location in the photo’s sidecar, with the GPX file it came from and the offset it used.

The import reads the folder in batches, off the main thread, so a card with thousands of RAW files doesn’t freeze the app.

Your RAW files are never changed

Geotagging tools usually write GPS into the original files. I don’t want any tool writing into my RAW files, so LightPhotos keeps the location in the sidecar, like every other edit. The Info panel shows it with its source. Actions › Clear GPX Locations removes it. A photo that already has its own GPS, from a phone or a newer camera, keeps its own.

Location is private, so exports leave it out by default. In the export form, turn on Location and the stored position is written into the exported file’s EXIF GPS block. If the source file has its own position, that one wins.

Without LightRemote

You don’t need my phone app, or a Sony. Any GPX file works: from a running watch, a hiking app or a GPS logger. Without measurements in the file, LightPhotos uses the camera’s time zone setting from the dialog. Set the camera clock carefully before a trip, and that is usually close enough.

When you can use it

Import GPS Tracks is in the desktop app on macOS, Windows and Linux, in v0.1.40. The iCloud folder is macOS only, because that is where LightRemote’s tracks sync. The browser version can show a stored location, but can’t import tracks.

For me, the best part is that I don’t have to think about it. The phone records when the camera connects, the camera clock is measured while I shoot, and the map is filled in at home.