Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous Altitude Data in PLN File #608

Closed
jgyo opened this issue Jan 24, 2021 · 5 comments
Closed

Erroneous Altitude Data in PLN File #608

jgyo opened this issue Jan 24, 2021 · 5 comments
Assignees
Labels
Milestone

Comments

@jgyo
Copy link

jgyo commented Jan 24, 2021

Problem

The following steps produce a PLN file that contains a node for the BTE VOR containing a huge altitude field of 39 digits left of the decimal. (Six integer digits can express all reasonable altitudes.) I found the problem when the file caused an XML reading error within FSFlyingSchool for Microsoft 2020.

The "Steps to Reproduce" I give below produced the error on my computer a second time.

System Config

OS: Windows 10 64-bit
Microsoft Flight Simulator 2020
Navigraph AIRAC Cycle 2014

Attachments:

Testing Steps.lnmpln.txt
Testing Steps.pln.txt
abarthel-little_navmap.log

Steps to reproduce:

  1. Reset for a new flight plan.
  2. View SPHI on the map and Set parking 4 as departure.
  3. Find SPEO and show all procedures.
  4. Expand Approach VOR 19.
  5. Right-click Transition (Full) and select Use SPEO and approach as the destination.
  6. Under the Flight Plan menu, select Calculate Flight Plan.
  7. Set the Cruise Altitude to 15,000 ft and click adjust.
  8. Click Calculate.
  9. Close the Calculate Flight Plan dialog box.
  10. Save the Flight Plan to an FLT file.
  11. Save the Flight Plan to a PLN file.
@albar965
Copy link
Owner

Thank you very much for the detailed report. Will fix with next update.

@albar965 albar965 self-assigned this Jan 24, 2021
@albar965 albar965 added the bug label Jan 24, 2021
@albar965 albar965 added this to the Release 2.6.8 milestone Jan 24, 2021
@albar965
Copy link
Owner

Sorry, I cannot reproduce this. Can you also attach the file Beechcraft Bonaza.lnmperf since this might be an issue with the altitude calculation.
BTE should not appear in the plan at all since it is a part of the procedure.

albar965 added a commit to albar965/atools that referenced this issue Jan 30, 2021
…elipad or runway/start.

Fixed flight plan export to use correct departure position in PLN "DepartureLLA" and LNMPLN "Start" element.
albar965/littlenavmap#608
albar965 added a commit that referenced this issue Jan 30, 2021
…light plans. Now uses position from parking, helipad or runway/start for PLN `DepartureLLA` and LNMPLN `Start` element.

#608
@jgyo
Copy link
Author

jgyo commented Jan 30, 2021

I just ran the steps again with the following aircraft and reproduced the bug. I've uploaded the lnmpln and pln files I created just now that both show it, too.

Testing Steps 2.pln.txt
Testing Steps 2.lnmpln.txt
Beechcraft Bonaza.lnmperf.txt

@jgyo
Copy link
Author

jgyo commented Jan 30, 2021

I created a video of the steps I used to reproduce the bug that you can download from my OneDrive account here:

ALT BUG

albar965 added a commit that referenced this issue Jan 31, 2021
… wrong altitude when saving

or exporting flight plans right after calculation. This caused error messages when loading the resulting
LNMPLN files.
#608
@albar965
Copy link
Owner

@jgyo Thank you for the video, Gil. This helped a lot. These waypoints are only added if a airway leads from or to a procedure and had no altitude updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants