ExifTool Forum

General => Metadata => Topic started by: eed on July 30, 2022, 04:28:06 PM

Title: What tag to use to store addresses in JPG metadata?
Post by: eed on July 30, 2022, 04:28:06 PM
Hello.
I'm a developer of the JpgKeywords program ( https://eedsoft.com/ )
This is a program to tag jpg photos with keywords. JpgKeywords program uses exiftool.
Now I want to add the ability to geotag photos. I have no problem storing GPS coordinates in JPG.
But I also want to store the address where the picture is taken as well as the GPS coordinates.
This should be some metadata field to describe the place. User can input this manually.
This can be an exact address like city, street, number etc...
Or can be a free description like "My home", "At work" etc...

My question is: What is the more suitable metadata field to use for that? (only for JPG files).
Is there some standard for this? Suggestions?
Title: Re: What tag to use to store addresses in JPG metadata?
Post by: Jom on July 30, 2022, 04:47:57 PM
Look at IPTC standard:

https://iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#location-created
https://iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#location-shown-in-the-image

This is (links above) structure of metadata:

https://iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#location-structure

There's still a lot of interesting metadata out there.
Title: Re: What tag to use to store addresses in JPG metadata?
Post by: Jom on July 30, 2022, 05:22:19 PM
To be even more precise, you probably need this tag

11.9.10. Sublocation
Title: Re: What tag to use to store addresses in JPG metadata?
Post by: eed on July 31, 2022, 06:56:25 AM
Thank you, Jom.