GeoJSON to CSV module
npm install geocsv
var geocsv = require('geocsv');
geocsv.createCSVStream(filename, function (err, stream) {
stream.on('data', function (data) {
console.log(data.toString());
});
});
All fields from properties
are mapped as a column, and geometry
is converted
into Well Known Text.
Contributions welcome! Please read the contributing guidelines first.