Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/node-geojson/geojson-join
Join a stream of GeoJSON against a dataset.
https://github.com/node-geojson/geojson-join
Last synced: 5 days ago
JSON representation
Join a stream of GeoJSON against a dataset.
- Host: GitHub
- URL: https://github.com/node-geojson/geojson-join
- Owner: node-geojson
- Archived: true
- Created: 2015-06-02T02:19:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T10:00:02.000Z (about 6 years ago)
- Last Synced: 2024-08-01T12:33:07.028Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 35
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - node-geojson/geojson-join - Join a stream of GeoJSON against a dataset. (others)
README
# geojson-join
Join a stream of GeoJSON against a dataset.
## install
npm install -g geojson-join
## usage
* againstField: the field in the dataset to join against geojson
* geojsonField: the field in the geojson feature properties
* `format`: format of the dataset. can be json, csv, dbf. Default json.Accepts GeoJSON on stdin and the joined-against file as an argument
```sh
$ geojson-join test/against.json \
--againstField=id \
--geojsonField=id < test/random.geojson
``````sh
$ geojson-join --format=dbf \
test/against.dbf \
--againstField=id \
--geojsonField=id < test/random.geojson
```