Old-style (manual, not GPS) location tags all in one list please

Started by L_Carver, May 30, 2017, 05:06:17 PM

Previous topic - Next topic

L_Carver

I'd like to see such a thing, so I don't have to hunt them down on the Web, in manpages, etc.

The ones I'm most interested in getting the tag names for (both IPTC and XMP) would be

-City
-State
-Country <and>
-Country code

I usually use Location/Sub-location to describe a physical location, such as "Home, "Pool," "Beach" or "Street."

Hoping someone can take the time to post such a tag list. I'm sure it would be helpful to others.  :D

Carver
____________
Screen name comes from a story my ex-wife and I worked on for several years and never got past the first chapter. Llewellyn Carver was a Welsh drow elf living somewhere in New York state. Message me if you're curious to find out more.

StarGeek

Here's some that Geosetter has set in my images.

IPTC:Country-PrimaryLocationName
IPTC:Country-PrimaryLocationCode
IPTC:Province-State
IPTC:Sub-location
IPTC:City
XMP:City
XMP:Country
XMP:State
XMP:Location
XMP:CountryCode


Then there's the newer LocationCreated and LocationShown structures.  There are nine tags in these groups according to the XMP tag name page, six of which can be filled by Lightroom 4.4 and Adobe Bridge 7.  These tags are more complex, exiftool shows them as a list, but they're better thought of as columns in a spreadsheet, as you can have multiple entries.
XMP:LocationCreatedCity
XMP:LocationCreatedCountryCode
XMP:LocationCreatedCountryName
XMP:LocationCreatedGPSAltitude
XMP:LocationCreatedGPSLatitude
XMP:LocationCreatedGPSLongitude
XMP:LocationCreatedIdentifier
XMP:LocationCreatedLocationId
XMP:LocationCreatedLocationName
XMP:LocationCreatedProvinceState
XMP:LocationCreatedSublocation
XMP:LocationCreatedWorldRegion

XMP:LocationShownCity
XMP:LocationShownCountryCode
XMP:LocationShownCountryName
XMP:LocationShownGPSAltitude
XMP:LocationShownGPSLatitude
XMP:LocationShownGPSLongitude
XMP:LocationShownIdentifier
XMP:LocationShownLocationId
XMP:LocationShownLocationName
XMP:LocationShownProvinceState
XMP:LocationShownSublocation
XMP:LocationShownWorldRegion


There's also some location tags with regards to CreatorContactInfo, but I'm assuming that probably isn't quite what you're looking for.

Further info can be found in MWG Guidance pdf, Section 5.8 and IPTC Standard Photo Metadata pdf
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

StarGeek

Further example of LocationCreated  and LocationShown.

Here's how Bridge shows the info:


If you want to add more locations, just click the corner folded paper in the upper right of that image and it gives you another listing to fill out.

The output from exiftool on that file looks like this:
C:\>exiftool -g1 -a -s -LocationShown* "X:\!temp\test\20140404_040405.jpg"
---- XMP-iptcExt ----
LocationShownCity               : New York City, Los Angeles
LocationShownProvinceState      : New York, California

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

StarGeek

Your post got me thinking that a shortcut for the first group of tags might be useful to show all that info at once.  This can be added to the Shortcut section of the exiftool config file to do so.

MyLocation  => ['IPTC:Country-PrimaryLocationCode','XMP:CountryCode','IPTC:Country-PrimaryLocationName','XMP:Country','IPTC:Province-State','XMP:State','IPTC:City','XMP:City','IPTC:Sub-location','XMP:Location'],

The other tags can easily be shown with -LocationShown* or -LocationCreated*
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype