Convert Google KML file to Tomtom ov2 POI format
Support convert KML exported form https://www.google.com/maps/d/ to Tomtom Mydrive .ov2 POI format
npm install kml2ov2 -g
kml2ov2 --in input_path.kml.xml [--out output_path]
npm install kml2ov2
const kml2ov2 = require('kml2ov2');
/**
* @typedef {OV2} OV2
* @property name Name of the layer
* @property content Content buffer of ov2 file
*/
/**
* Convert KML to OV2
*
* @param json JSON representation of KML
* @return {OV2[]} ov2 files
*/
var ov2BufferArray = kml2ov2(json);