[Qgis-user] ecw problems

Ramon Andinach custard at westnet.com.au
Thu Feb 17 05:51:28 PST 2011


On 17/02/2011, at 20:35 , luca_manganelli at comune.trento.it wrote:

> qgis-user-bounces at lists.osgeo.org scritti il 17/02/2011 12.20.05
> 
>> It appears not.
> 
>> What should it be?
> 
> 1. Edit the bat file, the one you use to launch QGIS
> 2. add a line
> 
> set GDAL_DRIVER_PATH=[QGIS path]\bin\gdalplugins\1.8
> 
> 3. on that dir ([QGIS path]\bin\gdalplugins\1.8) you should have these
> files:
> 
> gdal_ECW_JP2ECW.dll
> NCScnet4.dll
> NCScnet4d.dll
> NCSEcw4_RO.dll
> NCSEcw4_ROd.dll
> NCSUtil4.dll
> NCSUtil4d.dll
> placeholder
> tbb.dll
> tbb_debug.dll
> 
> 4. run Qgis and happy ECW
> 
> :-)

Thanks Lucus, Jean-Claude and Jürgen.
This will work.


A few related questions.
1. I can't get rid of gdal1.7, as apparently grass needs it. Is defining GDAL_DRIVER_PATH like that going to cause problems for grass?
2. I read (trac.osgeo.org/gdal/wiki/config_options) that if GDAL_DRIVER_PATH is undefined the default for windows systems is $BINDIR\bin\gdalplugins . I presume in this context that would be c:\osgeo4\bin\gdalpugins . If I put these files there and don't define GDAL_DRIVER_PATH ECWs don't work. Did I assume incorrectly?
3. That's a whole lot more .dll files than I've got. What are the *4d.dll files?

-ramon.


More information about the Qgis-user mailing list