Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Publish Services - YouPic

Engaged ,
Jul 02, 2019 Jul 02, 2019

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

Best regards: Micke Seise
693
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 02, 2019 Jul 02, 2019

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.

Sean McCormack. Author of 'Essential Development 3'. Magazine Writer. Former Official Fuji X-Photographer.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 03, 2019 Jul 03, 2019

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.

Best regards: Micke Seise
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 03, 2019 Jul 03, 2019

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

Sean McCormack. Author of 'Essential Development 3'. Magazine Writer. Former Official Fuji X-Photographer.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 03, 2019 Jul 03, 2019

Yes, you think it should read both coordinates, but this is how it looks in Lightroom when you run the plugin:

2019-07-03_21h25_38.jpg

And in YouPic the location says:

2019-07-03_21h27_21.jpg

But the photo are taken i Sweden.

Best regards: Micke Seise
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 03, 2019 Jul 03, 2019
LATEST

I looked at Google Earth an Jazira Al Wusta Oman has this coordinates:

2019-07-03_21h44_08.jpg

Best regards: Micke Seise
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines