Getting the location data from a jpeg that has been geotagged is pretty simple. You can use the wonderful tool ExifTool.
exiftool.exe -all -T -r -csv . > tags.csvto get the list of all the available tags for all the pictures in your current directory. The tags are output as the headers in the table. The advantage to using the -T tag to turn it into a table is that if not all the pictures have the same tags you'll still basically get a "select distinct". For a geotagged jpeg from my phone I got a list of 225 tags.
I landed a command like this:
exiftool.exe -filename -GPSAltitude -GPSImgDirection -GPSLatitude -GPSLongitude -GPSMapDatum -GPSPosition -GPSTimeStamp -n -T -r -ext jpg -csv C:\Users\Bradley_handziuk\Downloads\exif\ > cords.txtwhere the following tags were discovered from the
-n -T -r -ext jpgare defined as
-T (-table) Output in tabular formatand I've chosen to limit the processing to files which are .JPGs.
-r (-recurse) Recursively process subdirectories
-n (--printConv) Disable print conversion ("This print formatting may be disabled with the -n option to extract coordinates as signed decimal degrees")
-ext EXT (-extension) Process files with specified extension
C:\Users\Bradley_handziuk\Downloads\exif\ > cords.txtsearches my
C:\Users\Bradley_handziuk\Downloads\exif\ directory for files and outputs everything I told exiftool to do to
There's a way to filter out only .jpg files too using some other flag (which I should l
(for reference this was a helpful forum post from years ago)