Ninja Pumpkin Mutants

    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
       });
    

    Install

    npm i ogr-json-stream

    DownloadsWeekly Downloads

    15

    Version

    0.3.0

    License

    ISC

    Last publish

    Collaborators

    • wpears