Drop support for gdal 1.X
1 unresolved thread
1 unresolved thread
Compare changes
Files
38@@ -86,7 +86,7 @@ See table \ref{tab:otb-dependencies} for the full list of dependencies.
This merge request removes support for GDAL 1.X.
Gdal 2.X has been around for some time, and supporting both version is hard to maintain (see #1769 (closed)).
The following modifications have been made :
Modules/ThirdParty/GDAL/otb-module-init.cmake
GDAL_VERSION_NUM
for version prior to gdal 2.0 have been removed.otb::ogr::version_proxy
has been removed, in particular :
GetAvailableDriversAsStringVector
, GetFileListAsStringVector(GDALDataset * dataset)
and IsFieldSetAndNotNull
have been moved to the otb::ogr
namespace in the file otbOGRHelpers.h
. Note that IsFieldSetAndNotNull
still depends on GDAL version (one implementation for GDAL<2.2 and one for GDAL >=2.2).version_proxy::Open(...)
have been replaced by GDALOpenEx(...)
OTB_USE_GDAL_20
has been removed, as it is always true now.Please tell me if you think I missed something that can be removed in this MR !
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging: