GNOME Bugzilla – Bug 725416
GPS information are shown without decimal values
Last modified: 2014-02-28 23:07:55 UTC
Forwarded from debian BTS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698795 by Sandro Tosi <morph@debian.org> ---------------- Hello, when looking at the GPS information of an image I can see those info only at the degree level, with the decimal part set to 0 (screenshot attached). If I look at them with the exiv2 command I can obtain the full information: $ exiv2 -PE <image> | grep GPS Exif.Image.GPSTag Long 1 742 Exif.GPSInfo.GPSVersionID Byte 4 2.2.0.0 Exif.GPSInfo.GPSLatitudeRef Ascii 2 North Exif.GPSInfo.GPSLatitude Rational 3 43.7920949deg Exif.GPSInfo.GPSLongitudeRef Ascii 2 East Exif.GPSInfo.GPSLongitude Rational 3 11.2441707deg Exif.GPSInfo.GPSAltitudeRef Byte 1 Below sea level Exif.GPSInfo.GPSAltitude Rational 1 0.0 m Exif.GPSInfo.GPSTimeStamp Rational 3 11:31:22 Exif.GPSInfo.GPSProcessingMethod Undefined 8 65 83 67 73 73 0 0 0 Exif.GPSInfo.GPSDateStamp Ascii 11 2013:01:17 Please let eog show the full GPS information. Thanks & Regards, Sandro ---------------- screenshot shows the DEGree component only. no MIN or SEC values (bad convertion ?!) thanks regards althaser
Created attachment 270592 [details] image with GPS coordinates
(In reply to comment #0) > screenshot shows the DEGree component only. > > no MIN or SEC values (bad convertion ?!) Yep, looks like it. The difference from the other test images I had is that this image encodes the whole coordinate value in the field for the degree component (which a huge divisor) leaving the minute and second fields at 0.
commit 1b0fb6b3e06bd2cc8e8055c0847d75311685f7c9 Author: Felix Riemann <> Date: Fri Feb 28 22:52:56 2014 +0100 EogMetadataDetails: Improve fractional GPS coordinates support Increase displayed coordinate resolution for Exif GPS coordinates that use fractional degrees for minutes or fractional minutes for seconds. https://bugzilla.gnome.org/show_bug.cgi?id=725416 --- This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Err, somehow part of my text got lost in the last comment. The fix tries to recover minutes and seconds from the fractional part of the next "larger unit" if the corresponding Exif field is 0.
thanks Felix :)