Lightroom: Latitude/longitude improperly rounded when stored in metadata preset

  • 3
  • Problem
  • Updated 1 year ago
  • Solved
When you create a metadata preset using Save Current Settings As New Preset, LR incorrectly rounds the coordinates of the selected photo to the nearest second before saving them in the preset.   When the preset is applied to another photo, it will get the rounded coordinates, rather than the original.    On average, this can result in the second photo being about 17m / 55' away from where it should be.

Tested in LR CC 2015.10 / OS X 10.12.3.

To reproduce:

1. In the Map module, select a photo A in the filmstrip.

2. Paste these coordinates into the Metadata > Location > GPS field:

37.899630, -119.221138

(which is 37° 53' 58.668" N, 119° 13' 16.0968" W).

3. In the Preset dropdown, select Edit Presets.

4. Do Check None and then check the box to the right of GPS.

5. Save the preset as "Test GPS".

6. In the filmstrip, select another photo B and apply the metadata preset Test GPS.

7. Zoom in the map all the way and observe that photo B is about 12m from photo A.

8. Open the file "Test GPS.lrtemplate" and observe that it contains the coordinates incorrectly rounded to the nearest second:

["com.adobe.GPS"] = "37°53'59\" N 119°13'16\" W",

9. Use the command File > Plug-in Extras > Show Catalog Metadata > Show from this plugin and observe that LR has stored photo A's coordinates in the catalog correctly, without rounding:

    gps = {latitude = 37.89963, longitude = -119.221138}

----------------------------
A very inconvenient workaround is to obtain the exact decimal coordinates from the Show Catalog Metadata plugin and paste them into the GPS field of the preset.

This bug may be related to another longstanding bug, where LR displays coordinates in the Metadata panel rounded to the nearest second: https://feedback.photoshop.com/photoshop_family/topics/gps_coordinates_cannot_be_entered .  

But it may be a completely different code path, so the bug reports shouldn't be merged.
Photo of John R. Ellis

John R. Ellis, Champion

  • 4290 Posts
  • 1138 Reply Likes

Posted 2 years ago

  • 3
Photo of garima aggarwal

garima aggarwal, Employee

  • 10 Posts
  • 1 Reply Like
Hi John,

Thanks for reporting the issue. We are able to reproduce this and will look into it.

Thanks,
Garima
Photo of Melissa Rios

Melissa Rios, Lightroom Support Product Manager

  • 104 Posts
  • 25 Reply Likes
Official Response
Hi all,

This issue should be fixed in today's Lightroom Classic CC 7.2 version. Please update your application and let us know if you still see this issue!

Lightroom Classic CC 7.2 is now available!

Thanks,
Melissa
Photo of BlueberryLover

BlueberryLover

  • 10 Posts
  • 0 Reply Likes
Hi Melissa,

My concern is that my version of LR may not be exporting full precision GPS coordinates to EXIF data.

Can you let me know if the precision issue was also addressed in earlier versions of LR Classic. I'm currently on LR 6.14.


Sincerely,

David
Photo of Smit Keniya

Smit Keniya, Employee

  • 223 Posts
  • 99 Reply Likes
Hi,

We addressed this issue in Lightroom Classic 7.2.

Lightroom 6.14 does not have this fix.

Thanks,
Smit Keniya
Lightroom Classic CC Team.
Photo of BlueberryLover

BlueberryLover

  • 10 Posts
  • 0 Reply Likes
Hi Smit,

Thanks very much for the quick reply. I was comparing the Save Metadata coordinates to the coordinates with the closest timestamp in my .GPX tracklog (i.e. emulating the Auto-Tag feature).

It seems to me the LR6.14 only retains about 5 decimal digits of precision for latitude and longitude stored in degrees (despite the saved metadata having 10 digits). If correct, it implies that intrinsic precision in LR 6.14 results in no better than about 1 meter location accuracy.

Does this match your understanding? It's quite important to me as I am considering purchasing a rather expensive GPS receiver that has about 1 meter accuracy and would only do so if that accuracy is preserved within the LR Map Module and EXIF exporting.

Sincerely,

David
Photo of John R. Ellis

John R. Ellis, Champion

  • 4290 Posts
  • 1138 Reply Likes
I verified this is fixed in LR 7.2, thanks!