Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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
```