Geotag Large Amount of Images

Started by hmoore, May 24, 2017, 10:58:24 AM

Previous topic - Next topic

hmoore

I am currently working on a project where we are trying to harvest GPS data from hundreds of pictures. We have managed to extract the latitude and longitude data of individual images, but we are having issues trying to get all of the data into one .txt file. 
This is our first time attempting to use this tool (or any kind of command prompt), and quite frankly I am not sure if we are doing this correctly or in the most efficient way.
Any advice is greatly appreciated!

Phil Harvey

The exact command depends on how you want the information formatted.

A basic example is this:

exiftool -a -gps:all DIR > out.txt

But maybe CSV format would be more useful for you:

exiftool -a -csv -gps:all DIR > out.csv

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Alan Clifford

Quote from: Phil Harvey on May 24, 2017, 11:09:06 AM

A basic example is this:

exiftool -a -gps:all DIR > out.txt
- Phil

If you need to run the command a second time to add more output to the out.txt file, you would use ">> out.txt" rather than "> out.txt" (on mac/unix-like systems but not sure about windows but I think it is the same).