Generate Keyword Tags in Lightroom from Picture Location Information

  • 1
  • Question
  • Updated 4 years ago
Is there a way to generate Lightroom keywords based on the information in a picture's geotag? Ie: If I have a picture from Rome, I'd see the tags for Italy, Lazio, Rome all created in my Keyword tag. (if they didn't already exist)

If this isn't a native LR feature, is there a plugin for doing this?
Photo of lestatthief

lestatthief

  • 8 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of John R. Ellis

John R. Ellis, Champion

  • 3691 Posts
  • 963 Reply Likes
The LR/Transporter plugin has nearly the features you want. It lets you add keywords to exported photos based on the IPTC location fields (country, state, city, etc.), and in general, it lets you set one metadata field based on the values of other fields. But it doesn't let you add keywords to photos currently in the catalog based on the value of other metadata fields.

I'm not aware of other plugins that would do what you want. The free program Exiftool has the capability, but it has a steep learning curve, especially for non-technical users.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Would it suffice to do this upon export, or do you need for in-Lightroom purposes too (if so, do tell..).

I mean, to answer your questions specifically:

No (it's not a native Lr feature), and
No (there are no plugins I know of that will do this, without a bit of tweaking anyway).

That said, I have plugins that could do such stuff with a bit of tweaking, but I'm not sure whether it would be better to do upon import, after import, upon export, ...

UPDATE:
-----------
What is the use-case for this? I mean, I try *not* to replicate metadata info, and so never want to put location info in keywords. I'm not saying you shouldn't want to, just curious what you're up to..
-----------

Rob
Photo of lestatthief

lestatthief

  • 8 Posts
  • 0 Reply Likes
The basic steps I would like to happen:

I import a new set of pictures. I apply the geotags to it from my GPX file. Afterward, a plugin or something looks at the populated location information and checks if I have a Keyword tag for that location. If no location tag for that location exists, create one.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Got it. still curious why though..

I'm not trying to give you a bad time, really just curious why it does not suffice to have the location info as, well, location info.

In other words, what is the "value added" having the location info in keywords too?

I'm not saying there isn't any, I'm just asking...

Is it for the sake of exported files, or will you be using location keywords in Lightroom too, e.g. in lib filter or smart collection..
Photo of lestatthief

lestatthief

  • 8 Posts
  • 0 Reply Likes
No worries. Part of the reason is the system I had set up when I was still using Elements for my Photo management. I have a large amount of Keyword tags that are from my Elements catalog that i'd like to continue to use. During this course of this conversation, I did discover there are ways to use the Metadata searches in the top of LR to do something similar to this. That said, I guess because I've got a system already established for myself to dig through the pictures is why I'm interested in simplifying my approach to generating new Keyword tags.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
In here is a simple script which will translate location metadata to keywords:

http://www.robcole.com/Rob/ProductsAn...

Script name: 'Location Info To Keywords'.

It does:
* location
* city
* state or province
* country
by default.

It can be customized to do any other fields too..

Rob
Photo of lestatthief

lestatthief

  • 8 Posts
  • 0 Reply Likes
I've followed the directions on your site and did not see the new Scripts menu to the right of the Help drop down menu. Does the misc scripts still work on LR 5.5?
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
I just double-checked and could not spot any errors or omissions in those instructions, but that does not mean there aren't any ;-}

But also, consider reviewing them another time in case you missed a step, or did a step wrong.

If still no go, feel free to contact me outside the forum for more assistance, e.g.

http://www.robcole.com/Rob/ContactMe

PS - All scripts are Lr5.5 compatible..
Photo of lestatthief

lestatthief

  • 8 Posts
  • 0 Reply Likes
I see what I did wrong. It works. Thanks, this is perfect.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Good to hear :-)