# Photos and localization

**URL:** <https://gramps.discourse.group/t/photos-and-localization/254>\
**Category:** Help\
**Tags:** metadata\
**Created:** [February 24, 2020, 9:23am UTC](https://gramps.discourse.group/t/photos-and-localization/254 "2020-02-24T09:23:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [February 24, 2020, 9:23am UTC](https://gramps.discourse.group/t/photos-and-localization/254/1 "2020-02-24T09:23:46Z")

</div>

Hello,

You all know the possibility of associating a face on a part of a photo in the media with an individual, but would you know a way to geolocate it (we can hack the exif, of course)?

I came across this tweet [fr] this morning and I was wondering how Gramps could help me on this one:

> <https://twitter.com/Armorod_/status/1231342690358497281?s=19>

The best of course would be to be able in geography to display these photos on the map as seen in the images of the tweet.

Do you have ideas or have seen plugins that allow this?

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [February 24, 2020, 12:40pm UTC](https://gramps.discourse.group/t/photos-and-localization/254/2 "2020-02-24T12:40:43Z")

</div>

The easiest way would be to add the media to a place and then enhance the geography views.

We already have a gramplet that uses [gexiv2](https://wiki.gnome.org/Projects/gexiv2) to read image metadata. It is an optional dependency.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [February 24, 2020, 1:04pm UTC](https://gramps.discourse.group/t/photos-and-localization/254/3 "2020-02-24T13:04:36Z")

</div>

What I was thinking of was quite the opposite: associate a place with an image rather than an image with a place

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [February 24, 2020, 4:32pm UTC](https://gramps.discourse.group/t/photos-and-localization/254/4 "2020-02-24T16:32:39Z")

</div>

That seems backwards. A still image could only show one place but there might be many images of any given place.

And you might also want to associate it with an Event &/or People.

---

<div class="post-metadata">

**Author:** ![StoltHD](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@StoltHD](https://gramps.discourse.group/u/StoltHD)\
**Post date:** [February 24, 2020, 8:27pm UTC](https://gramps.discourse.group/t/photos-and-localization/254/5 "2020-02-24T20:27:23Z")

</div>

There are tools out there that do that, but not for Gramps…

Everyone working with images should use a real DAM solution for there high res images to add metadata (exif, xmp)…

There are multiple open source and free alternatives that works on all three platforms…  
Digikam, Darktable, shotwell (Linux), irfanview (Windows)…  
Here is a list of 5 for Linux…

If you dont want to take control of your assets with a DAM tool, ExifTool will do it for you, and you can find GUI’s for ExifTool…

piexif are a python tool for manipulating exif data:

> **[piexif](https://pypi.org/project/piexif/)**
>
> To simplify exif manipulations with python. Writing, reading, and more...

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [March 25, 2020, 8:27pm UTC](https://gramps.discourse.group/t/photos-and-localization/254/6 "2020-03-25T20:27:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
