Displaying 1 to 5 from 5 results

togeojson - convert KML and GPX to GeoJSON, without the fuss


This converts KML & GPX to GeoJSON, in a browser or with Node.js.Convert a KML document to GeoJSON. The first argument, doc, must be a KML document as an XML DOM - not as a string. You can get this using jQuery's default .ajax function or using a bare XMLHttpRequest with the .response property holding an XML DOM.

leaflet-omnivore - universal format parser for Leaflet & Mapbox.js


Leaflet supports the GeoJSON format by default. What if you have something else? That's where omnivore comes in.Omnivore also includes an AJAX library, corslite, so you can specify what you want to add to the map with just a URL.

tokml - Convert GeoJSON to KML.


Convert GeoJSON to KML.Given GeoJSON data as an object, return KML data as a string of XML.