Board index FlightGear Development

Major need to update the nav/vor/fixes in flightgear

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Re: Major need to update the nav/vor/fixes in flightgear

Postby Doorknob747 » Mon Mar 07, 2022 7:54 am

merspieler wrote in Fri Feb 25, 2022 3:16 pm:Sure... use what ever you are comfortable with... especially if you're already familiar with a language.

I've just mentioned python cause I've written something very similar in python already.


Just did some of the startup of the parsing stuff, as can be seen here : https://sourceforge.net/p/ourairports-parser-java/code/ci/master/tree/

Now the question is, how is the output file for navaids and airports that flight gear understands, supposed to look?
Doorknob747
 
Posts: 60
Joined: Thu Sep 02, 2021 5:27 am

Re: Major need to update the nav/vor/fixes in flightgear

Postby merspieler » Tue Mar 08, 2022 8:45 pm

For nav and fixes, flightgear uses the xplane 11 format:
https://developer.x-plane.com/wp-conten ... 1-Spec.pdf
https://developer.x-plane.com/wp-conten ... 0-Spec.pdf

For procedures (SID, STAR and transitions) the levelD format is used but with a different directory structure.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2242
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Major need to update the nav/vor/fixes in flightgear

Postby www2 » Tue Mar 08, 2022 10:35 pm

<Joking_mode>For a free navdata set we need to setup our own Navigation provider.</Joking_mode>
Joking aside i look in a new file format for navigation aids and other navigation data.
www2
 
Posts: 319
Joined: Thu Apr 16, 2009 2:58 pm
OS: Ubuntu

Re: Major need to update the nav/vor/fixes in flightgear

Postby Doorknob747 » Sat Mar 12, 2022 7:32 am

merspieler wrote in Tue Mar 08, 2022 8:45 pm:For nav and fixes, flightgear uses the xplane 11 format:
https://developer.x-plane.com/wp-conten ... 1-Spec.pdf
https://developer.x-plane.com/wp-conten ... 0-Spec.pdf

For procedures (SID, STAR and transitions) the levelD format is used but with a different directory structure.


Thanks for helping with format.

Still have a few questions, what should be the output file name?

Where cane I find the info on the format for airport location Spec?

If DME service volume is not provided by the source of info, how do I calculate the service volume?
Doorknob747
 
Posts: 60
Joined: Thu Sep 02, 2021 5:27 am

Re: Major need to update the nav/vor/fixes in flightgear

Postby wkitty42 » Sat Mar 12, 2022 9:19 am

Doorknob747 wrote in Sat Mar 12, 2022 7:32 am:Where cane[sic] I find the info on the format for airport location Spec?

https://developer.x-plane.com/wp-content/uploads/2021/11/XP-APT-1100-Spec_rev_16_11_2021.pdf

FWIW: there are other, older, versions of the xplane APT specification, too... FG doesn't yet use the latest... depending on which version of FG you are running, the apt.dat file may be in the 810, 850, or 1000 format... https://www.google.com/search?q=xplane+latest+apt+specification
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Major need to update the nav/vor/fixes in flightgear

Postby merspieler » Sat Mar 12, 2022 2:22 pm

Doorknob747 wrote in Sat Mar 12, 2022 7:32 am:what should be the output file name?

nav.dat and fix.dat, you can gzip them so they are called nav.dat.gz and fix.dat.gz.

To add them to flightgear, create a new "scenery directory" with the following structure inside
Code: Select all
NavData
├── fix
│   └── fix.dat.gz
└── nav
    └── nav.dat.gz


Doorknob747 wrote in Sat Mar 12, 2022 7:32 am:how do I calculate the service volume?

I don't know

wkitty42 wrote in Sat Mar 12, 2022 9:19 am:FWIW: there are other, older, versions of the xplane APT specification, too... FG doesn't yet use the latest... depending on which version of FG you are running, the apt.dat file may be in the 810, 850, or 1000 format...


Yes, that's right... for nav and fix I've worked with the 1100 spec and that worked fine. For the awy and apt spec you need something older. At least for the apt spec a simple patch in flightgear can make it load the very latest apt spec. One of the thing I'm going to take another look at and bring up for discussion on the mailing list in connection to the ws3 airports work I'm doing so hopefully we can soon use the latest spec for airports too.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2242
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Major need to update the nav/vor/fixes in flightgear

Postby TheEagle » Tue Apr 04, 2023 10:53 am

Doorknob747 wrote in Sat Mar 12, 2022 7:32 am:If DME service volume is not provided by the source of info, how do I calculate the service volume?

Maybe this could help, I don't know: https://www.faa.gov/air_traffic/flight_ ... T-2020.pdf
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 6 guests