Hello,

is there a way to read a COM-object "ISequentialStream" into a GDAL/OGR
datasource?

Stream : public ISequentialStream {
};

I would like to create no other copy of the existing stream and no
temporary file on disk.
Example for shape-file (pseudo code):

CComPtr<IStream> _stream;
VSIFCloseL( VSIFileFromMemBuffer( "vsimem/test.shp", ?_stream?, 0, FALSE
) );


Regards,
Martin

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to