Jump to content

Recommended Posts

  • Moderators
Posted

Hey, when I import my secdhules, and I have many airports to create and I want the secdhule importer to look it up and put it in, I don't want to bother putting over 400 airports in manauly? Is there something wrong with the Airport Look Up system or what? Becasue every airport cannot be found in the sechdule importer.

  • Moderators
Posted

/* Can be 'geonames' or 'phpvms'.
Geonames will use the geonames.org server to look up the airport info
phpvms will use the phpVMS API server
*/

Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms'); 
Config::Set('PHPVMS_API_SERVER', 'http://api.phpvms.net');
Config::Set('PHPVMS_NEWS_FEED', 'http://feeds.feedburner.com/phpvms');
Config::Set('VACENTRAL_NEWS_FEED', 'http://feeds.feedburner.com/vacentral');
Config::Set('GEONAME_API_SERVER', 'http://ws.geonames.org');

I see now, so the airport look up is on the veCentral server. I guess I will have to wait for Nabeel to work on the vaCentral. Also geonames does not work too.

  • Moderators
Posted

It seems, it's still not adding airports while importing the sechdules. Any ideas why the sechdule importer is too lazy to get me airports in.

  • Administrators
Posted

It seems, it's still not adding airports while importing the sechdules. Any ideas why the sechdule importer is too lazy to get me airports in.

Does it time out? What happens?

  • Moderators
Posted

No it does not time out.

For Example, I have 6 airports that is not in my airport listing, the schedule importer looks up for it and it said it's not found, also and it just keeps adding non-airport listed flights too. I got to say there is something wrong with the importer, that they are not really looking up for airports, and it keeps non-listing airports goes into the schedules.

So I went to the airport adding, and it finds the airport.

There is something wrong with the importer which it's not really looking for airports. To be honest, it will be a long time to add those airports.

  • Administrators
Posted

Try it with a small set of imports, maybe 5 schedules. See if that works. Does it just lock up?

If you're using "phpvms" as the lookup server, try geonames

  • Moderators
Posted

Ok, the results. Didn't all work.

Here......

ICAO CYEG not added... retriving information:
Could not retrieve information for CYEG, add it manually
ICAO CYYZ not added... retriving information:
Could not retrieve information for CYYZ, add it manually
Imported TVA1 (CYEG to CYYZ)
ICAO CYVR not added... retriving information:
Could not retrieve information for CYVR, add it manually
ICAO CYYC not added... retriving information:
Could not retrieve information for CYYC, add it manually
Imported TVA2 (CYVR to CYYC)
ICAO CYWG not added... retriving information:
Could not retrieve information for CYWG, add it manually
ICAO CYHZ not added... retriving information:
Could not retrieve information for CYHZ, add it manually
Imported TVA3 (CYWG to CYHZ)
The import process is complete, added 3 schedules, updated 0, for a total of 3

You see it's werid, they ketp adding flights that the airports I don't have in my list.

I tried GEONAMES and PHPVMS. But when I use PHPVMS to add airports in the airport listing, it does not work. But GEONAMES does work.

  • Moderators
Posted

Ok, thanks joeri. :) I'll give it a run till my next flight bacth is done. I'll let you know tonight or tommrow.

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...