|
From: Sidi L. <sid...@gm...> - 2018-05-07 14:06:52
|
Hi James
In my case, I'm sure that there are parking lots and taxiways in the
airport I've done my testing(ZBAA). And I solve my problem by writing my
own code to read the groundnet.xml file instead of using that function.
Best Regards,
Sidi
2018-05-07 20:15 GMT+08:00 James Turner <ja...@fl...>:
>
>
> On 6 May 2018, at 20:05, merspieler <mer...@ai...> wrote:
>
> I've tried that, it doesn't throw an error so far but it seems to be empty.
> I've took a look at some groundnet xmls and EDDF has definitely taxiways
> with names assigned. So I use that for testing.
>
> my test code:
> ```
> var apt = airportinfo("EDDF");
> foreach( var taxi; apt.taxiways)
> {
> print(taxi.id);
> }
> ```
> This doesn't print anything.
>
>
> But when you look at EDDF in the ‘set airport location’ dialog, do you see
> taxiways? We need to establish if this is a date problem or a code problem
> :)
>
> if you /do/ see taxiways in the dialog’s airport diagram, then you have
> data for EDDF, and it’s something in the code, which we can debug. But if
> you don’t see taxiways for EDDF in the dialog, trying to debug your code
> above (which looks okay to me from a quick glance) is not going to get us
> far.
>
> Kind regards,
> James
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Flightgear-devel mailing list
> Fli...@li...
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>
--
liang sidi
|