My target is to write a program for my cockpit without using the menus of the FS. On this program I want to set my aircraft to an airport and there on a runway. It should be like a small instructor station. So I have to know the position (longitude, latitude, altitude, heading) of each runway in FS. I read out this data with the program "Super FlightPlanner" which generates a database of all these datas from FS and allows to export this data to a csv-file.
Here an example how this file looks:
This is just the header:
"AirportId";"RunwayId";"Lat";"Lon";"Alt";"Heading";"Surface";"Length";"Width"
These are the data:
"KSEA";"16L";47,447317;-122,307860;428;180,34;"ASPHALT";11893;149
"KSEA";"34R";47,447317;-122,307860;428;180,34;"ASPHALT";11893;149
"KSEA";"16R";47,450699;-122,311069;428;180,34;"CONCRETE";9419;149
"KSEA";"34L";47,450699;-122,311069;428;180,34;"CONCRETE";9419;149
You can imagine that it is really important for me that the aircraft has exactly the position on the runway.
Yes, I use this information. for KSEA 34R it is N47 25.89' W122 18.48'
Maybe you can explain me how I can calculate from the coordinates above (N47 25.89' W122 18.48') to that one which gives FSUIPC if I read out the position (long/lat) from my aircraft on KSEA 34R. So it will be easier for me to check and complain the data with the information read out from the FS by SuperFlightPlanner (text-file). Well I think you have more knowledge in this material then anyone else so I hope you can help me and understand my problem.
Andy