Jump to content
Sign in to follow this  
matifoopong

Coordinates format of PLN file for MSFS

Recommended Posts

MSFS uses * ’ " as coordinates format when generating a flight plan file (*.PLN), whereas all others including LNM use ° ’ ".
A flight plan that has ° ’ " can be loaded by MSFS, but one or more waypoints will be translated into wrong coordinates (thousands of miles away from the correct waypoint) more often than not.
While we are waiting for MSFS developers to fix the bug, we can avoid it by replacing ° with * using a text editor.
For example, you have to change 11° 22’ 33" to 11* 22’ 33" before loading it into MSFS.
This problem has been known for years, but surprisingly I cannot see many people complaining about it.
So I wonder -- Is there anyone who uses LNM and MSFS without experiencing it?
Is there a more convenient way than using Notepad?

Share this post


Link to post
Share on other sites

MSFS also uses ° in its saved files. Never seen this or heard about this issue.

Can you post a plan where this replacement fixes an issue with coordinate translations? Is this with Navigraph navdata installed?

Alex

Share this post


Link to post
Share on other sites

I cannot attach PLN files onto this post, so let me send you an email, Alex.

I created A.pln with LNM and loaded it from MSFS. The result is not good:

spacer.png

I changed ° to * and saved the file as B.pln. The result is good:

spacer.png

Also for your reference, I created a flight plan from within MSFS and saved it as C.pln, which contains * instead of °.

By the way, based on the fact that your MSFS uses ° unlike mine, I began to suspect it only happens in Asian languages environment.

spacer.png

While experimenting with various Windows language settings, I found that the problem disappears if I check the box.

I am not sure if I can call it a good solution, because I have no idea exactly what it does.

Share this post


Link to post
Share on other sites

Thanks you a lot for the files. I'll have a look at it.
I can test MSFS only with a German or English environment. Will try. The UTF-8 does not appear with Windows 10. I suppose you use 11.

I'm sure there is a bug in MSFS where they use user locale to read numbers. This is normally an absolute no-go for data formats like PLN or CSV where one should always use English number formats.

Such things are particularly funny in German, as the meaning of "," and "." is twisted compared to English.

Alex

Share this post


Link to post
Share on other sites

Ok. Anyway, the files are stored as UTF-8 and not the local code page. The files should work in all environments. This is most likely a bug in MSFS.

Try a pre-3.0.4 here: https://k00.fr/q8vl9pyl

Keep in mind that this version will not remind you if the final 3.0.4 is released. Better check the Avsim forum or the feed on my site.
I'll probably have to do more more updates if there are bugs.

Alex

Share this post


Link to post
Share on other sites

Thank you so much for this change. It works perfectly in my environment.

Also I noticed that I don't have to do anything with this version in order to see airport names in English.

I really appreciate it.

Matifoopong

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for confirming the fix, Matifoopong!

4 hours ago, matifoopong said:

Also I noticed that I don't have to do anything with this version in order to see airport names in English.

As intended. Perfect.

Alex

Share this post


Link to post
Share on other sites

Here is a release candidate for 3.0.6: https://k00.fr/3liopl2z

Sorry, I had to revert back to the ° sign because the change cause issues with third-party applications like Navigraph Charts.

But I added a multexport format "Microsoft Flight Simulator 2020 format using "*" as degree sign." which can be used if you run into issues.

Alex

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...