ogr-json-stream

0.3.0 • Public • Published

Stream the GeoJSON feature collection output of ogr2ogr as individual features.

spawn('ogr2ogr', ['-f, 'GeoJSON' '/vsistdout/', 'somefile.shp'])
  .pipe(OgrJsonStream())
  .on('data', function(feature){
    //individual features here, as objects
   });

Package Sidebar

Install

npm i ogr-json-stream

Weekly Downloads

1

Version

0.3.0

License

ISC

Last publish

Collaborators

  • wpears