After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725416 - GPS information are shown without decimal values
GPS information are shown without decimal values
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: image viewer
3.11.x
Other Linux
: Normal normal
: GNOME3.12
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-28 19:01 UTC by Pedro Beja
Modified: 2014-02-28 23:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
image with GPS coordinates (558.91 KB, image/jpeg)
2014-02-28 19:04 UTC, Pedro Beja
Details

Description Pedro Beja 2014-02-28 19:01:56 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
Comment 1 Pedro Beja 2014-02-28 19:04:27 UTC
Created attachment 270592 [details]
image with GPS coordinates
Comment 2 Felix Riemann 2014-02-28 20:52:21 UTC
(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.
Comment 3 Felix Riemann 2014-02-28 22:06:47 UTC
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.
Comment 4 Felix Riemann 2014-02-28 22:10:04 UTC
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.
Comment 5 Pedro Beja 2014-02-28 23:07:55 UTC
thanks Felix :)