• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Can't seem to find many airports in default scenery

Messages
26
Country
netherlands
I've been using the BGL File Format documentation to read scenery files, so I can build a list of airports and parkings. I'll use this data for a small app to test CsSimConnect, by creating an AI aircraft at user-provided parking locations.

So far all is progressing nicely, and I appear to be able to read (and parse) files without too many surprises, although I have some suggestions wrt the documentation of NAMELIST records. (adding a small example of the string table could help, as the text is ambiguous about the order of the string indexes vs the actual strings. My first attempt placed the strings after all indexes, while in fact, they follow immediately after the indexes of a type) The tool scans all Prepar3D scenery files, including the ones in add-ons, and builds an SQLite DB with the data. However, I was surprised that many airports were marked as having no parkings. Even more surprising was that I could not find the AIRPORT records for many known ones in the default scenery.

As an example, Amsterdam Schiphol Airport (EHAM) appears to have no Taxiway Parking records at all (id 0x003D), while Eelde/Groningen Airport (EHGG) doesn't even have an AIRPORT record. If I use LittleNavMap to look at those airports, it will tell me the file for both should be "Scenery\0601\scenery\APX49130.bgl", but that file only contains 14 AIRPORT subsections. Kind of weird that it should have EHDR, a grass field near the border between Groningen en Friesland provinces, but not EHGG, which is "Groningen Airport" and a (for Dutch standards) decent field with Transavia vacation flights going to southern Europe.

C:\dev\FS\CsSimConnect\BglReader\bin\Debug\net5.0-windows>.\BglReader.exe C:\FS\Prepar3Dv5\Scenery\0601\scenery\APX49130.bgl
BglFile("C:\FS\Prepar3Dv5\Scenery\0601\scenery\APX49130.bgl") is VALID
Magic1 = 0x19920201, Magic2 = 0x8051803
FileTime = 09-Dec-19 14:42:42
Number of sections = 11
Section 0: Airport (14 subsection(s))
==> name , ICAO code EHTX, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 53.117
Longitude 4.83
==> name , ICAO code EHAM, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 52.308
Longitude 4.764
==> name , ICAO code EHDR, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 53.118
Longitude 6.129
==> name , ICAO code EDWF, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 53.272
Longitude 7.442
==> name , ICAO code EHTE, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 52.242
Longitude 6.053
==> name , ICAO code ETHE, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 52.291
Longitude 7.387
==> name , ICAO code EHSE, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 51.555
Longitude 4.552
==> name , ICAO code EHEH, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 51.45
Longitude 5.374
==> name , ICAO code EBHN, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 51.305
Longitude 4.388
==> name , ICAO code EBST, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 50.792
Longitude 5.202
==> name , ICAO code EDLG, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 51.691
Longitude 6.104
==> name , ICAO code EDLD, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 51.616
Longitude 6.861
==> name , ICAO code EHBK, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 50.916
Longitude 5.777
==> name , ICAO code EDKL, region ident , 0 runway(s), 0 named taxiway(s), 0 jetway(s), 0 parking(s).
Latitude 51.015
Longitude 7.006
Section 1: UnknownAA (14 subsection(s))
Section 2: IlsVor (11 subsection(s))
Section 3: Ndb (3 subsection(s))
Section 4: Marker (6 subsection(s))
Section 5: Waypoint (25 subsection(s))
Section 6: SceneryObject (55 subsection(s))
Section 7: VorIlsIcaoIndex (1 subsection(s))
Section 8: NdbIcaoIndex (1 subsection(s))
Section 9: WaypointIcaoIndex (1 subsection(s))
Section 10: NameList (1 subsection(s))
==> EDLG: 'Asperden', city Goch, state , country Germany, region .
==> EBBE: 'Beauvechain', city Beauvechain, state , country Belgium, region .
==> ETHE: 'Bentlage', city Rheine, state , country Germany, region .
==> EBLE: 'Beverlo', city Leopoldsburg, state , country Belgium, region .
==> EDLB: 'Borkenberge', city Borkenberge, state , country Germany, region .
==> EBBT: 'Brasschaat', city Brasschaat, state , country Belgium, region .
==> ETUR: 'Bruggen AB', city Bruggen, state , country Germany, region .
==> EBBR: 'Brussels National', city Brussels, state , country Belgium, region .
==> EBST: 'Brustem', city St Truiden, state , country Belgium, region .
==> EHBD: 'Budel', city Weert, state , country Netherlands, region .
==> EDDK: 'Cologne-Bonn', city Cologne-Bonn, state , country Germany, region .
==> EHKD: 'De Kooy', city De Kooy, state , country Netherlands, region .
==> EHDL: 'Deelen', city Arnhem, state , country Netherlands, region .
==> EBAW: 'Deurne', city Antwerp, state , country Belgium, region .
==> EHDR: 'Drachten', city Drachten, state , country Netherlands, region .
==> EDDL: 'Dusseldorf', city Dusseldorf, state , country Germany, region .
==> EHGG: 'Eelde', city Groningen, state , country Netherlands, region .
==> EDLK: 'Egelsberg', city Krefeld, state , country Germany, region .
==> EHEH: 'Eindhoven', city Eindhoven, state , country Netherlands, region .
==> EDWE: 'Emden', city Emden, state , country Germany, region .
==> EDXE: 'Eschendorf', city Rheine, state , country Germany, region .
==> EDLE: 'Essen-Mulheim', city Essen-Mulheim, state , country Germany, region .
==> ETNG: 'Geilenkirchen', city Geilenkirchen, state , country Germany, region .
==> EHGR: 'Gilze-Rijen', city Gilze-Rijen, state , country Netherlands, region .
==> EBTN: 'Goetsenhoven', city Goetsenhoven, state , country Belgium, region .
==> EDKB: 'Hangelar', city Bonn, state , country Germany, region .
==> EHHV: 'Hilversum', city Hilversum, state , country Netherlands, region .
==> EBHN: 'Hoevenen', city Hoevenen, state , country Belgium, region .
==> EHHO: 'Hoogeveen', city Hoogeveen, state , country Netherlands, region .
==> EDLY: 'Hoxfeld', city Borken, state , country Germany, region .
==> EDLC: 'Kamp-Lintfort', city Kamp-Lintfort, state , country Germany, region .
==> EBKH: 'Keiheuvel', city Balen, state , country Belgium, region .
==> EBZH: 'Kiewit', city Hasselt, state , country Belgium, region .
==> EBBL: 'Kleine-Brogel', city Kleine-Brogel, state , country Belgium, region .
==> EHLW: 'Leeuwarden', city Leeuwarden, state , country Netherlands, region .
==> EHLE: 'Lelystad', city Lelystad, state , country Netherlands, region .
==> EDKL: 'Leverkusen', city Leverkusen, state , country Germany, region .
==> EBLG: 'Liege', city Liege, state , country Belgium, region .
==> EDWN: 'Lingen', city Nordhorn, state , country Germany, region .
==> EBGB: 'Lint', city Grimbergen, state , country Belgium, region .
==> EDLM: 'Loemuhle', city Marl, state , country Germany, region .
==> EHBK: 'Maastricht-Aachen', city Maastricht, state , country Netherlands, region .
==> ETWM: 'Meppen', city Meppen, state , country Germany, region .
==> EDKA: 'Merzbruck', city Aachen, state , country Germany, region .
==> EDLN: 'Monchengladbach', city Monchengladbach, state , country Germany, region .
==> EDKN: 'Neye', city Wipperfurth, state , country Germany, region .
==> EDLV: 'Niederrhein', city Niederrhein, state , country Germany, region .
==> EDLF: 'Niershorst', city Grefrath, state , country Germany, region .
==> ETNN: 'Norvenich', city Norvenich, state , country Germany, region .
==> EBZR: 'Oostmalle', city Zoersel, state , country Belgium, region .
==> EHOW: 'Oostwold', city Oostwold, state , country Netherlands, region .
==> EBGG: 'Overboelare', city Geraardsbergen, state , country Belgium, region .
==> EDWF: 'Papenburg', city Leer, state , country Germany, region .
==> EDLX: 'Romerwardt', city Wesel, state , country Germany, region .
==> EHRD: 'Rotterdam', city Rotterdam, state , country Netherlands, region .
==> EHAM: 'Schiphol', city Amsterdam, state , country Netherlands, region .
==> EDLD: 'Schwarze Heide', city Dinslaken, state , country Germany, region .
==> EHSE: 'Seppe', city Hoeven, state , country Netherlands, region .
==> EHSB: 'Soesterberg AB', city Soesterberg, state , country Netherlands, region .
==> EHST: 'Stadskanaal', city Stadskanaal, state , country Netherlands, region .
==> EHTE: 'Teuge', city Deventer, state , country Netherlands, region .
==> EHTX: 'Texel', city Texel, state , country Netherlands, region .
==> EHTW: 'Twenthe AB', city Enschede, state , country Netherlands, region .
==> EHVK: 'Volkel', city Volkel, state , country Netherlands, region .
==> EDLS: 'Vreden', city Stadtlohn, state , country Germany, region .
==> EBWE: 'Weelde', city Weelde, state , country Belgium, region .
==> EHWO: 'Woensdrecht', city Woensdrecht, state , country Netherlands, region .
==> EBSL: 'Zutendaal', city Zutendaal, state , country Belgium, region .
==> EBZW: 'Zwartberg', city Genk, state , country Belgium, region .

What am I missing here? If I fire up ADE and ask it to open that file, it tells me there is an airport EHGG in it, and I can open it from there?

Bert

PS
Naturally, all sources are available at https://github.com/bert-laverman/CsSimConnect and https://github.com/bert-laverman/RakisUtil
 
Ok, found it. There can be multiple Airports in each Subsection. Also found there are at least three different Ids for Airports; the one currently documented, a Prepar3D new addition, and an MSFS addition.
 
Back
Top