Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 181 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 181 Bytes

KMltoGeoJSON

kml or kmz file to GeoJSON

JSON.parse(JSON.stringify(toGeoJSON.kml((new DOMParser()).parseFromString(d, 'text/xml')), null, 4))

https://mapbox.github.io/togeojson/