Build GDAL Driver for Linux - MapInfo_Pro - Latest

MapInfo Multi Resolution Raster (MRR) GDAL Driver Installation Guide

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
Latest
ft:locale
en-US
Product name
MapInfo Pro
ft:title
MapInfo Multi Resolution Raster (MRR) GDAL Driver Installation Guide
Copyright
2025
First publish date
1994
ft:lastEdition
2025-08-18
ft:lastPublication
2025-08-18T11:35:14.980000
Note: Make sure you have Docker installed on the machine.
  1. Download the code files for the GDAL driver.
  2. Unzip the file.
  3. Open Powershell command prompt in Windows.
  4. Replace the provided Package\docker\Ubuntu-full folder, at the <Path to GDAL code>\Docker\.
  5. Change directory to < Path to GDAL code >\Docker\ubuntu-full Path.
  6. From the Command prompt, run this command: docker build -t gdal_build.
    This command creates an Ubuntu 24 image for gdal_build.


  7. Once the image is created and process is completed, run this command: docker run -d -it --name NewName -v "":/gdal <ID of the image gdal_build name created in Step 6>.
    The above step will start the created Docker image on your machine.


  8. Copy the package ogr\ogrsf_frmts \EFAL folder provided in to the \ogr\ogrsf_frmts.
  9. Change the ogrsf_frmts.h and CMakeLists.txt as follows:
    1. CMakeLists.txt: Add this code in the file ogr_optional_driver(efal "MapInfo EFAL") along with other formats.

    2. ogrsf_frmts.h: Add this code in the file void CPL_DLL RegisterOGREFAL();

  10. Copy the Package\frmts\MRR folder provided at the path <GDAL Root Path of code>\frmts.
  11. Edit the code files: gdalallregister.cpp, driver.ini, gdal_frmts.h, and CmakeLists.txt
    1. change gdalallregister.cpp to /frmts/gdalallregister.cpp
      • add this code to /frmts/gdalallregister.cpp
        #ifdef FRMT_mrr
          GDALRegister_MRR();
        #endif
    2. change driver.ini to /frmts/driver.ini
      • add these entries to /frmts/driver.ini
        • MRR
        • EFAL
    3. change gdal_frmts.h to /gcore/gdal_frmts.h
      • add this code to /gcore/gdal_frmts.h
        void CPL_DLL GDALRegister_mrf(void);
    4. change CmakeLists.txt to /frmts/CmakeLists.txt
      • Make a new entry
        • gdal_optional_format(mrr "MapInfo Multi Resolution Raster")
  12. <Code Path>/docker/ubuntu-full/build CmakeCache.txt file make changes for:
    1. GDAL_ENABLE_DRIVER_MRR_PLUGIN:BOOL=ON

    2. OGR_ENABLE_DRIVER_EFAL_PLUGIN:BOOL=ON

  13. On the Docker, execute the following:
    1. Change directory /gdal/docker/ubuntu-full
    2. Run sh bh-gdal.sh


    This will build the code and place the output at <GDAL Root Path of code>/docker/ubuntu-full/build.
  14. The built code will have gdal_MRR and ogr_EFAL available as plugin.