Commit a186d3c4 authored by Julien Michel's avatar Julien Michel

ENH: Getting jasper blacklisted again, enabling HDF

parent 886cd1f0
......@@ -65,23 +65,20 @@ GDALDatasetWrapper::IsJPEG2000() const
GDALDriverManagerWrapper::GDALDriverManagerWrapper()
{
GDALAllRegister();
GDALDriver* driver = 0;
// Ignore incompatible Jpeg2000 drivers (Jasper)
/*
driver = GetGDALDriverManager()->GetDriverByName( "JPEG2000" );
if (driver)
GetGDALDriverManager()->DeregisterDriver( driver );
*/
#ifndef CHECK_HDF4OPEN_SYMBOL
GDALDriver* driver = 0;
// Get rid of the HDF4 driver when it is buggy
driver = GetGDALDriverManager()->GetDriverByName( "hdf4" );
if (driver)
GetGDALDriverManager()->DeregisterDriver( driver );
#endif
// #ifndef CHECK_HDF4OPEN_SYMBOL
// // Get rid of the HDF4 driver when it is buggy
// driver = GetGDALDriverManager()->GetDriverByName( "hdf4" );
// if (driver)
// GetGDALDriverManager()->DeregisterDriver( driver );
// #endif
}
GDALDriverManagerWrapper::~GDALDriverManagerWrapper()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment