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() ( http://gdal.org/cpl__vsi_8h.html#eaf26bcc4a5314371f426bb2a5e6ce7a ) > > Thanks and regards, > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
