Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/morganherlocker/geojson2csv

a node.js module for converting a geojson file to a csv file
https://github.com/morganherlocker/geojson2csv

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        

geojson2csv
===========

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

```bash
npm install geojson2csv
```

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

```javascript
var geojson2csv = require('geojson2csv')

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

**Test**

```bash
cd test
mocha .
```