GeoConvert
Converting between Geojson and GIS file formats
KML(KMZ), GPX, Shapefile, DXF(unfinished), WKT(unfinished)
Rreference the JavaScript file manually:
<script src="dist/GeoConvert.min.js"></script>Note that coordinate transformations depend on proj4.js (this means proj4.js must be included before including the file).
<script src="lib/proj4.js"></script>Usage
kml to geojson
GeoConvert.kml2Geojson(kml);geojson to kml
GeoConvert.geojson2Kml(geojson);gpx to geojson
GeoConvert.gpx2Geojson(kml);geojson to gpx
GeoConvert.geojson2Gpx(geojson);shapefile to geojson
//shapefile is a object that contain shp, dbf [arrayBuffer], prj? [string]
var shapefile = {};
shapefile.shp = arrayBuffer_shp;
shapefile.dbf = arrayBuffer_dbf;
//optional
shapefile.prj = string_prj;
GeoConvert.shapefile2Geojson(shapefile);wkt to geojson
GeoConvert.wkt2Geojson(wkt);
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
