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: 23 days ago
JSON representation
a node.js module for converting a geojson file to a csv file
- Host: GitHub
- URL: https://github.com/morganherlocker/geojson2csv
- Owner: morganherlocker
- License: mit
- Created: 2013-12-06T00:03:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T15:26:53.000Z (about 7 years ago)
- Last Synced: 2025-03-25T13:21:15.830Z (about 1 month ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - morganherlocker/geojson2csv - a node.js module for converting a geojson file to a csv file (others)
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 .
```