plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


Idea

runshotgun avatar image
runshotgun suggested sonicviz edited

Access to airport data (Runways, taxiways, parkings, etc.)

We (Parallel 42) are creating an add-on that offers curated flight experiences to MSFS users and we would love to tailor their experiences around airports they have installed.

Having the ability to access info like runway data, parking, taxiway and other common airport data would be greatly useful for us to achieve that goal.

I'm sure many other add-ons devs would love to use that data to get creative and integrate new functionalities into the simulator.

simconnectdefault
1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

GuiHuy avatar image GuiHuy commented ·

So better to say: Official API access to airport and nav data .....

0 Likes 0 ·

7 Comments

·
HXArdito avatar image
HXArdito commented

Hey! Isnt this ability already there, in the way for example LittleNavmap is reading the Airport data and parking spots?

4 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

virtuali avatar image virtuali commented ·

The ability is not there, that's why so many utilities that require that data must all do the same thing, that is:

  • Opening .BGL files directly, which are not documented, the information has been obtained by reverse engineering, and might become obsolete at any time
  • Maintaining their own data cache and refreshing it when a scenery is removed/added. If the user has several of such utilities, adding/removing a scenery would then trigger a "chain reaction" of all these utilities all triggering their own version of the airport cache.

That's why an official API will be useful.

2 Likes 2 ·
KO_ avatar image KO_ commented ·

LittleNavMap indeed works, except with payware airports, the BGL file is encrypted, meaning the data cannot be read.

1 Like 1 ·
runshotgun avatar image runshotgun KO_ commented ·

Yea and it also requires a complete scan every time something changes. LNM's scanning tool is fantastic to get a sense of what's in the sim by default but not something we can reliably use to detect what the user has installed.

The simulator already has that data and an API exposing that data would make everybody's life much easier.

I'm sure PMDG,Aerosoft and other insiders have already expressed their desires for this API but we also want to push for this to get implemented sooner rather than later.

2 Likes 2 ·
KO_ avatar image KO_ runshotgun commented ·

Definitely, an API would be the best solution in this case.

0 Likes 0 ·
hollandFBW avatar image
hollandFBW commented hollandFBW edited

If I could add to this, it would be optimal for this data to also be available in JavaScript.


@HXArdito, this is possible by reading navdata files, which isn't doable inside the sim + doesn't work with payware airports, if you were to somehow transform that data into JSON for your WASM/HTML gauges.


- holland, FlyByWire Simulations

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Kaiii3 avatar image
Kaiii3 commented

On the other side would it not be actual better to "exludude" the actual airport data from the FSArchive file? This would allow more customiziation like we had in previous Simulators where for almost every 3rd party airport an upgraded AFD/AFCAD file has been created that includes improved parking spots, taxi nodes, ... As long as they are "locked" behind the fsarchive this will not be possible.

Example: The default premium Dubai Airport is currently not able to handle any A380 AI traffic (gates are to small), but I can not even fix this in my own Sim since the file is portected.

So as long the file are "locked" the 3rd party developers need to make sure their airport is actual up to the standards and can no longer rely on the community to improve this.


If this is not wanted I am 100% supporting this request here so we can at least "read" the data and make the best out of it.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

runshotgun avatar image
runshotgun commented

4 months later, any insights from the SDK team about if this could become a thing or not?

Thank you!

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

SonantAlpaca avatar image
SonantAlpaca commented sonicviz edited

Hello,

We're discussing about an API that could allow you to read data (detailed runway, taxiway, apron/stand data for example). It's just not 100% designed and implemented yet.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

DA40CGDFQ avatar image
DA40CGDFQ commented

Bumping This. Any status on scenery editor updates for Airports (parking , airline codes, sizing issues) API to read airport data.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

virtuali avatar image
virtuali commented

And don't forget about Jetway/Bridges positions...

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write a Comment

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.