[Gdal-dev] GDALClose vs delete

William Lyons wlyons at prologic-inc.com
Wed Mar 9 12:41:45 EST 2005


Frank and List,

 

The documentation for GDALClose() mention that it should be used for
data sets opened with GDALOpenShared().

And that C++ delete should be used for data sets opened with GDALOpen().

 

But, which should be used to close datasets that are the product of a
GDALCreate() or GDALCreateCopy() call?

 

Thanks,

 

William Lyons

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20050309/9d4612fe/attachment.html


More information about the Gdal-dev mailing list