Akaflieg-Freiburg / enroute

A free navigation app for VFR pilots
https://akaflieg-freiburg.github.io/enroute/
GNU General Public License v3.0
111 stars 28 forks source link

Import-Export of Flight Plans in .pln and .fpl #443

Closed TTC70 closed 2 weeks ago

TTC70 commented 1 month ago

Is your feature request related to a problem? Please describe. It is not exactly a problem, but a feature which could ease the work of many pilots. At the moment the only two versions of Flight Plans managed by Enroute Flight Navigation, are .GeoJSON and GPX.

Describe the solution you'd like It could be very helpful to increase the compatibility of the app adding the feature to export or import a .pln and .fpl flight plans. The following open source application already takes into the account the conversion between GPX and FPL format.

https://github.com/abdullah-radwan/PlansConverter

Could it be an inspiration for the programmers?

Describe alternatives you've considered The only alternative is to use an "out of the app" application and convert the flight plan "off-site" (or "off-app").

kebekus commented 1 month ago

There is excellent news. Heinz Blöchinger has kindly volunteered to help us implement this feature.

@bloech1 Thanks!

kebekus commented 1 month ago

Development happens here: https://github.com/Akaflieg-Freiburg/flightRouteImport

kebekus commented 3 weeks ago

Implemented in the development branch. Currently undergoing testing.

TTC70 commented 3 weeks ago

Stefan, as far as today I could NOT load the Flight-plan.fpl into EFN. The error i get from Enroute is: Error in reading of file 'content://com.android.providers.downloads.documents/document/msf%3A17935' (I guess the path is related to my phone). I created a simple flight plan on Skyvector, saved the flight plan into a .fpl file. It is a simple flight plan: LIRE - LIRF - LIRU - LIRL - LIRA and the content of the .fpl file is attached here (to use it, please remove the extension .jpg....I had to use this trick in order to allow Github to attach the file). LIRA fpl

bloech1 commented 2 weeks ago

Hello,can it be that the format of the file is wrong? The fpl format which is supported by Enroute is XML based. But the content you copied into your message isn’t. So, it looks like Skyvector doesn’t use the defined format even if it uses the extension fpl.Best regards, Heinz Am 01.11.2024 um 15:24 schrieb TTC70 @.***>: Stefan, as far as today I could NOT load the Flight-plan.fpl into EFN. The error i get from Enroute is: Error in reading of file 'content://com.android.providers.downloads.documents/document/msf%3A17935' (I guess the path is related to my phone). I created a simple flight plan on Skyvector, saved the flight plan into a .fpl file. It is a simple flight plan: LIRE - LIRF - LIRU - LIRL - LIRA and the content of the .fpl file is the following:

2024-11-01T14:09:49Z

  LIRE
  AIRPORT
  LI
  41.659372
  12.445156

  LIRF
  AIRPORT
  LI
  41.800278
  12.238889

  LIRU
  AIRPORT
  LI
  41.951944
  12.500833

  LIRL
  AIRPORT
  LI
  41.546906
  12.908264

  LIRA
  AIRPORT
  LI
  41.799444
  12.597222

LIRE LIRA
1

  LIRE
  AIRPORT
  LI

  LIRF
  AIRPORT
  LI

  LIRU
  AIRPORT
  LI

  LIRL
  AIRPORT
  LI

  LIRA
  AIRPORT
  LI

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

kebekus commented 2 weeks ago

@TTC70 The feature is available in the development branch of GIT. If you want to test it, you will have to compile the programm yourself -- for now. I hope to have a version on Google Play by the end of next week.

TTC70 commented 2 weeks ago

Anyway maybe I don't have the version of Enroute which allows to load the PLN. Will wait for the Beta version.

kebekus commented 2 weeks ago

Implemented in 2.31.16. Thanks for all your help!