Skip to content
This repository has been archived by the owner on Jan 30, 2019. It is now read-only.

node-geojson/geojson-join

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

$ geojson-join test/against.json \
    --againstField=id \
    --geojsonField=id < test/random.geojson
$ geojson-join --format=dbf \
    test/against.dbf \
    --againstField=id \
    --geojsonField=id < test/random.geojson

About

Join a stream of GeoJSON against a dataset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published