What does not seem to work is if I use CreateCopy with a /vsimem/ path.

rtn_ds = GDALCreateCopy(
        rtn_drv,
        "/vsimem/out.tif",
        src_ds,
        FALSE,
        options,
        NULL,
        NULL
);

-->  Here, you must close the dataset so it to be properly flushed before
getting the buffer.


Thanks Even!  That simple solution works for me.

-bborie

--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
[email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to