Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 Re: CE4 Gallery » Random GPS coordinates on gallery export from Lightroom » 2019-09-04 18:00:28

I realise this thread is over a year old but thought I'd add my comments in case anyone else is encountering the same problem, as I've found a fix.

I'm using CE3 (I know it is no longer supported), recently started taking photographs with a phone with inbuilt GPS and discovered all GPS coordinates appear random when clicking the Google Maps link from exported galleries.

The problem is that a pattern matching string in the CE3 Web Gallery lib\lua\google-maps.lua (and also lib\lua\google-maps-mobile.lua) is not matching the degrees part of the GPS coordinate, returning the coordinate from the minutes digits instead. It appears that the pattern match is not treating the decimal point in the seconds part of the coordinate as a numerical value but as a non alpha-numeric value.

Changing:

local dms_pattern = "%d+%W+%d+%W+%d+%W+%u"

to:

local dms_pattern = "%d+%W+%d+%W+%d+%W+%d+%W+%u"

fixes the problem.

Assuming this used to work in previous versions of Lightroom, I'm guessing Adobe changed a lua library that breaks the pattern match.

I don't have CE4 but suspect the fix will work on that version as well.

Board footer

Powered by FluxBB