ogr-json-stream
v0.3.0
Published
Transform stream that takes in ogr2ogr GeoJSON and spits out features from a feature colelction.
Downloads
9
Maintainers
Readme
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
});