RichW Posted May 29, 2006 Report Share Posted May 29, 2006 I did searches on the forum so I know this topic has been covered but I'm still missing the very basic piece. There are functions in the SDK to read variables from FS and convert latitutude and longitude but I would like to have the formula to do it manually. For example, I know latitude 34.07'81 = 34.130239 and longitude W83.54'35 = -83.905769 Is there any way I can get the formula. ThanksRich Link to comment Share on other sites More sharing options...
Pete Dowson Posted May 29, 2006 Report Share Posted May 29, 2006 I did searches on the forum so I know this topic has been covered but I'm still missing the very basic piece. There are functions in the SDK to read variables from FS and convert latitutude and longitude but I would like to have the formula to do it manually.For example, I know latitude 34.07'81 = 34.130239 and longitude W83.54'35 = -83.905769 Is there any way I can get the formula. ThanksRich You know there are 60 minutes in a degree? Of course you do! So 54.35 minutes is 54.35/60 degrees, which = 0.9058333 of a degree. Your value above is slightly inaccurate (rounded) -- the 54.35 must be an approximation. 0.905769 degrees is 54.34614 minutes (just multiply by 60). Similarly for latitude. There are still 60 minutes in a degree of latitude too. The signs in FS are - for W, + for E, and of course - for S, +for N. Easy eh? ;-) Pete Link to comment Share on other sites More sharing options...
RichW Posted May 29, 2006 Author Report Share Posted May 29, 2006 Now the solution seems so simple :oops: I really appreciate the quick response :D ThanksRich Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now