Most of the cameras lack GPS functionality, so geotagging photos is difficult. There are a lot of third party apps for Android/iOS. But they require manual intervention to start and stop and need a lot of settings to get the GPS data. Here is the way to use your Google Maps data to geotag photos,
Things you need,
Things you need,
- Android/iOS phone with Google Maps installed. Make sure you are logged into one phone at a time. If you are logged into multiple phone at the same time. GPS data becomes mingled and it becomes difficult to extract.
- Enable location history from https://myaccount.google.com, this will enable Google Maps to collect your data
- Download geosetter for windows. I use windows for my photo editing so I will be going through workflow using GeoSetter. I think most of these Softwares will be same. There are other Softwares like this for MAC and Linux like GPSPhotoLinker (Mac OS X), GPicSync (Windows and Linux), HoudahGeo (Mac OS X).
- Make sure your camera time matches with mobile phone time.Otherwise look at step 10 below.
Process,
- Go to your timeline on Google Maps https://www.google.com/maps/timeline
- Go to particular day from top left side menu
- From bottom right setting gear choose "Export this day to KML. This will download the data file containing all GPS data for that day. File name syntax is history-YYYY-MM-DD.kml
- Most of the Geotagging softwares do not accept KML format, so we need to convert this file into GPX format. That is easy, go to http://kml2gpx.com/ upload your KML file and choose KML to GPX from top menu ,press convert. The website needs few seconds to convert the doc. Then download your GPX file.
- In order to geotag the photos open GeoSetter or equivalent software.From top section bar use the photo folder ( which needs geotagging ).
- Select all photos using Ctrl + A or Images -> Select All
- Press Ctrl + G or Go to Images -> Syncronize with GPS Data Files
- Enter the GPX file location from step 4.
- [Optional] Choose Assignment of Found Positions. I used the Interpolate Regarding shoot time with last or next position.
- [Optional] Adjust time if needed, if your camera time and mobile time is different, then this is where you need to adjust the time. You need to adjust your images time to mobile time so that maps data matches with GPS data
- Press Ok,now it will show that it has found GPS data for selected images, and press Yes to continue, then it will ask you to save track file, give a name to the track file. The process will take another 30 seconds or so ( depending on the number of photos ). You can see small blue location icon when tagging is complete for that photo.
- You are done now.
Few things to note,
- It works best, if you do this process before importing photos into another software ( lightroom, gimp etc. ). Otherwise, you have to resync the metadata in the software. In Lightroom, you will get "exclamation" mark on top of the image. Go to the folder and run synchronize folder option to get updated data.
- You can do this to previous photos as well provided that your mobile time and camera time is same otherwise, you need some time adjustment.
Hope this helps!