Paul Surgeon writes:
> I need country and state/province fields to be included in the X-Plane data
> so
> that I can sort and filter airports by country and state/province.
>
> I thought of filtering by ICAO but that is not 100% accurate because 3 letter
> IATA codes are GLOBAL. (e.g. London Heathrow = LHR)
> If it was just the 3 letter FAA codes it would have been easy.
The airport database uses ICAO codes, not IATA codes - Heathrow is EGLL. In
the US the codes are the same, but for the rest of the world they are (always?)
different. I'm not sure, but I'll hazard a guess that US airports might be the
only ones in our database with 3 letter codes.
> This will also not provide me with state/province filtering which I would
> like
> to include.
>
> The DAFIF data does include country codes as well as state/province codes per
> airport.
>
> Will we need this data in FG in the future?
I'd certainly like to see our airport selector use country and possibly
state/province - it's pretty unusable at present (even if it did work) due to
the sheer size of the database and the usability problems with the widget (no
response to arrow keys, page up/down, mouse wheel, typing first letter of name
etc). I hadn't realised that state/province info was in the DAFIF - that's a
pleasant surprise :-)
> My app is standalone so I can write my own DB's but I prefer to derive all my
> data from FG otherwise one usually ends up with conflicting data when one DB
> is not kept in sync with the other.
>
> What's the best way to go about this?
> Should we :
> 1. modify our X-Plane database and include the fields and sit (yet again)
> with
> a non-X-Plane DB or
> 2. get Robin to include it in the main X-Plane airport database or
> 3. create an entirely new file to store the data in?
>
2 would be ideal, but almost certainly subject to a time lag. It might be best
to ask Curt if he'll approach Robin with it for the best chance of success.
However, either 1 or 3 would be good stop-gap measures to get you/us up and
running until then. I believe that we can assume that codes above 500 may be
safetly used for FG use without conflict - maybe you could write a script that
merges the country/province data with the master data using a couple of codes
up in that range for now?
Cheers - Dave
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d