1.1.0 • Published 6 years ago

geojson-id-streaming v1.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

geojson-id-streaming

Add a unique id to features in a GeoJSON FeatureCollection with streaming.

For a non-streaming implementation see https://github.com/andrewharvey/geojson-id

install

npm install -g geojson-id-streaming

usage

geojson-id [--property] < file.geojson > output.geojson

If --property is present the id will be added as a property rather than as a high level id field.

credits

This code was adapted from https://github.com/node-geojson/geojson-pick