Socket
Socket
Sign inDemoInstall

kml2ov2

Package Overview
Dependencies
29
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kml2ov2

Convert Google KML file to Tomtom OV2 POI format


Version published
Maintainers
1
Created

Readme

Source

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

FAQs

Last updated on 30 Dec 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc