Hi Mitxel,

the ogr_MSSQLSpatial.dll seems to be resolved: this DLL needs the Microsoft sqlncli11.dll and that one wasn't found. I could download it from

https://www.microsoft.com/en-us/download/details.aspx?id=50402

After installing the package, the GDAL error message disappeared!

WolfgangTh



Am 20.02.2018 um 23:11 schrieb Mitxel:
Hi all


I have been exploring othersways to add ecw and mbtiles support for QMS in windows with no pain.

Previous attemp was a bit rough and it didn't work properly. From QMS 1.9.1 I have tested this way that I find better.

Basically it depends on the plugin installers from GISinsternals, and this is the step by step procedure:

*First of all:
*
- This procedure is valid for QMS 1.10.0 and newer versions compiled with the same GDAL and MSVC versions that QMS 1.10.0 (at this time GDAL 2.1 and MSVC2013) . The provided links point to the GISInternals installers according to theese versions.

- You must know that the GISinternals installers DO NOT ASK where they will be install the plugin. They always write in C:\Program Files\GDAL ( or something like that depending on your system language). Therefore, if you alredy have a GDAL version installed at that location for other purposes, you should rename it (eg: to GDALBAK) before runnig the installers in order to preserve it. So, once the task is done for QMS you can delete the GDAL folder created by GISinternals installers and rename back the original GDAL folder.

- (OPTIONAL) You would like to make a copy of the original Qmapshack root folder (eg:to QMapShack-BAK). In this way you can run QMS from the folder with plugins installed, or you can run the original one from the BAK folder without plugins. Your configuration remains the same for both of them and you could easily turn back if you don't like the changes.

*
Add ECW plugin*:

1- Download and execute thisECW plugin installer from GISinternals <%20http://download.gisinternals.com/sdk/downloads/release-1800-x64-gdal-2-2-1-mapserver-7-0-6/gdal-202-1800-x64-ecw-53.msi>

2- Go to the folder where the plugin has been installed , tipically C:\Program Files\GDAL

3- COPY the gdalplugins andlicense folders to the root folder of QMS, tipically C:\Program Files\QMapShack)

4- COPY NCSEcw.dll to the root folder of QMS

    You are done

*Add MrSID plugin:*

1- Download and execute this MrSid plugin installer from GISinternals <http://download.gisinternals.com/sdk/downloads/release-1800-x64-gdal-2-2-3-mapserver-7-0-7/gdal-202-1800-x64-mrsid.msi>

2- Go to the folder where the plugin has been installed , tipically C:\Program Files\GDAL

3- COPY the gdalplugins andlicense folders to the root folder of QMS, tipically C:\Program Files\QMapShack)

4- COPY to the root folder of QMS theese 3 files:lti_dsdk_9.1.dll , lti_lidar_dsdk_1.1.dll , tbb.dll

    You are done
*
Add MBTiles support:*

1- Download and execute theGDAL core installer from GISinternals <http://download.gisinternals.com/sdk/downloads/release-1800-x64-gdal-2-2-1-mapserver-7-0-6/gdal-202-1800-x64-core.msi>

2- Go to the folder where the GDAL core has been installed , tipically C:\Program Files\GDAL

3- COPY the gdalplugins and license folders to the root folder of QMS, tipically C:\Program Files\QMapShack)

4- COPY all the dll files (*.dll) to the root folder of QMS. Some of them already exist, when asked, choose overwrite them.


    You are done

You can add all of them at once: run all the installers first, and then follow the steps 2 to 4 for MBTiles.


*Updating QMS:*

(assuming that the the QMS update remains with the same GDAL and MSVC version)

- ECW and MrSID plugins are installed beside the QMS stuff, so when you update QMS the plugin support remains.

- MBTiles overwrites some dlls that come with QMS installer, so once QMS is updated you should repeat steps 2 to 4 for MBTiles support.

-------
Remarks:

- this procedure requires the user to install the plugins and agree their terms of use - It respects the QMS folder structure created with the QMS installer mantained by Helmut  :-) - there is no need to set any path to gdalplugins folder, so you can start qmapshack.exe as usual.


- The only pity is that for mbtiles (just the one that is an open format and supported by gdal) the gdal202.dll and others provided by the QMS installer must to be overwritten. Maybe there is a cleaner way, but I didn't get it.





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to