Geotagging Images from CSV File

Started by dronesurveyor, August 22, 2024, 03:13:24 AM

Previous topic - Next topic

dronesurveyor

Hi there

Can someone please remind me how to geotag a folder of images with a csv file that contains geotags in WGS84 decimal degrees. Image name on the csv matches the image name of jpg

I seem to recall its:
exiftool -geotag geotags.csv imagefoldername
where geotags.csv

Do I then need to tell it the output folder?

Thanks in advance!

Phil Harvey

Your command will modify the files in imagefoldername, preserving the originals with "_original" added to the name.  To leave the originals alone and output the modified files to a different folder, use -o differentfolder/

See here for details about the CSV file format.

- 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 ($).

dronesurveyor

Quote from: Phil Harvey on August 22, 2024, 06:34:29 AMYour command will modify the files in imagefoldername, preserving the originals with "_original" added to the name.  To leave the originals alone and output the modified files to a different folder, use -o differentfolder/

See here for details about the CSV file format.

- Phil


Hi Phil, thanks - where would the -o go in the syntax?

Phil Harvey

You can put it anywhere except between another option and its argument (if it has one).

- 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 ($).

StarGeek

From your example command, you couldn't place it between
-geotag geotags.csv

It's usually easiest to add new options to the end of the command.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype