Sign in to follow this  
Guest

AI traffic tool

Recommended Posts

Anyone know of an AI traffic tool that can search, export and remove all flight plans that are related for a specific country.What I mean is this, I want to open the default traffic.bgl file, and export all flights that have USA airports in them. This includes flights that have legs to the USA. I want to be able to export and remove any flight that will be flying in or too the USA. Ai Traffic mover will not work for this...Any other programs out there?Thanks

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I've tried AI mover, and the export function only exports flights that originate from that country, and does not include flights that have legs into the country.Y-route has no export function, and AI traffic V1.0 is the same. I don't wanna have to manipulate over 1000 flights...Lazy eh???

Share this post


Link to post
Share on other sites

>I've tried AI mover, and the export function only exports >flights that originate from that country, and does not >include flights that have legs into the country. >Y-route has no export function, and AI traffic V1.0 is the >same. I don't wanna have to manipulate over 1000 flights... >>Lazy eh??? I could add that. Can you determine a country code from the ICAO? (I know YP is Western Australia and EG appears to be UK but is there a standard, or would you be happy just deleting by first or first+second letter?) CheersSimon

Share this post


Link to post
Share on other sites

It seems that country can be known by first or two first letters of ICAO (K=USA LF=France ED=Germany...) except for small airports (07V , 23AK...) but those are generally within plans with most important airports.expect that helpthank you for your usefull tool Yroute.

Share this post


Link to post
Share on other sites

I think their would be a problem with the USA however, since most airports start with "K", except for Alaska and Hawaii. However, for Canada it would work fine just searching for the first two letters. But again, the little airports would not work.Thanks

Share this post


Link to post
Share on other sites

Well, a buddy at work downloaded this program Called "Gawk.exe", and with a few key strokes, he had all the flight plans deleted. Gawk is like a programming language, he used it before, so he knew what he was doing.... Cool program. Four lines, and his program did the trick...Thanks every one

Share this post


Link to post
Share on other sites

>This would definately be a nice feature if it is possible. >>Matt Just added 'Delete with wildcard' You can erase anything:e.g:* (all)K* (All starting with K)YP* (All starting with YP*)YPPH (just YPPH)Note that after deleting airports the legs may look strange - but the Flightplans.txt file only has destination codes, so it'll save out just fine.Just updated the files on www.spacejock.com (yRoute page)CheersSimon

Share this post


Link to post
Share on other sites

for example with YPPH does it delete only the legs with YPPH or all the lines where YPPH is?

Share this post


Link to post
Share on other sites

>for example with YPPH does it delete only the legs with YPPH >or all the lines where YPPH is? Just the legs with YPPH. If all legs contain YPPH, it deletes the flight plan. Also, if you delete YPPH in one pass and YSSY in another, then it updates the flight plans again.I've just uploaded a revised version, because the last one could leave duplicate destinations, which TT1.2 doesn't like. E.g. YSSY YPPHYPPH YSSYYSSY YMMLYMML YSSYIf you deleted YPPH it could leave a YSSY YSSY entry. Hopefully this one corrects it. (As always, it's worth checking one or two results when deleting. I designed the program to keep showing deleted legs & flights so you can see what effect an operation has had on your data. If it looks wrong, you can just reload the data and fire off an email to me ;-)CheersSimon

Share this post


Link to post
Share on other sites

FYI, I just downloaded yRoute from your page; the version number still reads 1.0.89.

Share this post


Link to post
Share on other sites

>FYI, I just downloaded yRoute from your page; the version >number still reads 1.0.89. Thanks, now fixed. (1.0.89 is the latest, I reported the wrong version.)CheersSimon

Share this post


Link to post
Share on other sites

Simon:I also have ver 1.0.89 and I am finding that the report feature is giving incorrect info. The error given is "Textures present but not in Aircraft.cfg"I haven't been able to come up with a pattern on what is reported but some of the errors are of virgin stock FS2002 Aircraft Folders.Error reported for the C208 (2). I suppose the 2 is for texture.2 or what FS2002 calls Paint2. The report file does not show any problems with Texture or texture.1 of the same Aircraft Folder. In my case the aircraft.cfg file is also a FS2002 un-touched file and shows all the textures listed properly.Example:[fltsim.2]title=Cessna 208 Caravan Amphibian Paint2sim=Cessna208model=panel=sound=texture=2This same error continues for many aircraft such as the c172 -2, c182 -3, c208B -2 and alot of PAI aircraftThe report feature did however work in showing me an aircraft pointing to the wrong .air file so I know that part works ok.Yroute is a super time saver and have been using it since you introduced it to the community.Thanks

Share this post


Link to post
Share on other sites

>Simon: >>I also have ver 1.0.89 and I am finding that the report >feature is giving incorrect info. >>The error given is "Textures present but not in >Aircraft.cfg" >>I haven't been able to come up with a pattern on what is >reported but some of the errors are of virgin stock FS2002 >Aircraft Folders. Thanks Jim, I've now found the bug and corrected it. (I can't upload to my web page at the moment, but it'll be fixed for 1.0.91)The new version only reports problems found - this is what mine just came up with:D:FS2002aircraftPAI B732 texture folder 'textures.dhl' is missing.D:FS2002aircraftPAI B752texture.ahr folder found but AHR variant not in AIRCRAFT.CFG file.That (plus missing AIR files) should be enough to find most errors.CheersSimon

Share this post


Link to post
Share on other sites

Thanks SimonI endorse the concept of time interval spacing found on the other thread.Hope you can get the map few to expand. It would be great to see where the aircraft go. Very simular to aircraft maps found in the back of seats on actual Airlines.Keep up the good work.Yroute has worked as an excellent program for me

Share this post


Link to post
Share on other sites

My 2 cents:Between work and family (and actual simming - not just playing with TTools) I'll never get around to this, but what I would do for this kind of thing is read the airports.txt file and associate each airport with a geographical region, sorted out by Lat/Long rather than by country. Airlines are generally more region-oriented than country-oriented anyway. This would have the advantage of picking up airports in a region regardless of their ICAO code, and would also allow you to do things like splitting the US into time zones or football conferences to better sort out the regional airlines. (Y'know, the Patriots on US Air, the 49ers on America West, and if the Rams don't straighten out they're gonna be takin' the bus home from their road games.)

Share this post


Link to post
Share on other sites

That's ok, I'm not ignoring you ... I've been busy with other projects, and they've left me no time for yRoute. E.g. apart from work, family and programming my commercial software, I also have to finish writing my second novel by the end of December plus I'm part of a group producing a science fiction mag every 2 months. I've put a lot of effort into yRoute, but right now I can't muster up enough spare time to tackle this request.Lots of excuses, but I honestly do try and write in everything people ask for. I just thought I'd explain why this change isn't in yet ;-)CheersSimon Hayneswww.spacejock.com

Share this post


Link to post
Share on other sites

Thanks Simon.. I dint knew you write SF stories.. nice! like them too.Take your time.. no problem. I just had the feeling the idea was forgotten :-)We shall patiently wait, since Yroute rocks!Johan[A HREF=http://www.phoenix-simulation.co.uk]Phoenix Simulation Software[/A]-----http://www.people.zeelandnet.nl/johdUnofficial PSS Website

Share this post


Link to post
Share on other sites

>Thanks Simon.. I dint knew you write SF stories.. nice! like >them too. Bit off topic, but I've sold an 8,000 word SF story which is in issue #3 of Andromeda Spaceways (hey, they fly a spaceship. Not a simulation, though.)>>Take your time.. no problem. I just had the feeling the idea >was forgotten :-) No, just added to the wishlist. (That, and I was also interested to read that TrafficTools' source code may be released royalty-free. That might help with compiling etc from within yRoute)CheersSimon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this