bm98/XPVTraffic

Issues with previewing KML

d41k4n opened this issue · 4 comments

I'm unable to import the written KML file into Google Earth or Google Maps (GE freezes and GM ends up with bogus lat/lon coordinates that are way out of bounds).

It seems the LineString coordinates don't make much sense and the decimal notation uses commas instead of dots as per the KML 2.2 reference example.

Find attached the resulting KML file for the bundled AcroRound-LSZH_RW14.vsc script:

AcroRound-LSZH_RW14.vsc.kml.zip

bm98 commented

If commas instead of decimal points are inserted it points to a locale issue.
Seems your locale would use decimal commas and the program does not force the locale to be 'neutral' in order to format numbers with decimal points.
Have to look into it and fix it..
Would you be able to let me know which locale (country setting) your computer is set to - just to confirm the root cause

bm98 commented

I've added the locale fix - could you confirm? Then I will upload the update
Just drop the zipped exe and dll into the current app folder
Thanks

XPTsim-0.9.0.10.zip

Thanks a lot - that fixes the KML so it can be imported and visualized in other tools.

FYI: I also had to re-create the airway/runway database as it suffered from the same issue (without re-creating it the KML's geolocation was completely wrong).

bm98 commented

Fix released as Version 0.10 Build 10