This one is beyond me.
I'm trying to work out the compass bearing of a direct (rhumb line, constant bearing) route between two points on a sphere using latitude and longitude in radians. I've found a formula online but don't understand a word of it:
Someone much clevered than me has posted this in javascript:
And I dont speak java. I vaguely get the first line but don't understand the var q = line at all. Does anyone speak Java in here?
And yes, I realise I've put a formula in [ code ] tags but it may as well be in code.....a 64bit encrypted code.
Bookmarks