Project

General

Profile

Feature #488

GPSInfo Metadata should return decimal numbers

Added by fabien - about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
metadata
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hello,

We get these GPSInfo values for a geolocalized picture :

$ exiv2 -pt img_3320.jpg | grep GPSInfo
Exif.GPSInfo.GPSVersionID Byte 4 2 2 0 0
Exif.GPSInfo.GPSLatitudeRef Ascii 2 N
Exif.GPSInfo.GPSLatitude Rational 3 46/1 7/1 7347/625
Exif.GPSInfo.GPSLongitudeRef Ascii 2 E
Exif.GPSInfo.GPSLongitude Rational 3 6/1 6/1 2799/125
Exif.GPSInfo.GPSAltitude Rational 1 568/1
Exif.GPSInfo.GPSTimeStamp Rational 3 16/1 43/1 11/1

It would be great to have a more "human" output with decimal numbers, eg :
46 deg 7' 11.76" N, 6 deg 6' 22.39" E, 568 meters

Thanks !

History

#1

Updated by Andreas Huggel about 15 years ago

This

0x0000 GPSInfo GPSVersionID Byte 4 2 2 0 0
0x0001 GPSInfo GPSLatitudeRef Ascii 2 N
0x0002 GPSInfo GPSLatitude Rational 3 39/1 54/1 1123/100
0x0003 GPSInfo GPSLongitudeRef Ascii 2 E
0x0004 GPSInfo GPSLongitude Rational 3 11623/1000 0/1 0/1
0x0006 GPSInfo GPSAltitude Rational 1 543/1
0x0007 GPSInfo GPSTimeStamp Rational 3 18/1 7/1 37/1
0x001d GPSInfo GPSDateStamp Ascii 11 2003:11:23

now shows as

Exif.GPSInfo.GPSVersionID Byte 4 2 2 0 0
Exif.GPSInfo.GPSLatitudeRef Ascii 2 North
Exif.GPSInfo.GPSLatitude Rational 3 39

#2

Updated by Andreas Huggel about 15 years ago

Try svn rev. 886 and please feedback if this is useful.
-ahu.

Also available in: Atom PDF