Scribbles and Snaps

Linux, Open Source, Photography

Posts Tagged ‘exif

Easy Geotagging with ExifTool

with 7 comments

Need to quickly geotag a bunch of photos taken at a specific location? ExifTool is your friend. Using this powerful command-line tool, you can geotag multiple photos with a single command. Before you proceed, make sure that ExifTool is installed on your machine. To install ExifTool on Ubuntu, execute the sudo apt-get install libimage-exiftool-perl command. Next, you have to obtain the longitude and latitude of the desired geographical location, and feed the coordinates to ExifTool as follows:

exiftool -GPSLongitudeRef=E -GPSLongitude=139.7513889 -GPSLatitudeRef=N -GPSLatitude=35.685 *.jpg

This command will geotag all JPEG images in the current directory. If you are running Windows, download the latest version of the ExifTool executable and rename it as in the example below:

exiftool (-GPSLongitudeRef=E -GPSLongitude=139.7513889 -GPSLatitudeRef=N -GPSLatitude=35.685).exe

Drag and drop the photos you want to geotag onto the executable and ExifTools will do the rest. Besides GPSLongitudeRef, GPSLongitude, GPSLatitudeRef, and GPSLatitude, ExifTools supports a number of other tags. Check the GPS Tags page for further info.

Written by Dmitri Popov

2011/11/23 at 08:49

Follow

Get every new post delivered to your Inbox.

Join 367 other followers