ExifTool Forum

General => Metadata => Topic started by: TheSnowMan on December 27, 2014, 07:57:30 AM

Title: Address data tags?
Post by: TheSnowMan on December 27, 2014, 07:57:30 AM
Hi

Sorry for posting a possibly naive newbee question:

Are there any (standard) tags that could be used to record the (camera) location for an jpeg image?

I record GPS data for most images. Using for example https://pypi.python.org/pypi/geocoder would allow reverse geocoding to look up address info from coordinates. I'm looking for a way to write back the address data to images, preferably in a structured manner. 

Best Regards & Happy Holidays
Peter
Title: Re: Address data tags?
Post by: StarGeek on December 27, 2014, 05:31:00 PM
Looking over the xmp (http://www.exiftool.org/TagNames/XMP.html) and iptc (http://www.exiftool.org/TagNames/IPTC.html) in the docs, there doesn't seem to be anything.  There are a few address tags for the creator and licensor in xmp.

I would say just add the info the the Caption-Abstract and/or Description tags without overwriting anything you might already have in those tags.
Title: Re: Address data tags?
Post by: TheSnowMan on December 28, 2014, 06:58:37 AM
Thanks!

Strange that this was not included in the standards! :-)

My plan is to use exiftool to read out the image names and GPS coordinates for all images in a folder into a file, then use a reverse geocoder to look up address - or at least placename info and add that to each record in the file and then again use exiftool to add placename/address to Caption/abstract or Description tags. I might also use the placename as part of the file or folder names

Can anyone here figure out a better way? It must have been done before?

Best Regards
Peter
Title: Re: Address data tags?
Post by: Phil Harvey on December 28, 2014, 09:42:55 AM
I think you could use the XMP-iptcExt:LocationCreated tag for this purpose.

- Phil
Title: Re: Address data tags?
Post by: mrbrahman on December 23, 2022, 10:20:06 PM
Hi

It's now been 8 years since the last answer. Is XMP-iptcExt:LocationCreated still the best place to fit the reverse geocoded address? Also is there some format expected? Or is this free form?

Sorry for replying to the old thread, didn't want to open a new one for the exact same question

Thanks!
Title: Re: Address data tags?
Post by: Phil Harvey on December 24, 2022, 06:58:19 AM
This is probably still the best place.  LocationCreated is a structure with a number of elements.  See the ExifTool XMP iptcExt tags documentation (https://exiftool.org/TagNames/XMP.html#iptcExt) for more information.

- Phil
Title: Re: Address data tags?
Post by: mrbrahman on January 04, 2023, 12:59:26 AM
Thank you Phil!