Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/node-geojson/csv3geojson
super fast csv to geojson conversion
https://github.com/node-geojson/csv3geojson
Last synced: about 1 month ago
JSON representation
super fast csv to geojson conversion
- Host: GitHub
- URL: https://github.com/node-geojson/csv3geojson
- Owner: node-geojson
- Created: 2015-09-02T20:07:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-10T19:42:04.000Z (over 7 years ago)
- Last Synced: 2024-08-09T22:36:15.992Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 18
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - node-geojson/csv3geojson - super fast csv to geojson conversion (others)
README
# csv3geojson
Faster CSV to GeoJSON that only supports node.js and streams.
It's less user-friendly, not available as a library, not compatible with
browsers, but also a lot faster.## install
npm install -g csv3geojson
## usage
csv3geojson takes input from stdin, outputs into stdout, and takes two parameters,
the names of the longitude and latitude columns.## example
```
~/src/csv3geojson〉time ./csv3geojson LON LAT < ~/Downloads/us/va/statewide.csv > statewide.geojson
./csv3geojson LON LAT < ~/Downloads/us/va/statewide.csv > statewide.geojson 63.35s user 9.62s system 95% cpu 1:16.32 total
```