[Gdal-dev] CPL_DLL CSVDeaccess

Frank Warmerdam warmerdam at pobox.com
Fri Jun 27 12:21:46 EDT 2003


Ben Discoe wrote:

> 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:

Ben,

I have committed changes to cpl_csv.h to expose the whole CSV API.

There is of course the more general question of how to "unload" things
if only the OGR coordinate system services are being used.  I haven't got
a full solution for that yet.

Thanks,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list