Further to my flight plan hacking (which is coming along nicely):

Is there any code in Sim/FlightGear to do generic conversion of a lat /
lon string into a decimal degree value?

I.e, something that would accept and convert some / all of the
following:

N50 23.1
-96.32
E00 06.3

into a sign-correct floating point format.

[and any other formats people would use]
Note I'm only worrying about parsing either lat or lon, not a combined
value string (though I guess people might want that too)

And, if it doesn't exist, any suggestions how do a vaguely elegant
implementation?

H&H
James

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to