Jump to content
The simFlight Network Forums

!! HELP ME !! - READ ICAO CODE OF ORIGIN AND DESTINY


Recommended Posts

I AM DESIGNING IN VB A FLIGHT REGISTRY, BUT NOT AS TO FIND THE CODES ICAO OF THE ORIGIN AIRPORTS AND DESTINY WITHIN THE FLIGHT PLAN IN FS :oops:

Please find your "Caps Lock" key and turn it off.

FS plans are simple text files. You can read the plan and find the information you want quite easily. For example, in this short plan:

[flightplan]
AppVersion=9.1.40901
title=EGCC to EGCK
description=EGCC, EGCK
type=IFR
routetype=3
cruising_altitude=6000
departure_id=EGCC, N053° 21' 54.0756", W002° 17' 05.1699", +000256.99
departure_position=GATE 241
destination_id=EGCK, N053° 05' 59.7127", W004° 20' 32.3401", +000000.99
departure_name=Manchester
destination_name=Caernarfon
waypoint.0=, EGCC, , EGCC, A, N053° 21' 54.0756", W002° 17' 05.1699", +000256.99, 
waypoint.1=EG, WAL, , WAL, V, N053° 23' 30.9855", W003° 08' 04.0008", +000000.00, 
waypoint.2=, EGCK, , EGCK, A, N053° 05' 59.7127", W004° 20' 32.3401", +000000.99,

you can readily see that the departure ID is given as the first field in the line "departure_id" and the destination ID is given as the first field in the line "destination_id".

Pete

Link to comment
Share on other sites

I am going to follow your advice, will look for the text file with the plan :D

It's the file with the name you gave it (or the same as the Flight name if saved with that), but with file type 'PLN'. You'll find all of your FLT and PLN files in the "My Documents\Flight Simulator Files" folder.

Regards

Pete

Link to comment
Share on other sites

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.