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

Invalid coordinate found when importing OpenAir Airspace #501

Closed
nallison opened this issue Feb 28, 2025 · 3 comments
Closed

Invalid coordinate found when importing OpenAir Airspace #501

nallison opened this issue Feb 28, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nallison
Copy link

Describe the bug
When importing an OpenAir airspace file on either Android or Linux Desktop the Import Airspace Data page issues warnings of "Invalid coordinate found". I have been using a selection of OpenAir files including excerpts from the OpenAir Definition and all throw these warnings and do not import the airspace. I have used airspace files that import correctly into XCSoar.

To Reproduce
Steps to reproduce the behavior on Linux:

  1. Go to Map and Data Library
  2. Click on Menu and Import...
  3. Select an OpenAir_Test.txt file (attached)
  4. See error

Expected behavior
I expect properly formatted coordinates to be accepted by the parser.

Screenshots
See attached PNG

Image

OpenAir-Test.txt

Desktop (please complete the following information):

  • OS: Ubuntu 18.04.6 LTS
  • Browser: Firefox
  • Version: Enroute Flight Navigation 2.32.12 via Flatpak

Smartphone (please complete the following information):

  • Device: Samsung Galaxy S8
  • OS: Android
  • Browser: Firefox
  • Version: latest from Beta programme delivered by Play Store

Additional context
I could not find any information to advise if Enroute requires any particular coordinate lat and lon formatting and the precision of the DD:MM:SS.SSSS that is accepted in the OpenAir airspace file

@kebekus
Copy link
Member

kebekus commented Mar 2, 2025

@nallison Thank you for your report! I can reproduce the issue on my machine and will (hopefully) be able to fix the problem soon.

@kebekus kebekus self-assigned this Mar 2, 2025
@kebekus kebekus added the bug Something isn't working label Mar 2, 2025
@kebekus
Copy link
Member

kebekus commented Mar 2, 2025

@nallison The issue is fixed in version 2.32.13, which appeared on Google Play today. Can you briefly confirm here that your problems are resolved?

I am closing this issue now, but feel free to re-open anytime when necessary. Please keep reporting any issue that you may find -- we need to the help of our users to provide the best software we can.

Best wishes from Freiburg / Germany,

Stefan.

@kebekus kebekus closed this as completed Mar 2, 2025
@nallison
Copy link
Author

nallison commented Mar 2, 2025

@kebekus Confirming that on my Samsung Galaxy S8 OpenAir imports correctly now when I navigate to the file with file explorer and choose "Open with Enroute Flight Navigation".

When I tried to import from within Enroute Flight Navigation > Library > Maps and Data > Import and select the file, Enroute opens the form "Download in progress... Please stand by while we download the list of available maps from the server..." and does not import the file.

Thank you for the code fix, inspecting the commit I am a little embarrassed I did not see the issue and suggest a patch.

Kind regards
Neil
Christchurch, NZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants