Board index FlightGear The FlightGear project


Questions about the FlightGear organisation, website, wiki etc.


Postby legoboyvdlp » Sat Sep 23, 2017 11:18 am

Hi there,
Some new navdata available!

I posted this to the mailing list, twice I think. However, it is not yet included as far as I know.

I wonder if this could be added for 2017.4?
Many thanks,
User avatar
Posts: 6999
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Navdata

Postby tonghuix » Sat Sep 23, 2017 2:50 pm

So nice! How to install it?
FG Manual Chinese Translation
Posts: 111
Joined: Sun Nov 29, 2015 5:11 pm
Callsign: CPA112
IRC name: tonghuix
Version: next
OS: Debian Testing

Re: Navdata

Postby Hooray » Sat Sep 23, 2017 3:05 pm

I think there still is the terrain/scenery generation process which is the bottleneck here - some of the airliner/VA folks actually stopped using the built-in navdb a while ago and are instead using online web APIs to retrieve the nav data on demand, a while ago someone else was also working on a Nasal parser to process the original X-Plane data files and use them for any MFDs.

It's actually a really simple format and easy enough to parse, most of this could even happen in a worker thread.
To be actually useful, you would obviously have to circumvent all navdb/navcache related API accesses and instead use your own wrappers.
But it's not exactly rocket science to do so - as a matter of fact, the MapStructure and NavDisplay efforts were designed with this in mind: you can basically replace all navdb API calls using a so called "driver hash".

Equally, it would be possible to write such a parser in Python and come up with a web service that can be used by VAs to always use the "latest & greatest", with all the pros & cons of not using the built-in navdb obviously...

The main APIs to be wrapped would be these: ... _via_Nasal
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Posts: 11329
Joined: Tue Mar 25, 2008 8:40 am

Return to The FlightGear project

Who is online

Users browsing this forum: No registered users and 3 guests