(17.03.2021, 16:35)Jaro Wrote: I did not tried to minimize .kml files and I don´t know max size of the file could be imported to MSFS2020. I expected all .pln files could be imported, but I don´t know how to convert it.
I'm questioning the assumption that "all .pln files could be imported" when RouteConverter converted them from .kml files.
Why? Because .pln files contain, as @kumo found out, lots of information that isn't available in .kml files.
That why you (I don't have MSFS2020.) need to find out, what's minimally required. Then we can compare if that's contained in .kml files and if an implementation in RouteConverter makes sense since it will produce files that can be imported.
I hope that clarifies the typical process for a new file format?
Enclosed I am sending you one .PLN file which is generated by one aircraft flight plan generator program and which is acceptable by MSFS2020. From the same source I generated .KML file ( enclosed as well). So if you could convert this .KML file to .PLN file , I think it will be be acceptable by MSFS2020. The question is if the previous my own raw .KML file ( Barbados - Punta Cana ) has the same structure as enclosed .KML file. Best, Jaro
Please put this into a test.pln file and try to import it to MSFT2020. If it fails, interpret the error message and add information from the original file until it's correctly imported.
Thank you for your message. I created new file test.pln and start to upload the file to MSFS2020 and nothing happened. No error messages, but no data - no positions in the map of MSFS. Just empty map. I add some other details from the original file and it works now. Enclosed I am sending you test.pln which is working (as a straight line between two places) . But I am not sure how I can implement such rules to my raw. kml and to all.kml raw files I have from my logger. Thank you Christian. Best , Jaro
(19.03.2021, 18:12)Jaro Wrote: Enclosed I am sending you test.pln which is working (as a straight line between two places) . But I am not sure how I can implement such rules to my raw. kml and to all.kml raw files I have from my logger.
Looking a the file
<DepartureID>, <DepartureLLA>, <DestinationID>, <DestinationLLA> could be determined from the first and last position.
<Descr> could be the same like <Title> - the title of the position list i
<AppVersion> and the stuff below could be static
same with <ATCWaypointType>
<ICAO> could be the same like <ATCWaypoint#id>
<DepartureName> and <DestinationName> have no equivalent, is it possible to drop them? Or put <DepartureID> and <DestinationID> into them?
<Descr> removed, <DepartureLLA> and <DestinationLLA> removed and it works well. When I remove <DepartureID> and <DestinationID>,, it does not work. Enclosed file is working well.
Hi Jaro,
as you know this is a spare time project of mine – after family, job, work...
I've started to search for a XSD file describing the .pln file format but failed to do so. Seems I'd have to write it by hand. Any help is welcome. Donations help, too ;-)