ExifTool Forum

ExifTool => Newbies => Topic started by: BristolBEAT on August 19, 2021, 05:25:52 AM

Title: Reading GPS data
Post by: BristolBEAT on August 19, 2021, 05:25:52 AM
Newbie here!

I've successfully extracted the GPS data from the command line ExifTool version. GUI just won't open for some reason.

How do you read these Coordinates? I copy and pasted this info into Google Maps in various ways and it just doesn't understand.

GPS Coordinates: 51 deg xx' xx.xx" N, 2 deg xx' xx.xx" W

(i've x'd out the coordinates for privacy reasons)
Title: Re: Reading GPS data
Post by: StarGeek on August 19, 2021, 10:51:24 AM
Google maps likes numeric coordinates.  For example, you could paste "40.6892, -74.0445" into it and it will show you the location.

You can get that output by using the -n (--printConv) option (https://exiftool.org/exiftool_pod.html#n---printConv) or it's hashtag shortcut.
C:\Programs\My_Stuff>exiftool -s -GPSLatitude -GPSLongitude -n y:\!temp\Test4.jpg
GPSLatitude                     : 40.6892
GPSLongitude                    : -74.0445

C:\Programs\My_Stuff>exiftool -s -GPSLatitude# -GPSLongitude# y:\!temp\Test4.jpg
GPSLatitude                     : 40.6892
GPSLongitude                    : -74.0445


You can also have complete control over the coordinate output with the -c (-coordFormat) option (https://exiftool.org/exiftool_pod.html#c-FMT--coordFormat).

Finally, the config file in this thread (https://exiftool.org/forum/index.php?topic=9862.0) will create URLs to various map sites from GPS coordinates.