Skip to content

Location history

Photos from a camera without GPS, or scans and old files, often have no location. If an app has been recording where you go, Frameleaf can match the two by time and offer a place for each photo. You see every suggestion first, photos that already have a location are never changed, and you can undo what you added.

Your location history stays on your server, and only you can see it. Other people on the server can’t, administrators included, and neither can a shared link.

A partner sees the location on photos you share with them, as with any photo. They never see the history it came from.

Frameleaf reads each file once and keeps the places and times from it, not the file.

Frameleaf works out what a file is from its contents, so the file name doesn’t matter. You can add .json, .gpx, .rec, .geojson and .zip files, and several at once. Menu names in these apps change from time to time.

Google now keeps Timeline on your phone, so the export starts there.

  • Android: open your phone’s Settings, then Location, Location services, Timeline, and choose Export Timeline data.
  • iPhone: in Google Maps, open your profile picture, then Settings, Personal content, and choose Export Timeline data.

Save the Timeline.json file and add it to Frameleaf.

If you exported your history from Google Takeout in the past, add that ZIP as it is. Frameleaf reads Records.json and the monthly files inside it and passes over everything else.

GPS watches, bike computers and hiking apps can usually export an activity as a .gpx file. Only track and route places that carry a time can be used.

OwnTracks Recorder keeps one .rec file a month for each device, in its store under rec/<user>/<device>/. Add the months you need. A JSON export from the Recorder’s API works too.

Create an export from Dawarich’s Exports page, as GeoJSON or GPX, and add the file when it’s ready.

  1. Open Library care at the bottom of the sidebar, then Fix locations, and choose Use your location history.
  2. Choose Choose files… or drop your files on the page. Keep the page open until they have been sent. After that, Frameleaf carries on by itself on your server, and you can leave.
  3. Choose See suggested places.
  4. Under How close in time?, choose 5, 15 or 60 minutes. A photo is offered a place only when your history has you somewhere this close to the moment it was taken. Shorter is surer; longer fills more photos.
  5. Look through the suggestions, grouped by day, with a small map of where your history has you that day. Untick any photo you don’t want to change.
  6. Choose Add places.

Nothing changes until that last step. When a photo falls between two places in your history that are less than 5 km apart, it’s placed between them by time. Otherwise it takes the place nearest in time.

Frameleaf saves each location in the database and in the photo’s XMP sidecar, and works out its place name as usual. Your original files never change. Locked photos, photos in the Trash and photos that already have a location are left alone.

After adding places, choose Undo in the banner at the top of the page. It takes off only the places added that time.

If you moved one of those photos yourself afterwards, Undo leaves your change in place.

The banner shows for your latest run. Looking for suggestions again replaces it, so undo first if you want to take the last run back.

Under Your location history, choose Remove beside a file, then Remove history. This deletes the history that came from that file. Photos that were given a place from it keep that place.

Many cameras record the clock time but not the time zone. For those photos, Frameleaf looks at where your history has you around then and matches the clock time in that place’s time zone. A photo at 9:04 on the camera in Banff is matched to 9:04 in Banff. If the camera’s clock was wrong, fix it first with the Date & Time Doctor, then look again.

Nothing was suggested, or only some photos

Section titled “Nothing was suggested, or only some photos”

Your history probably has gaps. Phones record less when they are idle, off or out of signal. Choose a wider time, such as 60 minutes, or add another file covering those dates.

Places recorded with an accuracy worse than 500 metres are left out, because they’re too vague to place a photo.

The file isn’t in a format Frameleaf reads, or it holds no places with a date and time. Check that you exported location data and not, for example, a list of saved places.

That photo’s location was changed after it was added, so Undo kept your change. To clear it, open the photo’s info panel, choose Edit location, then Remove location.