[gdal-dev] Can MEM-dataset be serialized as binary stream?
even.rouault at mines-paris.org
Sun Jan 8 13:14:34 EST 2012
Le samedi 07 janvier 2012 11:00:43, 吴磊 a écrit :
> Hi, guys,
> I want to transfer some small datasets among compute nodes in a
> distribute system. Actually, they are not necessary to be persistence,
> they are only existed in memory.
> Is there any approach I can use to serialize GDALDataset. MEM-dataset
> seems to be only used in local node, am I right?
You can for example CreateCopy to a /vsimem/a_geotiff.tif and then get the
buffer with VSIGetMemFileBuffer() (
> Thanks and regards,
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
More information about the gdal-dev