Jump to content

navdata type not correct?


Benny

Recommended Posts

When I add a route I get wrong image when looking at it on a map.

I get 'fix' img for a VOR and 'vor' img for a FIX.

In file app.config.php following is stated:

define('NAV_NDB', 2);
define('NAV_VOR', 3);
define('NAV_DME', 4);
define('NAV_FIX', 5);
define('NAV_TRACK', 6);

But in the navdata table in MySQL a lot of fixes has type 3 defined and some VORs has mixed type 3 and 5 depending on airway.

Is the definition in app.config.php correct or is the fault in the MySQL table navdata?

Is this navdata.sql keept up to date?

/BR

Benny

Link to comment
Share on other sites

Guest lorathon

I wrote a script to update a lot of the lat/lng for the navdata. There are a few that are still screwy but most of them are a lot closer than what the original was. I have attached an export from my navdata table.

I did not touch the "type" field. Only the "lat" and "lng"

Enjoy. :D

EDITED - Will not let me attach. I will upload on my site.

Link to comment
Share on other sites

  • Administrators

You know what else sucks, I can't remember how I build the original set. I have the scripts, but I haven't had the time to look through and see how I compiled them.

I might release those on a repository so people can build their own

Link to comment
Share on other sites

  • Administrators

Looks like my main dataset was from fsbuild, then overlayed with the FAA 152 day cycle I believe then the xplane navdata overlaid on top of that.

I'll see if I get some time to clean this up.

Basically it writes to a temporary table, and then dumps it out. Would anyone be interested?

Link to comment
Share on other sites

Guest lorathon

I don't think I have the scripts anymore.

I took a DB from one of the payware I had that I could get into and then just cross-referenced the two of them. I started doing it by hand first and then I decided that it was going to take about 3 years :)

Anyway, the dump has updated lat/lng and the zipped file is about 2.5M.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...