- Copy MRR folder into <GDAL Code Path>\frmts\ folder.
-
Edit the code files: gdalallregister.cpp, driver.ini, gdal_frmts.h, and CmakeLists.txt
- change gdalallregister.cpp to /frmts/gdalallregister.cpp
- add this code to /frmts/gdalallregister.cpp
#if def FRMT_mrr GDALRegister_MRR(); #endif
- add this code to /frmts/gdalallregister.cpp
- change driver.ini to /frmts/driver.ini
- add these entries to /frmts/driver.ini
- MRR
- EFAL
- add these entries to /frmts/driver.ini
- change gdal_frmts.h to /gcore/gdal_frmts.h
- add this code to /gcore/gdal_frmts.h
void CPL_DLL GDALRegister_mrf(void);
- add this code to /gcore/gdal_frmts.h
- change CmakeLists.txt to /frmts/CmakeLists.txt
- Make a new entry
- gdal_optional_format(mrr "MapInfo Multi Resolution Raster")
- Make a new entry
-
Add Preprocessor in build\frmts\gdal_frmts.vcxproj with FRMT_mrr
- change gdalallregister.cpp to /frmts/gdalallregister.cpp
-
Enable GDAL_ENABLE_DRIVER_MRR_PLUGIN and GDAL_ENABLE_DRIVER_MRR using CMake UI.