fbpx

exif

2 Simple Ways to Extract GPS Coordinates from Images

In this post, we’ll cover two simple ways to extract Exif (Exchangeable image file) data from images.

Background

In short, Exif is information about a digital picture, such as:
– Date and time the picture was taken
– Type of camera used
– Types of settings on the camera
– GPS Coordinates where the picture was taken
– Etc.

People often leave this information in images they post on the Internet, sometimes to their demise, such as the no longer Anonymous hacker, “AnonWormer”.  AnonWormer aka Higinio O Ochoa III used his Twitter account to post a picture of a woman holding a sign stating “PwNd by w0rmer & CabinCr3w”.  AnonWormer left the Exif data in the picture. The FBI extracted the GPS coordinates and sent local authorities to the location where the picture was taken, in a Melbourne, Australia suburb, where they found Ochoa and arrested him. Reference the “Hacking cases’s body of evidence” article for more info on this case.

Method 1

In the first method, we’ll use a browser plugin.  There are many browser plugins that offer Exif capabilities.  For this example, we’ll use the Firefox Add-On, FxIF. Chrome’s Extension EXIF Quick View works in a similar manner, except you just have to hover the mouse over the image, as shown below:

 EXIF Quick View - Chrome Extension Example
EXIF Quick View – Chrome Extension Example

With FxIF, you can right-click on any image in Firefox and choose FxIF Data:

 Selecting the FxIF Data by Right-Clicking on an image in Firefox.
Selecting the FxIF Data by Right-Clicking on an image in Firefox.

The image of the cyclists located in the FxIF example can be found here:

http://www.myriad-online.com/images/forum/IMG_4692.jpg

If Exif data is available, you’ll see similar information to the FxIF Details image below. Circled in red are the GPS Coordinates and other information about the location of the picture.

 FxIF Details - Image GPS Coordinates
FxIF Details – Image GPS Coordinates

From here you can click on the Map Link. FxIF links to OpenStreetMap.  You can also copy the GPS Coordinates and paste into Google if you prefer Google maps.

 OpenStreetMap view of cyclists image
OpenStreetMap view of cyclists image

Method 2

For method 2, we’ll use an application to view the Exif data.  There are a number of applications out there, but Opanda IExif is simple and effective, even if it is old 🙂 With Opanda, you open the image or drag the image into Opanda that you want to view the Exif data on.  The Opanda “Exif” view shows information similar to here:

 Opanda Exif View
Opanda Exif View

The “GPS” view shows information similar to below.  You can also right-click on the globe next to GPS and select “Locate Spot on Map by GPS”, which will open the coordinates in Google maps.

 Opanda Locate Spot on Map by GPS
Opanda Locate Spot on Map by GPS
 GPS Coordinates using Google Maps from Opanda
GPS Coordinates using Google Maps from Opanda

The picture used in the Opanda example is located here:

cute-kitten.jpg

Check Out The Smartest Person in The Room