Skip to content

Convert Google KML file to Tomtom OV2 POI format

License

Notifications You must be signed in to change notification settings

randing89/kml2ov2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert Google KML file to Tomtom OV2 POI format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published