Extracting GPS Data from Photos using Python

A very simple and straight-forward guide to extract metadata

Nathan Timothy Handoko
Towards Data Science
4 min readDec 5, 2022

--

Photo by Robert Penaloza on Unsplash

Most photos taken by smartphones today contain a lot of metadata, including GPS data. GPS data refers to the Latitude and Longitude coordinates of where the photo was taken.

When we get the GPS coordinates of the photo, we can even input it into Google maps and…

--

--