Skip to content

Geocoding: Using GPS Data in Your Lightroom Workflow

I’m very excited to get my copy of Photoshop User magazine with my feature article on using GPS with Lightroom!

june09_large1

It is in the June 2009 issue. If you are a NAPP member it should be hitting your mailbox now, but you can also pick up a copy on most newstands that carry photography magazines.

In the article I referenced a couple of ways I include GPS data during output. One of the ways is in my blog posts that have the GPS tag. I do this using a Lightroom export plugin called LR2/Blog. Using LR2/Blog I can export directly to a wordpress template for my blog. In this template I can pull metadata from my photos and insert that right into the blog post itself.

LR2 blog

The other way I use GPS data in my output is with a Lightroom web gallery template. Here is an example gallery you can take for a spin. The gallery being used in that example is the default HTML gallery that comes with Lightroom … with a few minor modifications. Lightroom can display the GPS coordinates just fine out of the box. You just need to create a custom text template that pulls the GPS data. This is what I did to display the data above each photo in the close up view page. That is the easy part.

The hard(er) part is that I went under the hood in the gallery code to create the “Map This” link you see below each photo. In addition to creating the link I also had to format the GPS coordinate data a little so that Google Maps could read it correctly and display the correct location when you click the link. This isn’t brain surgery, but it probably deserves a tutorial of its own to show you how I did it (so stay tuned!).

I hope you find the article helpful and please let me know if you have any questions or links to other resources!

7 thoughts on “Geocoding: Using GPS Data in Your Lightroom Workflow”

  1. Hi Rob,
    I have tried to include GPS data on my own but your tag seems better. Where can I find the GPS tag?

    Regards
    Jens

  2. Rob-

    Thanks for this great post. I’ve been reading the LR forum thread as well trying to understand how you guys are accomplishing this. I seem to be hung up on understanding how to open and modify the detail.html file and where/what to add if I could get it open. Have you thought about finishing the follow-up tutorial that you hinted at earlier? Thanks again for the post, and the info on the thread.

    Life is Grand!

  3. Hi Aaron,

    I used a simple plain text editor to modify the detail page. Finishing that tutorial is still on my list, but just haven’t gotten around to it yet. Would be nice to do before the year is out!

    1. I never did get around to the tutorial, but I there is a forum thread on the subject that went over how to hack the code to properly display the GPS data in a link. I’ll have to see if I can dig that up. I’d hoped a third-party web gallery might have come along that included that info, but alas to my knowledge there isn’t one.

Comments are closed.