[Gdal-dev] CPL_DLL CSVDeaccess

Ben Discoe ben at vterrain.org
Fri Jun 27 11:33:55 EDT 2003


I have discovered there is no way to clean up the CSV cache at exit,
unless you have called GDALAllRegister/GDALDestroyDriverManager which
triggers the GeoTIFF module to clean up.

Since the CSV stuff is used heavily by the OGR coordinate system stuff
(not just the GDAL/GeoTIFF code), there needs to be way for apps using
OGR to clean up the CSV cache.

I found that calling CSVDeaccess is sufficient, but the following tiny
change is needed on Windows:

RCS file: /cvsroot/osrs/gdal/port/cpl_csv.h,v
retrieving revision 1.1
63c63
< void  CSVDeaccess( const char * );
---
> void  CPL_DLL CSVDeaccess( const char * );

Thanks,
Ben




More information about the Gdal-dev mailing list