Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

Im a french (so sorry for my poor english ;-) ) complete newbie .

I have read the "FSUIPC Programmer Doc" and nowhere i 've found an offset to get the OACI airport Code .

My project is, when the Aircraft is landed , to control where it has landed and when.

is there a solution ??

or i have to create a database to make relation between longitude/latitude and OACI code ??

if so , does such a database existe somewhere

Sorry in advance if such a question have already been asked..

Thank's

Yann F-FLYC

Webmaster of http://www.airlorr.com

Virtual Companie for FS.

Posted

I have read the "FSUIPC Programmer Doc" and nowhere i 've found an offset to get the OACI airport Code .

It's ICAO. But which airport? FSUIPC knows nothing about airports. If you mean "nearest to position", then I haven't come across a way from inside FSUIPC to get such computations done for me by FS, though I assume it may do it somewhere for itself.

or i have to create a database to make relation between longitude/latitude and OACI code ??

if so , does such a database existe somewhere

The way most programs work is to make a database by scanning all the scenery files to locate the airport details. I did make a program to do this for FS2000/FS2002, but unfortunately the format changed in FS2004 and I've not had to to investigate this enough to write a new program.

There is a database of Weather Stations readily accessible in FS's files, but this will omit smaller airfields which are not also METAR stations.

Regards,

Pete

Posted

thank's for your fast answer Pete.

so , i think, I will create my database manualy ...Today my website offert only 74 destinations to ours pilotes...

Thank's again

ps : yes it's ICAOOACI is in French :wink:

best regards

Yann

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.