![]() |
|
conversion from .kml to .pln or .flt files - Printable Version +- RouteConverter Forum (https://forum.routeconverter.com) +-- Forum: Users (https://forum.routeconverter.com/forum-17.html) +--- Forum: English: Discussions (https://forum.routeconverter.com/forum-12.html) +--- Thread: conversion from .kml to .pln or .flt files (/thread-3139.html) |
RE: conversion from .kml to .pln or .flt files - routeconverter - 17.03.2021 (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? RE: conversion from .kml to .pln or .flt files - Jaro - 18.03.2021 Hi Chrisitian, 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 RE: conversion from .kml to .pln or .flt files - routeconverter - 19.03.2021 Maybe this makes it clear... I've removed everything from your .pln file that is not available from the .kml file. This is the result: Quote:<?xml version="1.0" encoding="UTF-8"?> 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. RE: conversion from .kml to .pln or .flt files - Jaro - 19.03.2021 Hi Christian, 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 RE: conversion from .kml to .pln or .flt files - routeconverter - 22.03.2021 (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
Quote:<SimBase.Document Type="AceXML" version="1,0"> RE: conversion from .kml to .pln or .flt files - Jaro - 22.03.2021 Hi Christian, Thank you for your reply. I deleted <DepartureName> and <DestinationName> and it works fine in MSFS2020 Enclosed I am sending you the file.Please let me know if I should make other changes in the file. Best regards Jaro RE: conversion from .kml to .pln or .flt files - routeconverter - 22.03.2021 Well, you could try to remove <Descr> and/or the <DepartureID>, <DepartureLLA>, <DestinationID>, <DestinationLLA> RE: conversion from .kml to .pln or .flt files - Jaro - 22.03.2021 Hi Chrisitan, <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. Best Jaro RE: conversion from .kml to .pln or .flt files - Jaro - 25.03.2021 Hi Christian, do you have pls any update regarding the conversion of .kml to .pln files? Thank you. Jaro RE: conversion from .kml to .pln or .flt files - routeconverter - 26.03.2021 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 ;-) |