id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
1365,Some drivers load incompletely as plugins,kyngchaos@…,warmerdam,"
Some GDAL drivers include multiple formats, with separate GDALRegister_* functions for each.  When built into GDAL, they are properly loaded by GDALAllRegister().  As a plugin, only the format of the plugin name is loaded by AutoLoadDrivers(), and any secondary formats are not.  This affects NetCDF (NetCDF + GMT), HDF4 (HDF4 + HDF4Image), HDF5 (HDF5 + HDF5Image), and ECW (ECW + JP2ECW).  There is also one similar case in OGR: ILI.

I don't know how correct this is, but I was able to solve the problem by calling the secondary GDALRegister_ from the primary GDALRegister_.  ie for HDF4, within GDALRegister_HDF4(), call GDALRegister_HDF4Image() after HDF4 is registered.

In case GDAL is built with the drivers within GDAL, the secondary driver calls should also be removed from GDALAllRegister(), to eliminate unnecessary redundant calls to those.
",enhancement,closed,normal,,GDAL_Raster,1.3.2,minor,wontfix,,
