Spriggsy
Spriggsy

Reputation: 306

What units does iOS GPS return speeds in?

I'm using the iPhone 4's built in GPS to return the date pos alt and speed.

However after looking for a long time I cant seem find what the speed is returned as, I know it's a double, but is this in meters per hour, feet, miles or what?

can anyone out there shed a clue??? thanks in advance.

Spriggsy.

Upvotes: 1

Views: 2475

Answers (3)

BlueskyMed
BlueskyMed

Reputation: 1305

If you read the EXIF tags standards doc, the allowable choices are K, M, or N for KpH, MpH, or Knots. The value Apple sticks in the GPSSpeed Field is however m/s while using K for the GPSSpeedRef (which violates the EXIF Standards)

Upvotes: 0

Oliver Charlesworth
Oliver Charlesworth

Reputation: 272517

If you read the documentation, you'll find that the very first thing it tells you is what units it's in (metres per second).

Upvotes: 3

TommyG
TommyG

Reputation: 4155

Meters / second are the units of the speed

Upvotes: 6

Related Questions