Sign in to follow this  
scott967

Fixing a bad default ICAO?

Recommended Posts

In the course of doing some AI work, I found an apparent bug in the fs9 airport database.In Sanya (Fenghuang) China, fs9 has a default airport called ZJSY (Phoenix Intl). As near as I can determine, ZJSY is actually the ICAO for the meteo station at the airport, not the airport itself. The correct airport designator seems to be ZGSY (IATA SYX). Looking over AFCAD2, it doesn't seem possible to replace the airport? Or could the old airport be saved with the new ICAO, and all the data for the old airport get deleted (other than the basic reference point) and saved, maybe a t a lower scenery layer than the "correct" airport?Meanwhile I will experiment and maybe it isn' that hard to fix somehow.scott s..

Share this post


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

http://www.azworldairports.com/airports/p1360syx.htmhttp://www.ivao.org/db/ss/airport.asp?Id=ZJSYhttp://www.wapf.com/world/ZGSY.htmlIt seems there could have been an ICAO change. If you google search, in some places ZGSY is then sent to a screen where it indicates ZJSY.FS2002 used ZGSY and FS2004 uses ZJSY.Yes, you could change the ICAO but you would not get the weather for ZGSY since it doesn't exist the world weather database like ZJSY.To start, you would need to find the file that contains ZJSY using AFCAD. Open the ZJSY airport, right click on a vacant part of AFCAD, and read which file contains the airport.Next, using a decompiler/disassembler, obtain the source for this airport only, change all the instances of the decompiled source to ZGSY and compile the source under a different name than the original file (original file will have many airports). Make a second file that excludes ZJSY entirely.Of course, this assumes you are correct about the misidentified ICAO.W. Sieffert

Share this post


Link to post
Share on other sites

I looked at this one: http://www.azworldairports.com/airports/p1360syx.htmbut as the URL suggests, the IATA is SYX, not SHA as indicatedon the page (that's Shanghai) so I had low confidence in it.Like you say, different data baes give you different answers. Maybe ICAO.org should be considered definitive. It's not like you can get easy answers from the PRC!So far I have simply changed the ICAO in an AFCAD2 fileand saved it to a new file AF2_ZGSY, and also created a modifiedAFCAD2 file AFS_ZJSY with all the visual elements removed. Iput both in my AFCAD scenery folder and it seems to work, exceptthere is no way to delete the navaids, so I end up with dualentries for those.I assume I could just write an exclude in XML for the navaidsrather than going the route of dissasembling the default bgl?scott s..

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