About this format, is this the only data that is sent ? What about aircraft, registration and those?
Aonther question, how is the latitude format (in this example) -14.1102 turned into the format
X° XX’ X” E and vice versa? As i probably don't have destination data for all aircraft captured, I think my SMS sender will send SMS if an "new" aircraft gets within a specified distance from the airport, and below a specified altitude. So I need to calculate distances in my own scripts.. Waiting for my RadarBox now, ordered two days ago :)
Aircraft registration - not needed as all aircraft are identified using the 6 figure Hex Mode S code. Your routine would need to match this code to find the registration, so you would need a Mode S to Registration database.
Type of Aircraft - same story, no need to transmit the aircraft type using Mode S as type will also be identified from the Mode S Hex code
Destination or route - This is not required as this will be in the Air Traffic Control flight plan computer system, so controllers will always know the route if a flight plan has been filed. Again, you will need a Flight ID to Route database - not easy due to the many different styles of ID entered by the flight crew - or sometimes not entered at all!
Converting lat/lon formats - loads of information on the web here, so do a Google search, however, there are 60 seconds in a minute and 60 minutes in a degree. The format you are looking for is:
Degrees, Minutes, Seconds
Your example of -14,1102
the "-" indicates West of datum
the "14" is degrees
60 x .1102 gives you 6.612 minutes
60 x .612 gives 36.72 seconds
Therefore:
-14.1102 = W14 6' 36.72"
I sure you can work it out the other way.
See the online convertor below:
http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html