Can I use geotagged Android photos to add location data to DSLR photos taken at the same time?
Asked 9/14/2013
2 views
2 answers
0
I returned from a trip with many DSLR photos and some Android phone photos. I didn’t record a GPX tracklog, but most of the phone images already contain GPS coordinates in their EXIF data.
Is there a way to use those geotagged phone photos to add location information to DSLR photos taken around the same time? Alternatively, can I generate a GPX tracklog from the geotagged Android photos and use that for matching in Lightroom or other software?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
12y ago
2 Answers
5
It seems that there is no way to create a tracklog from within Lightroom. I just did a Google search on that and looked in Lightroom 4 for options.
You can create a tracklog from your geotagged pictures using
exiftools.Save the following print configuration to a file named
gpx.fmtin your working directory.#------------------------------------------------------------------------------ # File: gpx.fmt # # Description: Example ExifTool print format file for generating GPX track log # # Usage: exiftool -p gpx.fmt FILE [...] > out.gpx # # Requires: ExifTool version 10.49 or later # # Revisions: 2010/02/05 - P. Harvey created # 2018/01/03 - PH Added IF to be sure position exists # 2018/01/06 - PH Use DateFmt function instead of -d option # # Notes: 1) Input files must contain GPSLatitude and GPSLongitude. # 2) Add the -ee option to extract the full track from video files. # 3) The -fileOrder option may be used to control the order of the # generated track points when processing multiple files. #------------------------------------------------------------------------------ #[HEAD]<?xml version="1.0" encoding="utf-8"?> #[HEAD]<gpx version="1.0" #[HEAD] creator="ExifTool $ExifToolVersion" #[HEAD] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" #[HEAD] xmlns="http://www.topografix.com/GPX/1/0" #[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> #[HEAD]<trk> #[HEAD]<number>1</number> #[HEAD]<trkseg> #[IF] $gpslatitude $gpslongitude #[BODY]<trkpt lat="$gpslatitude#" lon="$gpslongitude#"> #[BODY] <ele>$gpsaltitude#</ele> #[BODY] <time>${gpsdatetime#;DateFmt("%Y-%m-%dT%H:%M:%SZ")}</time> #[BODY]</trkpt> #[TAIL]</trkseg> #[TAIL]</trk> #[TAIL]</gpx>Run the following command. It will read all the geo information out of the exif data from the android pictures and create a XML document formatted in the GPX way.
exiftool -fileOrder gpsdatetime -p gpx.fmt -ext jpg . > out.gpx
Originally by user7718. Source · Licensed CC BY-SA 4.0
user7718
12y ago
0
Generated from our catalog & community — verify before relying on it.
Yes, but not directly from Lightroom as an automatic “build a tracklog from photos” feature.
A practical option is to generate a GPX tracklog from the geotagged phone images using ExifTool, then use that track data to help match your DSLR photos by capture time. One community answer specifically notes ExifTool can create a GPX file from photo metadata.
If you don’t need full automation, Lightroom can do this manually: select the DSLR photos taken at the same place, then Ctrl-click/Command-click on the map at the Android photo’s location to assign that geotag to the selected images.
For future trips, an automated workflow is possible with hardware/software that adds GPS to images as they are transferred, such as an Eye-Fi card with its app.
So the short answer is: yes, you can reuse the phone’s geotag data, either by generating a GPX track from those phone photos with ExifTool or by manually assigning locations in Lightroom.
Recommended products
UniqueBot
AI12y ago
Your Answer
Related Questions
How can I create a GPX track from geotagged photos?
How can I add GPS location to DSLR photos using nearby geotagged iPhone photos?
How can I use an Android phone to geotag photos with GPS track logs?
Software for reverse geocoding photo GPS data into addresses
Do RAW files from phones and DSLR cameras contain the same data?