# How I add GPS coordinates to DSLR photos automatically Published: 2021-06-11 Canonical: https://tomasparizek.com/2021/06/11/add-gps-to-dslr-photos.html Most professional cameras nowadays still don’t have a build in GPS module. When you are photographing a wedding, you probably don’t need GPS coordinates. On the other hand, one of my hobbies is traveling. I like to take photos during my trips and I’d like to view them later on a map. But my Sony A6500, unfortunately, doesn’t have a GPS module. Recently I’ve been looking for a solution to this problem and it turns out to be quite simple. There are tools that can add GPS coordinates to photos based on a GPX file. Let’s look at how to do it. ![Map with photos](/public/images/blog/2021-06-11-add-gps-to-dslr-photos-map_with_markers.jpg) GPX file is a file containing a series of GPS coordinates. There are many GPX recorder apps available on AppStore and Google Play. In my case, I track my outdoor photoshoots with my Apple Watch as outdoor walks, so the location data is already being tracked. To generate the GPX file, I use one of my iOS apps - [HealthExport app](https://healthexport.app/). When you have the GPX file, you need a tool that can associate images with GPS coordinates in the GPX file. I use exiftool, which is available for free at [https://exiftool.org/](https://exiftool.org/). After you install exiftool, you can open the Terminal app on your mac (command line on Windows) and type following command: ```bash exiftool -geotag "{path to your GPX file}" "{path to your folder with photos}" ``` If you have any feedback or question, feel free to reach out via [Twitter](https://twitter.com/TomasParizekCZ).