[gdal-dev] Using MEM driver to output to an gtiff in /vsimem/
Bborie Park
bkpark at ucdavis.edu
Tue Mar 29 18:39:27 EDT 2011
>> 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
bkpark at ucdavis.edu
More information about the gdal-dev
mailing list