ExifTool Forum

ExifTool => Newbies => Topic started by: dronesurveyor on August 22, 2024, 03:13:24 AM

Title: Geotagging Images from CSV File
Post by: dronesurveyor on August 22, 2024, 03:13:24 AM
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!
Title: Re: Geotagging Images from CSV File
Post by: Phil Harvey on August 22, 2024, 06:34:29 AM
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 (https://exiftool.org/geotag.html#CSVFormat) for details about the CSV file format.

- Phil
Title: Re: Geotagging Images from CSV File
Post by: dronesurveyor on August 22, 2024, 07:36:52 AM
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 (https://exiftool.org/geotag.html#CSVFormat) for details about the CSV file format.

- Phil


Hi Phil, thanks - where would the -o go in the syntax?
Title: Re: Geotagging Images from CSV File
Post by: Phil Harvey on August 22, 2024, 07:40:29 AM
You can put it anywhere except between another option and its argument (if it has one).

- Phil
Title: Re: Geotagging Images from CSV File
Post by: StarGeek on August 22, 2024, 11:08:54 AM
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.