ExifTool Forum

ExifTool => Newbies => Topic started by: Muskatinho on November 22, 2024, 09:23:13 AM

Title: Exporting GPS coordinates from Apple Photos library in GPX format
Post by: Muskatinho on November 22, 2024, 09:23:13 AM
Newbie here. I've searched for this topic and haven't found it in the forum, but I apologize in advance if it's been addressed. I want to create a GPX file from my Apple Photos library so I can import it into Google Mymaps. Any words of wisdom?
Title: Re: Exporting GPS coordinates from Apple Photos library in GPX format
Post by: StarGeek on November 22, 2024, 10:26:42 AM
See Inverse Geotagging (https://exiftool.org/geotag.html#Inverse)

Your only complication would be figuring out how to directly access the source photos in your library. I can't help with that as I'm not on a Mac.
Title: Re: Exporting GPS coordinates from Apple Photos library in GPX format
Post by: kurtm on November 22, 2024, 11:44:53 PM
I'm brand new to this application and so far using the easy drag-drop to exiftool(-k).exe method.

I do have a question about the GPS output format. How do I get exiftool to output a different GPS location string. By default it produces a GPS position string of (eg) "36 deg 43' 0.15" S, 174 deg 44' 46.76" E", however I would like it to be "36.716708° S, 174.74632° E" or "-36.716708°, 174.74632°"

The reason is that it makes it much easier to work with Google Earth which doesn't (in my case) accept the original coordinates. It locates longitude to north instead of south.

Thanks,
Kurt
Title: Re: Exporting GPS coordinates from Apple Photos library in GPX format
Post by: StarGeek on November 23, 2024, 02:00:55 AM
The -n (--printConv) option (https://exiftool.org/exiftool_pod.html#n---printConv) will output the coordinates as simple numbers, e.g. -36.716708/174.74632. The downside to that option is that it is global and will affect the output of other tags you might look at.

The -c (-coordFormat) option (https://exiftool.org/exiftool_pod.html#c-FMT--coordFormat) can be used to reformat the values any way you would like.