Question

Convert one kml format to another template, the best way to go about it

  • 24 February 2022
  • 1 reply
  • 5 views

Badge

Hello!

We have a new software package that imports KMZ/KML to another KMZ/KML format, and cannot take the standard google earth created KMZ. This is causing us issues, as 99% of the kmls we get to import are in the standard XML Format. What is the best approach I can take or transformer to use in order to convert the different KML formats? I attached two examples. One we received from someone to import, and the template that the vendor needs to import.


1 reply

Userlevel 5
Badge +29

Seeing KML is essentially XML, take a look at the XMLTemplater. This will allow you to build custom XML(KML) documents with the correct structure

https://community.safe.com/s/article/xml-writing-with-xmltemplater

Reply