GeoJSON

toGeoJSON is a simple way to use KML and GPX formats with modern web tools like Leaflet and MapBox. It's simple, written in plain, dependency-free JavaScript and designed to work across browsers and in node.js.

KML

  • LineString, Polygon, MultiPolygon, MultiLineString, Point, MultiGeometry
  • ExtendedData, SimpleData, name, description

GPX

  • Tracks, Routes, and Waypoints
  • Standard metadata