Great Circle Paths between two lat/lon points

Topics: Windows Forms
Oct 18, 2011 at 12:16 AM
Edited Oct 18, 2011 at 12:16 AM

Hi there,

Just started using GMap.net and it's fantastic - got straight line paths between two points without any trouble :)

What I'd really like to be able to do is to plot a Great Circle path between two lat/lon points.  Does anyone have a code snippet for doing that (i.e. creating all the points on the path)?  I'm having trouble finding something useful on the net - it always seems to be inside another function/dll/library so I can't see how they do it.

I'd like to avoid reinventing the wheel where possible - does someone have a function which does this already?  (Preferably VB.Net but C# would be cool too!).

Cheers,

S.

Oct 22, 2011 at 10:29 PM

Never mind - figured it out - had my degrees and radians mixed up in the calcs.

Oct 22, 2011 at 10:36 PM

any chance to share the code?