|
From: merspieler <mer...@ai...> - 2018-05-04 18:03:58
|
Hello, Some time ago, during some discussions and tests for the autopush I've tried to use the airportinfo() (see http://wiki.flightgear.org/Nasal_library#airportinfo.28.29 ) function to obtain information about the taxi ways. This doesn't seem to work at all. It does work for runways tho. The final code which I've intended to run is here: https://gist.github.com/merspieler/36ec96622a8fcf7204a93b7cfe703182 It might not be completely working yet but it fails already at the try to iterate over the taxiways: ``` bad/missing argument to keys(): at <nasal-console/#2>, line 3 ``` The code that causes this is a copy from the examples from the wiki despite the change from `runways`->`taxiways` ``` var req_twy = "W1"; var twys = airportinfo(); foreach (var twy; keys (twys.taxiways)) { ... ``` So my question is, is this function broken, have I done something wrong or was the taxiways data never implemented in the function and the description in the wiki was just added as a kind of a wish? regards, merspieler |