Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I'm making a flight recorder for a virtual airline and I need to log pilots' actions but I'm having some problems. I need to know if the pilot lands at the correct airport, what the nearest airport is and if he is on runway or not. I couldn't figure out a way to get theese information out of FSUIPC. Any help would be appreciated .

Thank You

PS:I'm using Visual Basic

Posted
I'm making a flight recorder for a virtual airline and I need to log pilots' actions but I'm having some problems. I need to know if the pilot lands at the correct airport, what the nearest airport is and if he is on runway or not. I couldn't figure out a way to get theese information out of FSUIPC. Any help would be appreciated .

All you can get is a precise latitude and longitude. The rest you have to look up in a database formed from a complete scan f the user's scenery files.

I do provide a freeware program called "MakeRunways" (derived from its original function which was just to make a runway database). This will do such a scan and it produces a number of records in both binary and CSV (comma separated value) format. Please see the Downloads announcements above, or go to www.schiratti.com/dowson.

Regards

Pete

Posted

Thank you for your answer Pete, my problem is about using those values in the database. For example, I have coordinates of a runway's four edges in the database and I know the plane's current coordinates but I couldn't figure out how to check if the plane is on runway or not. Plane might have plenty of different coordinates while on the runway so I can not compare with only one coordinate I guess I need a mathematical equation but I couldn't make up one. So if there is anyone who also made something like this before I would really appreciate your help.

Thank you

Posted

Hey Pete,

is there any chance you would give me the source code of your MakeRwys tool, or point me to where I can find more info about the format of the scenery files and how to decode them? I am especially interested in getting terrain elevation for a GPWS and a map presentation that I am currently working on for university.

Greetings

Florian

Posted

is there any chance you would give me the source code of your MakeRwys tool, or point me to where I can find more info about the format of the scenery files and how to decode them? I am especially interested in getting terrain elevation for a GPWS and a map presentation that I am currently working on for university.

MakeRunways wouldn't help with that -- in fact I don't know how you'd get that data. You need the terrain mesh format. Maybe it is included in the BGL format documents I found, maybe not. They are by Winfried Orthmann. Go to AVSIM, do a library file search on his name "Orthmann". You will find lots of utilities for analysing BGLs and good documents in PDF form. There's one for FS2004 and a later one for FSX -- if you can't find the latter and you need FSX let me know.

Pete

Posted

Thank you very much, Pete. I found several files at AVSIM, both for FS9 and FSX. Maybe these documents and tools will provide me with the information I was looking for...

Greetings

Florian

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.