node-gdal icon indicating copy to clipboard operation
node-gdal copied to clipboard

Take stream as input

Open zhangjinzhou opened this issue 7 years ago • 4 comments

Is it possible to take stream as input?

zhangjinzhou avatar Jul 25 '18 17:07 zhangjinzhou

Hey, I have been trying to use an S3 file path to a .TIF file but i don't think it's supported. Have you found out any way to overcome this ?

MidasXIV avatar Mar 26 '19 06:03 MidasXIV

No. I researched, and it seems spatial files rarely support stream because of file structure.

zhangjinzhou avatar Mar 26 '19 16:03 zhangjinzhou

Many formats support streaming: GeoJSON, GML, CSV, GPX, KML… Currently node-gdal seems not to support stream in. You had to write your data to the filesystem, et read from it. But you can stream out easily.

jdesboeufs avatar Mar 28 '19 10:03 jdesboeufs

@MidasXIV Did you figure out or come across a solution for reading from s3? I'm sure this is common process! There is a solution for the gdal lib here but it throws an error from the node bindings.

timmycam avatar Oct 06 '19 02:10 timmycam