feature-parser

2.0.0 • Public • Published

Feature-Parser

Parse streams of geojson into individual features

Example: Split geojson into 5 groups

const request = require('request')
const FeatureParser = require('feature-parser')
 
request.get(/* remote geojson */)
.pipe(FeatureParser.parse())
.batch(500)
.each(batch => /* do something with your batch */)

To parse newline delimited json pass {ndJSON: true}

Readme

Keywords

Package Sidebar

Install

npm i feature-parser

Weekly Downloads

4

Version

2.0.0

License

Apache-2.0

Last publish

Collaborators

  • dmfenton