hankhank10
Resource contributor
- Messages
- 12
- Country

As you know, MSFS 2020 uses .PLN files to plan routes. They’re pretty annoying because:
I wrote a simple script in Python to do a few things:
It also includes an example.py to show how it works and a sample.pln file which you can use to test.
This is open source and comes with a GNU public licence. Hope you find it useful.
github.com
- They use XML. Is this 1999?
- They display latitude and longitude in a format which is pretty difficult to do anything with.
I wrote a simple script in Python to do a few things:
- Read an PLN file into a Python dictionary so you can do something with it.
- Read the latitudes and longitudes in the annoying PLN format and convert them to decimal lat/lons which you can, for instance, plot on a map.
- Outputs this all to a lovely usable JSON.
It also includes an example.py to show how it works and a sample.pln file which you can use to test.
This is open source and comes with a GNU public licence. Hope you find it useful.
msfs-pln-file-parser/LICENSE at main · hankhank10/msfs-pln-file-parser
Contribute to hankhank10/msfs-pln-file-parser development by creating an account on GitHub.