# Mapillary Downloads and GPS Coordinates?

**URL:** <https://forum.mapillary.com/t/mapillary-downloads-and-gps-coordinates/5689>\
**Category:** Imagery, data, and integrations\
**Created:** [January 7, 2022, 11:18am UTC](https://forum.mapillary.com/t/mapillary-downloads-and-gps-coordinates/5689 "2022-01-07T11:18:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wildman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/wildman/32/70666_2.png) [@wildman](https://forum.mapillary.com/u/wildman)\
**Post date:** [January 7, 2022, 11:18am UTC](https://forum.mapillary.com/t/mapillary-downloads-and-gps-coordinates/5689/1 "2022-01-07T11:18:52Z")

</div>

Hello,

I have used Mapillary quite a bit in the past using the previous API. However, I am new to using the v4 API.

Happily, I have been able to download images using the Python code kindly provided here:

> <https://gist.github.com/cbeddow/79d68aa6ed0f028d8dbfdad2a4142cf5>

However, the images do not seem to contain the GPS coordinates. Is there a way to download the images with the GPS coordinates or can they be added to the images at a later stage?

Grateful for any suggestions, please.

Cheers.

---

<div class="post-metadata">

**Author:** ![wildman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/wildman/32/70666_2.png) [@wildman](https://forum.mapillary.com/u/wildman)\
**Post date:** [January 7, 2022, 4:52pm UTC](https://forum.mapillary.com/t/mapillary-downloads-and-gps-coordinates/5689/3 "2022-01-07T16:52:05Z")

</div>

Hi, thanks for the reply!

> And yes, you can put them together if you want to but it is your job to do so.

Is there an efficient way to match the GPS coordinates to the images once they have been downloaded?

Much appreciated.

---

<div class="post-metadata">

**Author:** ![wildman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/wildman/32/70666_2.png) [@wildman](https://forum.mapillary.com/u/wildman)\
**Post date:** [January 8, 2022, 8:22pm UTC](https://forum.mapillary.com/t/mapillary-downloads-and-gps-coordinates/5689/5 "2022-01-08T20:22:58Z")

</div>

Yes, that’s exactly what I meant. Do you know if there is any code available that would do this, please?

I found a relevant post but it uses GeoSetter:

> [@Geotag imagery on post-production for action cams or 360 cameras that don't have GPS](https://forum.mapillary.com/t/geotag-imagery-on-post-production-for-action-cams-or-360-cameras-that-dont-have-gps/2828):
>
> Hey, done this in mind for those that have hardware that dont have GPS on the device. We will use the time-stamp method, which means your camera clock will be the same as your gps tracker device (probably your smartphone). Use a GPS tracker app on your mobile device, this will create a gpx file with the coordinates. These are the ones i recommend: OSMTracker on Android [https://play.google.com/store/apps/details?id=net.osmtracker](https://play.google.com/store/apps/details?id=net.osmtracker) Open GPX Tracker for iOS [‎Open GPX Tracker na App Store](https://itunes.apple.com/pt/app/open-gpx-tracker/id984503772?mt=8) Before …

Cheers.

---

<div class="post-metadata">

**Author:** ![peterbrant](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@peterbrant](https://forum.mapillary.com/u/peterbrant)\
**Post date:** [October 16, 2023, 9:30am UTC](https://forum.mapillary.com/t/mapillary-downloads-and-gps-coordinates/5689/6 "2023-10-16T09:30:36Z")

</div>

To download Mapillary images with GPS coordinates using the v4 API, you can modify the Python code provided in the gist to include the `&fields=geometry` parameter in your API request to retrieve the GPS and [location](https://www.whereami.place/) coordinates along with the images, or you can add GPS coordinates to the images in a post-processing step by matching the images with their corresponding GPS data.
