Copy link to clipboard
Copied
Is there anybody that uses the YouPics Lightroom plugin version 0.3? I downloaded this but noticed that the most fields will not be filled as they supposed, it shall fill in location after gps but for me this fields are empty: Title. description, tags and location. Sometimes it shows wrong location somewhere else in the world.
Regards Micke
Copy link to clipboard
Copied
Looks like the code is in plain text and the Plugin was written by Jeffrey Friedl. Dated 2011 though. It's not a publish service looking a the code, just an export plugin?
The code literally reads the gps from the file, so it may not be in correctly. There was a bug at one point that mapped it the wrong longtitude, so Irish photos ended up off the coast of Africa..
Also it's possible that Lightroom has changed what it calls metadata internally, so it's no longer calling the right thing.
Copy link to clipboard
Copied
Yes it's a export plugin by Jeffrey, and it seems that it only reads the Longitude and not the latitude so it ends somewhere else. I have an older version 0.2.3 of the plugin and it fills all fields apart from that it adds only the city and country no specific location.
I can always upload the images on the site without the plugin.
Copy link to clipboard
Copied
Ironically internal aspects of the plugin are still at 0.2.3, even though the plugin is a 0.3.
The code is definitely reading both longitude and latitude:
-- Get longitude and latitude from GPS string
function getLongLat(str)
local list = {}; i=0
for resp in string.gmatch(str, "%S+") do
list = resp
i = i+1
end
local long = {}; i=0; local mem = ""
for resp in string.gmatch(list[0], "([^°]+)") do
if i==0 then
long[0] = tonumber(resp)
else
mem = resp
end
i = i+1
end
i = 1
for resp in string.gmatch(mem, "([^\']+)") do
if i==1 then
long = tonumber(resp)
else
long = string.gsub(resp, "\"", "")
long = tonumber(long)
end
i = i+1
end
local longSign = list[1]=="N" and 1 or -1
local lat = {}; i=0; local mem = ""
for resp in string.gmatch(list[2], "([^°]+)") do
if i==0 then
lat[0] = tonumber(resp)
else
mem = resp
end
i = i+1
end
i = 1
for resp in string.gmatch(mem, "([^\']+)") do
if i==1 then
lat = tonumber(resp)
else
lat = string.gsub(resp, "\"", "")
lat = tonumber(lat)
end
i = i+1
end
local latSign = list[3]=="E" and 1 or -1
resp = {}
resp[0] = longSign*(long[0]+(long[1]*60+long[2])/3600)
resp[1] = latSign*(lat[0]+(lat[1]*60+lat[2])/3600)
return resp
end
Copy link to clipboard
Copied
Yes, you think it should read both coordinates, but this is how it looks in Lightroom when you run the plugin:

And in YouPic the location says:

But the photo are taken i Sweden.
Copy link to clipboard
Copied
I looked at Google Earth an Jazira Al Wusta Oman has this coordinates:

Find more inspiration, events, and resources on the new Adobe Community
Explore Now