Home

Awesome

geojson2csv

a node.js module for converting a geojson file to a csv file

npm install geojson2csv

This module takes a geojson feature collection of points and converts it to a csv file.

var geojson2csv = require('geojson2csv')

geojson2csv('/path/to/points.geojson', '/path/to/points.csv', function(err){
  if(err) throw err
})

Test

cd test
mocha .