views:

59

answers:

1

Is there a way to calculate angle between two Latitude/Longitude points?

What I am trying to achieve is to know where the user is heading. For example, user is heading North, South,.... South-East, etc.

But I have only two points (Lng/Ltd)

Thx

+1  A: 

I think you want the calculations for the Great Circle bearing.

High Performance Mark
Hi HPM, no I do not need Great circle bearing. Just need the angle :)
praethorian
@praethorian -- two Latitude/Longitude points define (an arc of) a Great Circle, you'll have to explain what you mean by the angle between them.
High Performance Mark
I have edited the top question. thx
praethorian
@praethorian: I think you want the calculations for the Great Circle Bearing.
High Performance Mark