Photography Asked by xiota on January 5, 2021
Google know where we are 24/7. If my camera does not have built-in GPS, but I would like to geotag my photos, is it possible to use the location history to automatically tag photos with my GPS coordinates at the time they were taken? If so, how?
I am not asking how to use Google Maps to select locations with which to tag photos.
Google Location History KML files may be downloaded from:
Google Timeline, as RomeoNinov describes. The problem with these files is the timestamps and trackpoints are spread too far apart for some software to interpolate.
Google Takeout. Takeout KML files appear to have altitude information and more frequent recordings than the Timeline KML files.
Geotags may be added to images with exiftool
, which can read KML files directly. It is also able to interpolate timestamps and locations without restriction. In the following command, replace history.kml
with the location of your KML file, and replace -00:00
with your time zone.
exiftool -if 'not ($GPSLatitude or $GPSLongitude)' -geotag history.kml '-geotime<${createdate}-00:00' -r -ext jpg .
Correct answer by xiota on January 5, 2021
The procedure I use is:
Convert the file to GPX (I use GPSBabel)
gpsbabel -w -r -t -i kml -f history.kml -o gpx -F history.gpx
Get (if you do not have) Geotag software
But as Google do not write in timeline GPS location marks so often I will no rely on this info for image geotagging. In my test I get 180 point for 8 hours trip (with other mobile software I get around 25000 points). Of course someone can interpolate the location, but is not so precise. Also Google (in my case) do not store the elevation.
Edit: I just now find another tool which can use your location history and directly add location info to your photos. Web site, python tool itself
Answered by Romeo Ninov on January 5, 2021
If you don’t like commandline tools and prefer windows, you can give Enny GEOTagger a chance. Enny GEOTagger in Windows Store
Answered by Enny on January 5, 2021
If you don't like commandline tools, you can also give a try with Darktable. (a free and open-source photography application software and raw developer) https://www.darktable.org/usermanual/en/geotagging.html
Answered by Michael on January 5, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP