Board index FlightGear Development Scenery

Updating navigation data (*.dat files)

Questions and discussion about enhancing and populating the FlightGear world.

Updating navigation data (*.dat files)

Postby www2 » Thu Aug 27, 2020 10:08 pm

Split off from the topic Swiss001 YouTube video about FlightGear.


www2 wrote in Wed Aug 26, 2020 9:09 pm:The only problems that i see with flight gear is advance and easy to install navigation database and graphic eye candy (this is not a big problem)

That i have early say in this topic one of the current problems in flight gear is that we have not a good method to update for updating navigation data (VOR,NDB,ILS,Waypoint,airways,sid,star,etc).
This is not a big problem for academic research.
The best way that i think as a first step is that we gift the user the option to add 3th party navigation data to $FG_HOME/navdata
After that we can look in to a new format for advance navigation database that include things on route atc, holdings and MORA as an example.
Last edited by Johan G on Fri Aug 28, 2020 2:39 am, edited 1 time in total.
Reason: Split off from the topic "Swiss001 YouTube video about FlightGear". Quote added for a bit more context.
www2
 
Posts: 281
Joined: Thu Apr 16, 2009 1:58 pm
OS: Ubuntu

Re: Swiss001 YouTube video about FlightGear

Postby WoodSTokk » Thu Aug 27, 2020 11:42 pm

www2 wrote in Thu Aug 27, 2020 10:08 pm:That i have early say in this topic one of the current problems in flight gear is that we have not a good method to update for updating navigation data (VOR,NDB,ILS,Waypoint,airways,sid,star,etc).

We have that allready.
NDB, VOR, DME, LOC and GS goes to:
Code: Select all
$YourLocalScenery/NavData/nav/your-nav.dat

Fixes goes to:
Code: Select all
$YourLocalScenery/NavData/fix/your-fixes.dat

SIDs and STARs goes to:
Code: Select all
$YourLocalScenery/Airports/I/C/A/ICAO.procedures.xml
WoodSTokk
 
Posts: 745
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2020.3.0
OS: Debian Buster

Re: Swiss001 YouTube video about FlightGear

Postby www2 » Fri Aug 28, 2020 12:16 am

WoodSTokk wrote in Thu Aug 27, 2020 11:42 pm:We have that allready.
NDB, VOR, DME, LOC and GS goes to:
Code: Select all
$YourLocalScenery/NavData/nav/your-nav.dat

Fixes goes to:
Code: Select all
$YourLocalScenery/NavData/fix/your-fixes.dat


I can nothing see in the code about other locations for fixes.dat and nav.dat than $FG_ROOT/Navaids/*.dat.gz
www2
 
Posts: 281
Joined: Thu Apr 16, 2009 1:58 pm
OS: Ubuntu

Re: Swiss001 YouTube video about FlightGear

Postby wkitty42 » Fri Aug 28, 2020 1:52 am

www2 wrote in Fri Aug 28, 2020 12:16 am:I can nothing see in the code about other locations for fixes.dat and nav.dat than $FG_ROOT/Navaids/*.dat.gz

because they can be named anything when they are placed in NavData in the proper sub-directory... they also need the proper format for the file type they are...

the only thing not possible, that i'm aware of, is deleting something... we can add and override but we cannot delete using the NavData method...
"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: 6975
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Swiss001 YouTube video about FlightGear

Postby V12 » Fri Aug 28, 2020 5:01 am

WoodSTokk wrote in Thu Aug 27, 2020 11:42 pm:We have that allready.
NDB, VOR, DME, LOC and GS goes to:
Code: Select all
$YourLocalScenery/NavData/nav/your-nav.dat

Fixes goes to:
Code: Select all
$YourLocalScenery/NavData/fix/your-fixes.dat

SIDs and STARs goes to:
Code: Select all
$YourLocalScenery/Airports/I/C/A/ICAO.procedures.xml

It is not universal solution, because doesn't work for airways :(
I always rewrote files in $FG_ROOT/Navaids/
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 2147
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: Swiss001 YouTube video about FlightGear

Postby wkitty42 » Fri Aug 28, 2020 2:25 pm

V12 wrote in Fri Aug 28, 2020 5:01 am:I always rewrote files in $FG_ROOT/Navaids/

and that pollutes your install... those mods could be lost during an update because of this... if you place them in a custom directory outside the install, you won't lose them...
"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: 6975
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Updating navigation data (*.dat files)

Postby WoodSTokk » Fri Aug 28, 2020 2:53 pm

wkitty is right. And yes, it does not work with awy.dat in custom scenery directory.
I think we have allready a discussion about that. It has to do with the nav.dat or fix.dat.
If the awy.dat uses navaids or fixes that are not in the files, it comes to problems.
IMHO the user should be aware of that and if the user use a newer awy.dat file, he/she should also make sure that the nav.dat and fix.dat is compatible.

Thats a drawback of big files that include all items around the world.
It is also possible to make files for every airport that includes only navaids related to this field.
The advantage will be, that if someone update a airport, the dev make sure that the corresponding ICAO.nav.dat and ICAO.fix.dat are also updated.
This way, we can also delete some navaids or fixes (what we can not do actually as wkitty pointed out).
But this has the disadvantage of thousands of small files.
WoodSTokk
 
Posts: 745
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2020.3.0
OS: Debian Buster


Return to Scenery

Who is online

Users browsing this forum: No registered users and 2 guests