MIGRATION GUIDE FROM GDAL 3.5 to GDAL 3.6
-----------------------------------------
- Out-of-tree vector drivers:
* GDALDataset::IBuildOverviews(): parameters panOverviewList and panBandList
are now of type 'const int*' (previously 'int*')
Added a CSLConstList papszOptions member.
* GDALRasterBand::BuildOverviews(): parameter panOverviewList is now of
type 'const int*' (previously 'int*')
Added a CSLConstList papszOptions member.
* Compatibility layers of GDAL 3.0 _GetProjectionRef(), _GetGCPProjectionRef(),
_SetProjection(), _SetGCPs() have been removed
This means that we should remove all _GetProjectionRef() methods when compiling against GDAL_VERSION_MAJOR > 2 and reimplement GetSpatialRef() because GetSpatialRefFromOldGetProjectionRef() has been removed too.
From https://github.com/OSGeo/gdal/blob/master/MIGRATION_GUIDE.TXT:
This means that we should remove all
_GetProjectionRef()
methods when compiling againstGDAL_VERSION_MAJOR > 2
and reimplementGetSpatialRef()
becauseGetSpatialRefFromOldGetProjectionRef()
has been removed too.