![]() ![]() It has a plethora of settings including fuzzy matching-which is important since smartphone GPS samples less frequently than a dedicated hiking unit-and so the location data frequently will not match our photo timestamps exactly. Jeffrey Friedl-the king of Lightroom plugins-has an excellent geo-encoding plugin which handles most of the heavy lifting for us. # perform the actual conversion python location_history_json_converter.py. # download the conversion tool git clone # move your downloaded json file into our directory mv "~/Downloads/Location History.json" location_history.json # make a working directory to keep things together mkdir location_history & cd location_history Here is an example of the terminal commands to convert your JSON export into yearly gpx files: Even with a year of data, there is a 20-30 second lag when reading the file using the Lightroom plugin. If you live in a timezone which observes daylight savings time, you will need to read each year’s file three separate times into the Lightroom plugin, setting the appropriate timezone each time. I recommend splitting your location data by year to ensure the files are reasonably small. Luckily there is an excellent location-history-json-converter python script available on GitHub which solves our exact problem. Google Takeout gives us our location data in a JSON format, but most map software-including Lightroom-expects a GPX format. Convert it to gpx format, and split be year ⚠ Note that while the Google Timeline UI displays your location history in local time, the JSON export contains timestamps stored in UTC time. ![]() Depending on how many years you’ve had Location History enabled, the file may be quite big. After you unzip it, you’ll find a large JSON file. You’ll receive an email a few minutes later with a download link. We are only interested in our location history, so click Deselect all and scroll down to the Location History section. The Google Takeout tool lets you export your data across a variety of Google services. Download your location history from Google Takeout As a COVID lockdown project, I decided to try using the location tracking data from Google Timeline to geotag my photos “automatically”. I have historically neglected adding geotag info as I have imported photos through the years. While all my smartphone photos are automatically geotagged, the 80% of my photos shot on my dedicated camera (Sony A7Rii) lack geodata. Lightroom has a Maps view, but I have never really used it before. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |