1.0.13 • Published 1 year ago

kml-to-geojson v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

kml-to-geojson

Convert KML content to GeoJSON, preserving style and folder data

Installation

npm install kml-to-geojson

This project was built in Typescript, so typing is supported out of the box

Usage

import { KmlToGeojson } from 'kml-to-geojson';
import * as fs from 'fs';

const kmlToGeojson = new KmlToGeojson();
const kmlContent = fs.readFileSync('./my-file.kml', 'utf-8');


const { folders, geojson } = kmlToGeojson.parse(kmlContent);
1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago