[gdal-dev] FlushCache and SyncToDisk

Ari Jolma ari.jolma at tkk.fi
Mon Mar 24 12:22:11 EDT 2008


Frank,

I may have wondered and asked this before but anyway. Why don't the 
dataset and layer destructors check, if they were opened as update and 
call FlushCache or SyncToDisk in the destructor?

I thought about adding this into the wrappers but eAccess is a protected 
member of GDALDataset for example.

Regards,

Ari

-- 
Prof. Ari Jolma
Geoinformatiikka / Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the gdal-dev mailing list