Well, duh, after trying uppercase airport identifiers, I see that you are absolutely right -- they work fine.
However, I must confess that it seems inconsistent. According to the log, part of the startup processing is able to correctly identify kdca in lower case -- note the correct position information even with LC! It looks like the airport location processing can handle lowercase, but the runway processing cannot? (Haven't checked source yet).
BTW, are all airport identifiers A-Z or 0-1? Do you think that it would be a good idea to just convert lowercase to upper for --airport-id option or is it better to just make the docs/command line help a bit clearer for this command? For the clueless outthere, myself included. 8-(
Thanks also for the scenery pointer, I think that I've got the right scenery downloaded (w080n40), though I forgot to mention that, sorry!
Position for kdca is (-77.0377, 38.8521)
TIA, Ima
* (ima sudonim) [2002.06.12 21:37]:
> Way cool app, ya'll, but I'm having some problems with airport ids.
>
> Attempting to run ./fgfs with any --airport-id option causes errors as
> shown below.
> The runway information is bad, I'm guessing. I am using base 7.11.pre1
> (the only one supported by the latest cvs sources that I dled).
> Downloaded everything from CVS again and recompiled. Am still getting
> the same error.
>
> I'm new at this and am unsure how to even begin. I've tried KJFK, KDCA
> (washington, DC) and others to the same effect. If I use the default
> airport (KSFO), things start OK:
>
> *KSFO info is:
> NewAirportInit KSFO
> Attempting to set starting position from runway code KSFO heading 270
> Runway 01L heading = 27.7 diff = 117.7
> Runway -01L heading = 207.7 diff = 62.3
> Runway 01R heading = 27.71 diff = 117.71
> Runway -01R heading = 207.71 diff = 62.29
> Runway 10L heading = 117.9 diff = 152.1
> Runway -10L heading = 297.9 diff = 27.9
> Runway 10R heading = 117.9 diff = 152.1
> Runway -10R heading = 297.9 diff = 27.9
> closest runway = 10L + 180
> runway = -122.375, 37.6211 length = 1808.99 heading = 117.9
> Position for KSFO is (-122.357, 37.6135) new heading is 297.9
> Searching for airport code = KSFO
> idx = 11133
> Position for KSFO is (-122.375, 37.619)
>
> *KDCA info is:
> NewAirportInit kdca
Note that you are not using all caps. Try running with "KDCA" like you
have in the Subject. I'm not at home right now, so I can't test this.
--
Cameron Moore
[ My grandfather died when he was just an infant. ]
------------------------------------------------------------------------
------------------------------------------------------------------------
- [Flightgear-devel] problem with --airport-id=KDCA ima sudonim
- Re: [Flightgear-devel] problem with --airport-id=KDCA Jim Wilson
- Re: [Flightgear-devel] problem with --airport-id=KDCA Cameron Moore
- [Flightgear-devel] Problem with --airport-id=KDCA ima sudonim
- [Flightgear-devel] Problem with --airport-id=KDCA Jay Hlavaty
