# Complete Airports List

**URL:** <https://forum.phpvms.net/t/complete-airports-list/3657>\
**Category:** Releases\
**Created:** [November 12, 2010, 11:44pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657 "2010-11-12T23:44:54Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Cor](https://forum.phpvms.net/user_avatar/forum.phpvms.net/cor/32/96_2.png) [@Cor](https://forum.phpvms.net/u/Cor)\
**Post date:** [February 3, 2011, 4:25am UTC](https://forum.phpvms.net/t/complete-airports-list/3657/21 "2011-02-03T04:25:25Z")

</div>

I tryed it, but still no list in the admin site.

Regards,

Cor

---

<div class="post-metadata">

**Author:** ![TAV1702](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tav1702/32/41_2.png) [@TAV1702](https://forum.phpvms.net/u/TAV1702)\
**Post date:** [February 3, 2011, 5:14pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/22 "2011-02-03T17:14:54Z")

</div>

Is it safe to say to only use this list for a new install? Upon further review, the only way for me to get around the duplicate error is to A) Drop current airports from database and start fresh, or edit the sql list and update ID numbers an remove airports I already have. Good times eh boys? lol

This is one hell of a list though. Thanks Simpilot!

---

<div class="post-metadata">

**Author:** ![TAV1702](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tav1702/32/41_2.png) [@TAV1702](https://forum.phpvms.net/u/TAV1702)\
**Post date:** [February 3, 2011, 6:11pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/23 "2011-02-03T18:11:49Z")

</div>

Ok so I dropped all my airports and added the sql file and tah dah!!! Got all the airports. Now I am fighting the exhausted memory error. Tried using my own fix I posted in the code snippets but not getting it to work. All the rest of the site works great. Now I can not view schedules. I’m sure in the end I will get it all fixed up nice like.

---

<div class="post-metadata">

**Author:** ![Txmmy83](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@Txmmy83](https://forum.phpvms.net/u/Txmmy83)\
**Post date:** [February 8, 2011, 6:21pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/24 "2011-02-08T18:21:32Z")

</div>

> Here is the data dump for my airports table for a charter system I have built if it will help. It has 41533 airfields, helipads, water strips, and private airfields in it, I think there are still some that I do not have in it but its a start. It is a big file so you may have to split it up to import it into your table, if you are on free hosting I would not even try.

nice

do I need to drop any of the airports that is currently in my DB or will they overwritten by yours?

will maybe use it with a new VA

Best Regards

Tom

---

<div class="post-metadata">

**Author:** ![bravo27](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@bravo27](https://forum.phpvms.net/u/bravo27)\
**Post date:** [March 6, 2011, 7:56pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/25 "2011-03-06T19:56:27Z")

</div>

> I have an export of all the FSX airports’ data. If you fly in FSX that’s about as complete a database you need?

Hello tom that file from fsx is it SQL database already and if so would it be possible to get from you thank you

---

<div class="post-metadata">

**Author:** ![vins](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/v/a88e57/32.png) [@vins](https://forum.phpvms.net/u/vins)\
**Post date:** [March 20, 2011, 6:08pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/26 "2011-03-20T18:08:38Z")

</div>

Hi I have installed the big list in my free hosting webspace but after, when I have tried to Add a scheduled flight from the admin pannel I got the following message:

Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 8208111 bytes) in core/classes/CodonCache.class.php on line 202

what is happened?

I hope you can help me…bye bye!

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 20, 2011, 6:20pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/27 "2011-03-20T18:20:43Z")

</div>

OK, Free hosting can limit limit you, so that’s the problem, Free Hostings are not good. Paid ones, you won’t have that kind of problems.

---

<div class="post-metadata">

**Author:** ![vins](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/v/a88e57/32.png) [@vins](https://forum.phpvms.net/u/vins)\
**Post date:** [March 20, 2011, 7:32pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/28 "2011-03-20T19:32:59Z")

</div>

Hi, I have deleted the table phpvms\_airports.sql and I don’t know how to reinstall it.

Could you help me!!

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [March 20, 2011, 7:53pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/29 "2011-03-20T19:53:20Z")

</div>

You do have a backup?

This is from my development server its empty apart from the 2 airports but it will give you the table back,

```
--
-- Table structure for table `phpvms_airports`
--

CREATE TABLE IF NOT EXISTS `phpvms_airports` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `icao` varchar(5) NOT NULL DEFAULT '',
 `name` text NOT NULL,
 `country` varchar(50) NOT NULL DEFAULT '',
 `lat` float NOT NULL DEFAULT '0',
 `lng` float NOT NULL DEFAULT '0',
 `hub` smallint(6) NOT NULL DEFAULT '0',
 `fuelprice` float NOT NULL DEFAULT '0',
 `chartlink` text NOT NULL,
 PRIMARY KEY (`id`),
 UNIQUE KEY `icao` (`icao`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `phpvms_airports`
--

INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES
(1, 'KJFK', 'Kennedy International', 'USA', 40.6398, -73.7787, 0, 0, ''),
(2, 'EGKK', 'Gatwick Airport', 'United Kingdom', 51.1481, -0.190278, 1, 0, '');

```

---

<div class="post-metadata">

**Author:** ![vins](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/v/a88e57/32.png) [@vins](https://forum.phpvms.net/u/vins)\
**Post date:** [March 20, 2011, 8:13pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/30 "2011-03-20T20:13:04Z")

</div>

Thanks a lot for the help!!!

---

<div class="post-metadata">

**Author:** ![Juan\_Carlos\_Esteve](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/j/c68b51/32.png) [@Juan\_Carlos\_Esteve](https://forum.phpvms.net/u/Juan_Carlos_Esteve)\
**Post date:** [March 26, 2011, 5:31am UTC](https://forum.phpvms.net/t/complete-airports-list/3657/31 "2011-03-26T05:31:01Z")

</div>

> OK, Free hosting can limit limit you, so that’s the problem, Free Hostings are not good. Paid ones, you won’t have that kind of problems.

Hello, we has hosting at [www.dreamhost.com](http://www.dreamhost.com), isn’t free

We can’t maintain a complete list of airport.

43000 reg in memory?? humm is too much.

phpVMS is wonderfull any way

Thanks !!

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 26, 2011, 1:32pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/32 "2011-03-26T13:32:43Z")

</div>

Hey,

I took a look at your hosting, you can have it in your hosting, but not sure.

But the other side, if you are a “world-wide” airlines with every airport, and this is for you. But I would usually add the airports I do really need.

---

<div class="post-metadata">

**Author:** ![michael\_Kraan](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/m/c4cdca/32.png) [@michael\_Kraan](https://forum.phpvms.net/u/michael_Kraan)\
**Post date:** [March 29, 2011, 7:07am UTC](https://forum.phpvms.net/t/complete-airports-list/3657/33 "2011-03-29T07:07:41Z")

</div>

Heeyy,

This is really useful thanks! but do have a problem:

how do you install it on the site?

Michael

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [March 29, 2011, 9:22pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/34 "2011-03-29T21:22:33Z")

</div>

Hey,

You go to phpMyAdmin and then go to your phpvms database and on the top, click on import and then elect the zip file that you downloaded and let it run it will take a while

But one thing, it could be restricted by your hosting but it s a wroth a try.

---

<div class="post-metadata">

**Author:** ![TennShadow](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tennshadow/32/16_2.png) [@TennShadow](https://forum.phpvms.net/u/TennShadow)\
**Post date:** [November 2, 2011, 11:22pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/35 "2011-11-02T23:22:46Z")

</div>

> Trying to make preferred routes my flight schedules…
> 
> Help Please…
> 
> [Peferred Routes Database](http://www.fly.faa.gov/Operations/Coded_Departure_Routes/codedswap_db.csv)

Your best bet would be to log into your site and export the schedules template under “Airline Operations”. Then you will see what columns are required from your list. In regards to your preferred routes list you could import that into Excel to help you copy and paste some of the data between that and your schedules template.

Good Luck

---

<div class="post-metadata">

**Author:** ![Nighthawk](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nighthawk/32/159_2.png) [@Nighthawk](https://forum.phpvms.net/u/Nighthawk)\
**Post date:** [December 21, 2011, 11:28am UTC](https://forum.phpvms.net/t/complete-airports-list/3657/36 "2011-12-21T11:28:36Z")

</div>

To Work with a sql database i use navicat. Its free and easy.

---

<div class="post-metadata">

**Author:** ![animalking](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/a88e4f/32.png) [@animalking](https://forum.phpvms.net/u/animalking)\
**Post date:** [May 18, 2012, 1:48pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/37 "2012-05-18T13:48:02Z")

</div>

Thank you so much for this great file, you’re amazing

---

<div class="post-metadata">

**Author:** ![smeely](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@smeely](https://forum.phpvms.net/u/smeely)\
**Post date:** [July 3, 2012, 6:10am UTC](https://forum.phpvms.net/t/complete-airports-list/3657/38 "2012-07-03T06:10:21Z")

</div>

Would I be able to get the FSX database file?

---

<div class="post-metadata">

**Author:** ![Rnaetsar](https://forum.phpvms.net/user_avatar/forum.phpvms.net/rnaetsar/32/384_2.png) [@Rnaetsar](https://forum.phpvms.net/u/Rnaetsar)\
**Post date:** [January 27, 2014, 3:24pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/39 "2014-01-27T15:24:44Z")

</div>

Hi guys,

I’m having major snags with this! I’ve tried importing this file into PHPMyAdmin, but I get this error:

**Error**

**SQL query:**

– – Database: `aca` – – – Dumping data for table `phpvms_airports` – INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES (1, ‘00A’, ‘Total Rf Heliport’, ‘US’, 40.0708, -74.9336, 0, 0, ‘’), (2, ‘00AK’, ‘Lowell Field’, ‘US’, 59.9492, -151.696, 0, 0, ‘’), (3, ‘00AL’, ‘Epps Airpark’, ‘US’, 34.8648, -86.7703, 0, 0, ‘’), (4, ‘00AR’, ‘Newport Hospital & Clinic Heliport’, ‘US’, 35.6087, -91.2549, 0, 0, ‘’), (5, ‘00AZ’, ‘Cordes Airport’, ‘US’, 34.3056, -112.165, 0, 0, ‘’), (6, ‘00CA’, ‘Goldstone Gts Airport’, ‘US’, 35.3505, -116.888, 0, 0, ‘’), (7, ‘00CO’, ‘Cass Field’, ‘US’, 40.6222, -104.344, 0, 0, ‘’), (8, ‘00FA’, ‘Grass Patch Airport’, ‘US’, 28.6455, -82.219, 0, 0, ‘’), (9, ‘00FD’, ‘Ringhaver Heliport’, ‘US’, 28.8466, -82.3454, 0, 0, ‘’), (10, ‘00FL’, ‘River Oak Airport’, ‘US’, 27.2309, -80.9692, 0, 0, ‘’), (11, ‘00GA’, ‘Lt World Airport’, ‘US’, 33.7675, -84.0683, 0, 0, ‘’), (12, ‘00GE’, ‘Caffrey Heliport’, ‘US’, 33[…]

**MySQL said:**

#1146 - Table ‘wdwvacom\_wdw.phpvms\_airports’ doesn’t exist

Why doesn’t it just overwrite it? I can’t for the life of me get it to work

---

<div class="post-metadata">

**Author:** ![dohavik](https://forum.phpvms.net/user_avatar/forum.phpvms.net/dohavik/32/388_2.png) [@dohavik](https://forum.phpvms.net/u/dohavik)\
**Post date:** [March 16, 2014, 4:53pm UTC](https://forum.phpvms.net/t/complete-airports-list/3657/40 "2014-03-16T16:53:20Z")

</div>

Thanks simpilot for the file with the airports data

[Previous page](https://forum.phpvms.net/t/complete-airports-list/3657.md?page=1)

[Next page](https://forum.phpvms.net/t/complete-airports-list/3657.md?page=3)
