Re: [gdal-dev] CPLFreeConfig() in port/cpl_conv.cpp

2012-12-19 Thread Roger Bivand
On Wed, 19 Dec 2012, Even Rouault wrote: Selon Roger Bivand : Hi, I can get and set ConfigOptions using functions in port/cpl_conv.cpp, but I have not found a way of unsetting a ConfigOption, only CPLFreeConfig() which NULLs them all. I can also not see how to query which keys are set, so tha

Re: [gdal-dev] CPLFreeConfig() in port/cpl_conv.cpp

2012-12-19 Thread Even Rouault
Selon Roger Bivand : > Hi, > > I can get and set ConfigOptions using functions in port/cpl_conv.cpp, but I > have not found a way of unsetting a ConfigOption, only CPLFreeConfig() which > NULLs them all. I can also not see how to query which keys are set, so that > I could store their values, and

[gdal-dev] CPLFreeConfig() in port/cpl_conv.cpp

2012-12-19 Thread Roger Bivand
Hi, I can get and set ConfigOptions using functions in port/cpl_conv.cpp, but I have not found a way of unsetting a ConfigOption, only CPLFreeConfig() which NULLs them all. I can also not see how to query which keys are set, so that I could store their values, and re-instate them after blowing awa