MapInfo Pro

 View Only
  • 1.  GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Employee
    Posted 05-17-2022 09:44
    Edited by Anshul Goel 05-17-2022 09:45
    We are happy to announce that we have added support for MRR plugin for GDAL version 3.2.x, 3.3.x and 3.4.x.

    With this, we now support MRR plugin for GDAL versions 2.4.x, 3.0.x, 3.2.x, 3.3.x and 3.4.x.

    The plugin and it's documentation can be downloaded from below location:
    https://support.precisely.com/product-downloads/item/mapinfo-mrr-sdk-download/

    The zip file contains MRR plugin for Windows, Centos 7, Ubuntu, Amazon Linux and Oracle Linux along with source code to build MRR plugin (In case MRR plugin is required for some other OS).

    To enable read support for MRR file through GDAL, you will need to copy the MIRaster Binaries for required OS to GDAL bin/lib folder(Location where GDAL libs are present). And then copy the MRR plugin file to gdalplugins folder. Once done, you can try running below command to ensure that mrr read support is enabled in GDAL.

    gdalinfo --format mrr​




    If you get above message then your MRR plugin is configured successfully.

    The same steps can be followed to enable MRR file read support in QGIS.

    Please refer MRR plugin documentation for additional information. Feel free to reach out in case of any queries.

    ------------------------------
    Anshul Goel
    ------------------------------


  • 2.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Posted 08-19-2022 13:53
    Hi Anshul,
    it's possible to have the support for GDAL 3.5.x the one used by QGIS now?

    ------------------------------
    Fabio Cosimelli
    Knowledge Community Shared Account
    ------------------------------



  • 3.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Employee
    Posted 08-24-2022 10:35
    Hello Fabio,

    Adding support for GDAL 3.5.x is under discussion, we don't have any timeline yet. We will update the thread as soon as it is available.

    In the meantime feel free to explore option to build MRR driver from source. This way you should be able to add support for MRR file in GDAL 3.5.x.

    Instructions for building MRR driver from source can be found at below link:
    https://du8h850wz9371.cloudfront.net/product-downloads/mapinfo-pro/sdks/MRR_GDAL_MAY2022/mrr.pdf

    Source is part of the zip file you might already have downloaded. It's under MRR folder. Adding URL again for reference:
    https://du8h850wz9371.cloudfront.net/product-downloads/mapinfo-pro/sdks/MRR_GDAL_MAY2022/MIRasterGDAL_Binaries%2BPlugin.zip

    Feel free to reach out if you need further information on the same.

    Thanks
    Anshul

    ------------------------------
    Anshul Goel
    ------------------------------



  • 4.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Posted 08-31-2022 15:50

    Hi Anshul,

    I have compiled the gdal, I have copierd 'mrr' folder in frmts folder.

     

    Now I have the errors you see in the log, can you help me?

     

    Fabio

     






  • 5.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Employee
    Posted 30 days ago
    Hello Fabio,

    Can you please share screenshot of the error or maybe attach logs.

    Thanks
    Anshul

    ------------------------------
    Anshul Goel
    ------------------------------



  • 6.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Posted 30 days ago

    I had attached a txt file that not passed.

     

    These are the first row of the log:

     

    D:\SW_TMP\gdal-3.5.1\frmts\mrr>nmake /f makefile.vc plugin

     

    Microsoft (R) Program Maintenance Utility Version 14.29.30146.0

    Copyright (C) Microsoft Corporation.  All rights reserved.

     

            link /dll  /out:gdal_MRR.dll mrrdataset.obj MRRRasterBand.obj MRRSDKImpl.obj ..\../gdal_i.lib

    Microsoft (R) Incremental Linker Version 14.29.30146.0

    Copyright (C) Microsoft Corporation.  All rights reserved.

     

       Creating library gdal_MRR.lib and object gdal_MRR.exp

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLDestroyXMLNode referenced in function "public: class std::unique_ptr<struct CPLXMLNode,struct CPLXMLTreeCloserDeleter> & __thiscall std::unique_ptr<struct CPLXMLNode,struct CPLXMLTreeCloserDeleter>::operator=<struct CPLXMLTreeCloserDeleter,0>(class std::unique_ptr<struct CPLXMLNode,struct CPLXMLTreeCloserDeleter> &&)" (??$?4UCPLXMLTreeCloserDeleter@@$0A@@?$unique_ptr@UCPLXMLNode@@UCPLXMLTreeCloserDeleter@@@std@@QAEAAV01@$$QAV01@@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CPLDestroyXMLNode

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLError referenced in function "public: static class GDALDataset * __cdecl MRRDataset::OpenMRR(class GDALOpenInfo *)" (?OpenMRR@MRRDataset@@SAPAVGDALDataset@@PAVGDALOpenInfo@@@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CPLError

    mrrdataset.obj : error LNK2019: unresolved external symbol _VSIFree referenced in function "public: virtual __thiscall MRRDataset::~MRRDataset(void)" (??1MRRDataset@@UAE@XZ)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _VSIFree

    mrrdataset.obj : error LNK2019: unresolved external symbol _GDALCheckVersion@12 referenced in function _GDALRegister_MRR

    mrrdataset.obj : error LNK2019: unresolved external symbol _GDALGetDataTypeSizeBytes@4 referenced in function "public: int __thiscall GDALRasterBlock::GetBlockSize(void)const " (?GetBlockSize@GDALRasterBlock@@QBEHXZ)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _GDALGetDataTypeSizeBytes@4

    mrrdataset.obj : error LNK2019: unresolved external symbol _GDALOpenEx@20 referenced in function "public: static class GDALDataset * __cdecl GDALDataset::Open(char const *,unsigned int,char const * const *,char const * const *,char const * const *)" (?Open@GDALDataset@@SAPAV1@PBDIPBQBD11@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _GDALOpenEx@20

    mrrdataset.obj : error LNK2019: unresolved external symbol _GDALGetDriverByName@4 referenced in function _GDALRegister_MRR

    mrrdataset.obj : error LNK2019: unresolved external symbol _GDALClose@4 referenced in function "public: void __thiscall GDALDatasetUniquePtrDeleter::operator()(class GDALDataset *)const " (??RGDALDatasetUniquePtrDeleter@@QBEXPAVGDALDataset@@@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _GDALClose@4

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLMalloc referenced in function "private: void __thiscall MRRDataset::PopulateCategories(unsigned int const &)" (?PopulateCategories@MRRDataset@@AAEXABI@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLCalloc referenced in function "private: void __thiscall MRRDataset::PopulateCategories(unsigned int const &)" (?PopulateCategories@MRRDataset@@AAEXABI@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CPLCalloc

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLStrdup referenced in function "private: void __thiscall MRRDataset::PopulateCategories(unsigned int const &)" (?PopulateCategories@MRRDataset@@AAEXABI@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CPLStrdup

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLGetExtension referenced in function "public: static int __cdecl MRRDataset::IdentifyMRR(class GDALOpenInfo *)" (?IdentifyMRR@MRRDataset@@SAHPAVGDALOpenInfo@@@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol _CSLDestroy@4 referenced in function "public: virtual __thiscall MRRDataset::~MRRDataset(void)" (??1MRRDataset@@UAE@XZ)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CSLDestroy@4

    mrrdataset.obj : error LNK2019: unresolved external symbol _CSLFindString referenced in function "public: int __thiscall CPLStringList::FindString(char const *)const " (?FindString@CPLStringList@@QBEHPBD@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CSLFindString

    mrrdataset.obj : error LNK2019: unresolved external symbol _CSLPartialFindString referenced in function "public: int __thiscall CPLStringList::PartialFindString(char const *)const " (?PartialFindString@CPLStringList@@QBEHPBD@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CSLPartialFindString

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLRecodeFromWChar referenced in function "public: static class GDALDataset * __cdecl MRRDataset::OpenMRR(class GDALOpenInfo *)" (?OpenMRR@MRRDataset@@SAPAVGDALDataset@@PAVGDALOpenInfo@@@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLRecodeToWChar referenced in function "public: static class GDALDataset * __cdecl MRRDataset::OpenMRR(class GDALOpenInfo *)" (?OpenMRR@MRRDataset@@SAPAVGDALDataset@@PAVGDALOpenInfo@@@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol "public: class CPLString & __thiscall CPLString::toupper(void)" (?toupper@CPLString@@QAEAAV1@XZ) referenced in function "private: class GDALDriver * __thiscall GDALDriverManager::GetDriverByName_unlocked(char const *)const " (?GetDriverByName_unlocked@GDALDriverManager@@ABEPAVGDALDriver@@PBD@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol "public: class CPLString & __thiscall CPLString::toupper(void)" (?toupper@CPLString@@QAEAAV1@XZ)

    mrrdataset.obj : error LNK2019: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ) referenced in function "public: bool __thiscall CPLStringList::empty(void)const " (?empty@CPLStringList@@QBE_NXZ)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol "public: int __thiscall CPLStringList::Count(void)const " (?Count@CPLStringList@@QBEHXZ)

    mrrdataset.obj : error LNK2019: unresolved external symbol "public: class CPLStringList & __thiscall CPLStringList::InsertStringDirectly(int,char *)" (?InsertStringDirectly@CPLStringList@@QAEAAV1@HPAD@Z) referenced in function "public: class CPLStringList & __thiscall CPLStringList::InsertString(int,char const *)" (?InsertString@CPLStringList@@QAEAAV1@HPBD@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol "public: class CPLStringList & __thiscall CPLStringList::InsertStringDirectly(int,char *)" (?InsertStringDirectly@CPLStringList@@QAEAAV1@HPAD@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall CPLStringList::FetchNameValue(char const *)const " (?FetchNameValue@CPLStringList@@QBEPBDPBD@Z) referenced in function "public: char const * __thiscall CPLStringList::operator[](char const *)const " (??ACPLStringList@@QBEPBDPBD@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol "public: char const * __thiscall CPLStringList::FetchNameValue(char const *)const " (?FetchNameValue@CPLStringList@@QBEPBDPBD@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol "public: class CPLStringList & __thiscall CPLStringList::Assign(char * *,int)" (?Assign@CPLStringList@@QAEAAV1@PAPADH@Z) referenced in function "public: class CPLStringList & __thiscall CPLStringList::operator=(char * *)" (??4CPLStringList@@QAEAAV0@PAPAD@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol "public: class CPLStringList & __thiscall CPLStringList::Assign(char * *,int)" (?Assign@CPLStringList@@QAEAAV1@PAPADH@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol "public: char * __thiscall CPLStringList::operator[](int)" (??ACPLStringList@@QAEPADH@Z) referenced in function "public: char * __thiscall CPLStringList::operator[](unsigned int)" (??ACPLStringList@@QAEPADI@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol "public: char * __thiscall CPLStringList::operator[](int)" (??ACPLStringList@@QAEPADH@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall CPLStringList::operator[](int)const " (??ACPLStringList@@QBEPBDH@Z) referenced in function "public: char const * __thiscall CPLStringList::operator[](unsigned int)const " (??ACPLStringList@@QBEPBDI@Z)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol "public: char const * __thiscall CPLStringList::operator[](int)const " (??ACPLStringList@@QBEPBDH@Z)

    mrrdataset.obj : error LNK2019: unresolved external symbol _CPLAtomicAdd referenced in function "public: int __thiscall GDALRasterBlock::AddLock(void)" (?AddLock@GDALRasterBlock@@QAEHXZ)

    MRRRasterBand.obj : error LNK2001: unresolved external symbol _CPLAtomicAdd

     

     

     

    I've verified the gdal_i.lib file is present

     

    Fabio

     






  • 7.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Employee
    Posted 29 days ago
    Thanks Fabio, we are looking into it

    ------------------------------
    Anshul Goel
    ------------------------------



  • 8.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Posted 24 days ago
    Hi Anshul,
    do you have news?
    I've seen that in makefile.vc there are a couple of empty variables $(LDEBUG) and $(MRR_LIB). Is it normal? There is something missing?
    Thanks,
    Fabio

    ------------------------------
    Fabio Cosimelli
    Knowledge Community Shared Account
    ------------------------------



  • 9.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Employee
    Posted 23 days ago
    Hello Fabio,

    I don't think there is anything wrong in the makefile.vc. I was able to compile GDAL 3.5.0 and 3.5.1 locally. Used VS 2017 for building the plugin and GDAL. Just to confirm you were using x64 Native Tools Command Prompt for building GDAL and Plugin?

    If you wish to try, maybe we can share the mrr plugin that we built locally. Please DM your E-Mail and we will share the plugin.

    Also for QGIS it seems that they have updated the location to copy paste plugin.
    It's now placed under apps folder (C:\Program Files\QGIS 3.26.2\apps\gdal\lib\gdalplugins)

    Thanks
    Anshul

    ------------------------------
    Anshul Goel
    ------------------------------



  • 10.  RE: GDAL MRR Plugin for GDAL version 3.2.x, 3.3.x and 3.4.x

    Posted 23 days ago

    Yes I'm using native tools of VS2017.

    So which is the problem for you?

     

    If you want to share the 3.5 compiled will be wonderful.

     

    The e-mail is Fabio.cosimelli@tiscali.it

     

    Fabio