[gdal-dev] Reading ISequentialStream object in memory
Sommer, Martin
Martin.Sommer at cassidian.com
Thu Dec 6 01:00:34 PST 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121206/e87ff63c/attachment.html>
More information about the gdal-dev
mailing list