基本信息 在GDAL的Tutorial中开篇即提到GDALAllRegister函数,它会注册所有已知的驱动,包括动态库自动加载的驱动.最关键是这句话: If for some applications it is necessary to limit the set of drivers it may be helpful to review the code from gdalallregister.cpp. 我就是要精简GDAL的源代码,所以从分析GDALAllRegister函数开始是个…
这个函数很短小: /** * \brief This method unload undesirable drivers. * * All drivers specified in the space delimited list in the GDAL_SKIP * environmentvariable) will be deregistered and destroyed. This method * should normally be called after registration…