geojson2shape

a module for converting a geojson file to a shape file

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
geojson2shape
0.2.410 years ago10 years agoMinified + gzip package size for geojson2shape in KB

Readme

geojson2kml
a node.js module for converting a geojson file to a shape file
npm install geojson2shape

This module is a simple wrapper around ogr2ogr that takes a geojson file and outputs a shape file. ogr2ogr must be installed to use this module.
var geojson2shape = require('geojson2shape')

geojson2shape('./polygons.geojson', './polygons.shp', zip, function(err){
  if(err) throw err
})