Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gavinr/geojson-csv-join

A script to take a GeoJSON file, and JOIN data onto that file from a CSV file.
https://github.com/gavinr/geojson-csv-join

csv geojson javascript

Last synced: about 2 months ago
JSON representation

A script to take a GeoJSON file, and JOIN data onto that file from a CSV file.

Awesome Lists containing this project

README

        

# geojson-csv-join

A script to take a GeoJSON file, and JOIN data onto that file from a CSV file.

## Running

### Prereq:

1. First make sure your GeoJSON file is in the working directory called `in.geojson` (an example is included in the repo)
2. Then make sure your CSV file is in the working directory called `in.csv` (an example is included in the repo)
3. Then open `index.js`, and change the "SETTINGS" area for the column names that you wish to join.

Finally, in a command prompt, run:

$ npm install
$ node index.js

## More Information

* http://geojson.org/

## Contributors

Author: [Gavin Rehkemper](http://github.com/gavreh)

## License

Code for this package under the MIT license.