Jump to content
AndreNix

phpvms_navdata updated from Airac 1307 =)

Recommended Posts

This is an alternative update for phpvms_navdata.

I decided to update my table but I had no patience to make manually.

In addition to complicated and exhaustive update manually, I decided to use the AIRAC :)

How to?

Simple!

I used FSBUILD_1307.exe, extracted and renamed the files.

I don't have fsbuild installed on my pc, just grabbed the file for FSUILD and extract in a single folder.

Note:

To unzip and install the AIRAC effective, I created fsbuild.exe in Notepad.

I selected the folder on the supposed fsbuild.exe and extract the files :)

Which files?

FSBUILD_1307.exe ORIGINAL RENAMED

** ints.txt <-----> INTERSECTIONS.txt

** awys.txt <-----> AIRWAYS.txt

** navs.txt <-----> NDB-VOR.txt

I used the phpvms_navdata from Nabeel Shahzad (Thank´s Nabeel) and I analyzed the fsbuildparse.php!

GitHub - https://github.com/nshahzad/phpvms_navdata

https://github.com/nshahzad/phpvms_navdata/blob/master/fsbuildparse.php

Airways = Line 82 ----> $handle = fopen('fsbuild/fsb_awy2.txt', 'r'); --- awys.txt

VORs = Line 159 ---> $handle = fopen("fsbuild/fsb_vor.txt", "r"); --- navs.txt

NDBs = Line 235 ---> $handle = fopen('fsbuild/fsb_ndb.txt', 'r'); --- navs.txt again

INTs = Line 312 ---> $handle = fopen('fsbuild/fsb_int.txt', 'r'); --- ints.txt

Simple, no?

I changed the file fsbuildparse.php for my personal use.

How do I update my table (index)?

How to use?

modify the db.php file for your data (mysqlserver, user, password and database) and run the following command:

php-f update.php

this works!!!

19.0 MB - phpvms_navdata

284.843 lines =)

Perhaps not a great alternative, but it's a great start!!

Change, create, deploy and distribute.

navdata_update.zip

Share this post


Link to post
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...