PhoenixRET Posted April 26, 2003 Report Posted April 26, 2003 Can anyone tell me where I can get Information on reading .bgl files. To be more specific I need to build an Airport list that I can compare to the Lat and Long pulled from FSUIPC. Thanks In Advance :)
PhoenixRET Posted April 26, 2003 Author Report Posted April 26, 2003 Can anyone tell me where I can get Information on reading .bgl files. To be more specific I need to build an Airport list that I can compare to the Lat and Long pulled from FSUIPC. Thanks In Advance :)
Pete Dowson Posted April 26, 2003 Report Posted April 26, 2003 Can anyone tell me where I can get Information on reading .bgl files. To be more specific I need to build an Airport list that I can compare to the Lat and Long pulled from FSUIPC. Do you want the positions of the airport's as defined by where the visual scenery is placed, or where the AFD (airport facility data) says things are? They are distinct and come from separate types of BGL file. The airport runway thresholds, taxiways, parking spots and tower positions are defined in the AFDs. Programs like AFCAD and Trafficboard are capable of reading those and displaying maps. I have a program which scans them all and produces databases for FStarRC and for Radar Contact 3. The FStarRC file is binary, but the RCV3 one is CSV (comma separated variable format) and can be read easily. It also produces a text file giving most details, but this becomes huge. For visual scenery there used to be a number of programs around which could decode or disassemble them and provide source-type readable definitions, but I've forgotten their names now. They may not even work any more. Last I was interested in this stuff was FS5. Maybe a Google search will get you somewhere. If you are thinking of writing your own BGL decoder to get information you want, then the MS Scenery SDKs are needed. Regards, Pete
Pete Dowson Posted April 26, 2003 Report Posted April 26, 2003 Can anyone tell me where I can get Information on reading .bgl files. To be more specific I need to build an Airport list that I can compare to the Lat and Long pulled from FSUIPC. Do you want the positions of the airport's as defined by where the visual scenery is placed, or where the AFD (airport facility data) says things are? They are distinct and come from separate types of BGL file. The airport runway thresholds, taxiways, parking spots and tower positions are defined in the AFDs. Programs like AFCAD and Trafficboard are capable of reading those and displaying maps. I have a program which scans them all and produces databases for FStarRC and for Radar Contact 3. The FStarRC file is binary, but the RCV3 one is CSV (comma separated variable format) and can be read easily. It also produces a text file giving most details, but this becomes huge. For visual scenery there used to be a number of programs around which could decode or disassemble them and provide source-type readable definitions, but I've forgotten their names now. They may not even work any more. Last I was interested in this stuff was FS5. Maybe a Google search will get you somewhere. If you are thinking of writing your own BGL decoder to get information you want, then the MS Scenery SDKs are needed. Regards, Pete
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now