Email or username:

Password:

Forgot your password?
Keith Jenkins

EXIF image metadata has the craziest way to store lat/lon coordinates that I've ever seen... a sequence of 3 (degrees, minutes, seconds) values stored as rational64u numeric types

Screenshot showing latitude stored as a sequence of 3 custom number types.  3 because of degrees, minutes, and seconds.  Each component number is a "rational64u" value, with numerator and denominator values.
8 comments
Keith Jenkins

I've never heard of "rational64u" data types before -- was this something invented just for EXIF?

Luis Herrero

@kgjenkins ffmpeg also uses something similar for framerate, but it makes a lot of sense there.

Here... I do not know why. Maybe the people that did it hated IEEE 754? Just kidding. I bet they try to avoid precisión issues when converting to text, but this is only a random guess.

Raúl Nanclares 🍜

@kgjenkins
Uhg , wonder why someone would need that structure...

Keith Jenkins

They should have just simplified the standard and just gone with decimal degrees!

Go Up