How can I get angle between two points if I have their longitudes and latitudes.

Angles are formed by three points.

3 Likes

taking north direction as a line for refrence.

1 Like

So, north will be 0 or north will be 90?

I can do that in the canvas, but never tried it in maps.

Maybe you can adapt it. These blocks will return 0 for north.

1 Like

You have to use trigonometric triangle resolution.

To calculate the angle you need to know the distance of the sides of a triangle. You need to know at least 2 sides to calculate the angle…

You can see it better in any google search with the words “resolution of rectangular triangles”

In your drawing you need to know the distance between a and b and the distance between A and C

Then it would be:

COS γ = AC / AB

1 Like