This is a quick and easy guide to help you install jhead and read data from geotagged pictures from the commandline.
First, lets go ahead and install jhead:
Redhat/Fedora:
$ yum install jhead
Debian/Ubuntu:
$ apt-get install jhead
Once installed, download a test geotagged picture to confirm jhead is working correctly:
wget http://www.geospatialexperts.com/images/geotagging%20flooding.JPG
Now lets test jhead to see if it works correctly:
jhead geotagging\ flooding.JPG
The output should be the same as the following:
File name : geotagging flooding.JPG
File size : 114275 bytes
File date : 2014:08:08 14:41:01
Camera make : RICOH
Camera model : Caplio 500SE
Date/Time : 2009:01:02 22:12:36
Resolution : 406 x 305
Flash used : No (auto)
Focal length : 8.6mm
Exposure time: 0.0013 s (1/760)
Aperture : f/5.4
ISO equiv. : 64
Whitebalance : Auto
Metering Mode: pattern
Exposure : program (auto)
GPS Latitude : N 45d 31m 53.1099s
GPS Longitude: W 98d 24m 46.4099s
GPS Altitude : 390.00m
Comment :
As you can see, the GPS coordinates are displayed form the pictures EXIF data.