libacfutils
libacfutils copied to clipboard
As of xp 12.05 ramp starts may have a negative heading
... e.g. EDDS Pos 44 and airportdb.c/parse_apt_dat_1300_line refuses them with a test "is_valid_hdg" .
WED airports do not necessarily normalize headings for ramp starts between [0,360) meaning some places might have a heading in the apt file that is negative. This looks more like a WED issue than an LibAcfUtils issue. I would suggest a bug report to Laminar about this issue. Valid heading checks to make sure the value is >= 0 and < 360. If it is not then it will not be a valid heading. Or you can normalize the ramp headings using the included normalize function in LibAcfUtils to sanitize the value from [0,360)
WED airports do not necessarily normalize headings for ramp starts between [0,360) meaning some places might have a heading in the apt file that is negative. This looks more like a WED issue than an LibAcfUtils issue. I would suggest a bug report to Laminar about this issue.
I think there might be more to this than just WED. When LR do the gateway scenery export, that presumably generates the apt.dat
file in X-Plane, they may be introducing this error. But @hotbso is welcome to try to get in touch with them via https://github.com/X-Plane/xptools/issues or https://www.x-plane.com/x-plane-bug-report-form/. In the meantime I'll look at sending a PR to Saso.