Lightroom Classic: Metadata panel truncates, rather than rounds, GPS coordinates at thousandths of a second

  • 1
  • Problem
  • Updated 2 months ago
  • Solved
  • (Edited)
When displaying GPS coordinates, the Metadata panel truncates, rather than rounds, GPS coordinates at thousands of a second. This corresponds to an error of about 3.1 cm of latitude or longitude at the equator. While obviously not of concern to most users, commonly used augmented GPS systems can produce sub-centimeter accuracy. 

See this original report of the problem: 
https://community.adobe.com/t5/lightroom-classic/gps-data/td-p/10789291

To reproduce:

1. Select a raw photo in Library.

2. Copy and paste this into the Metadata panel's GPS field: 0°0'0"N 9°53'31.787" E.

3. Observe that the field now incorrectly displays: 0°0'0"N 9°53'31.786" E. 

4. Observe that the longitude stored internally in the catalog (targetPhoto:getRawMetadata ("gps").longitude) is correctly: 9.892163055555 = 9°53'31.786999998".  Rounding that to thousands of a second yields what was input, 9°53'31.787, while truncating it yields what was displayed, 9°53'31.786.
 
5. Do Metadata > Save Metadata To File.

6. Observe that the raw's .xmp file correctly contains this:
exif:GPSLongitude="9,53.5297833333E"
which is equal to 9.892163055555, the value stored internally in the catalog.

Tested on LR 9.0 / Mac OS 10.14.6.
Photo of John R. Ellis

John R. Ellis, Champion

  • 4945 Posts
  • 1378 Reply Likes

Posted 4 months ago

  • 1
Photo of Smit K

Smit K, Employee

  • 269 Posts
  • 137 Reply Likes
Hi John,

Thanks for the detailed steps. We have logged a bug for this.

Thanks,
Smit
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 6966 Posts
  • 1573 Reply Likes
Updates to Lightroom Classic, Camera Raw, and the Lightroom Ecosystem were released yesterday and contain a fix for this issue.  Please install the appropriate update and see if it solves this problem. You can read more about the updates here.

Thank you for your patience. 
Photo of John R. Ellis

John R. Ellis, Champion

  • 4945 Posts
  • 1378 Reply Likes
I tested that the bug recipe above is now correctly handled by LR 9.2, thanks.