0.1.8 • Published 10 years ago

geojson2 v0.1.8

Weekly downloads
14
License
-
Repository
github
Last release
10 years ago

geojson2

a geojson exporting utility belt

Installation

Note: ogr2ogr is required kml and shp. Run 'brew install gdal' on OSX, or 'sudo apt-get install gdal' on linux.

npm install geojson2

Use

geojson2.csv(__dirname+'/in.geojson', __dirname+'/out.csv', function(err){

})
geojson2.shp(__dirname+'/in.geojson', __dirname+'/out.shp', false, function(err){

})
geojson2.kml(__dirname+'/in.geojson', __dirname+'/out.kml', function(err){

})
geojson2.topojson(__dirname+'/in.geojson', __dirname+'/out.topojson', function(err){

})

Test

cd test
mocha .

Modules

This module is a utility belt wrapper around the following modules:

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago