kml2ov2

1.0.2 • Public • Published

kml2ov2

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

Command line usage

npm install kml2ov2 -g
kml2ov2 --in input_path.kml.xml [--out output_path]

Library usage

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);

Readme

Keywords

none

Package Sidebar

Install

npm i kml2ov2

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • randing89