pbogre / jetlog

Personal flight tracker and viewer
https://github.com/pbogre/jetlog
GNU General Public License v2.0
177 stars 7 forks source link

Adding Private Airports #41

Open pigs-fly opened 1 month ago

pigs-fly commented 1 month ago

Adding private airports that are not in the current airport list.

Could there be a way to write in an airport that is not in the list of airports? Whether by free text with coordinates or by defining an airports details for use locally.

pbogre commented 4 weeks ago

Thanks for the issue.

Currently the airports are taken from an open database linked in the README. I think the ability to use text + coordinates for an airport would be pretty messy, both for frontend and backend. I like the idea to add some custom airports and adding those to the pool of possible airports when adding a flight.

This would probably mean creating a new table custom_airports, and appropriate frontend to add airports such as specifying coordinates (map support?).

I'm on vacation for another week now, and I'll be working on bug fixes / small features higher up on my priority list before this, but until then i'm happy to review a PR. :)