6

How do I add and view *.ecw raster images in Qgis 2.0 ?

  • 2
    Appreciate that this is done with good intentions, but this isn't a question, so it doesn't belong on gis.SE, which is a Q&A site. – BradHards Oct 2 '13 at 4:15
  • 3
    @BradHards I've taken the initiative and edited the Question to remove the solution. I have then put the solution as a CW answer. – Devdatta Tengshe Oct 2 '13 at 5:21
4

This is an edited form of the solution that the OP had put in the Question


Note: The QGIS 64bit installer used GDAL 1.10 which has the ECW plugin included. The 32bit installer is getting updated to GDAL 1.10 with the plugin at some stage, no ETA at the moment. The following method is only needed for the 32bit installer until it updated with the new GDAL.

I had to solve this for work so thought i should share given the QGIS 2.0 release. It is basically a rehash of a post by Giovanni Manghi in Feb 2013 but with correct paths for .dll files.

install this package http://www.gisinternals.com/sdk/Download.aspx?file=release-1600-gdal-1-9-2-mapserver-6-2-0\gdal-19-1600-ecw.msi

once installed goto: \Program Files\GDAL\libecwj2.dll enter image description here\Program Files\GDAL\gdalplugins\gdal_ECW_JP2ECW.dllenter image description here

copy libecwj2.dll  into \OQGIS Dufour\bin folderenter image description here

copy gdal_ECW_JP2ECW.dll  into QGIS Dufour\bin\gdalplugins\1.9 Folderenter image description here

Then restart your computer and load QGIS 2.0

Select Layer>Add Raster Layer

Select a *.ecw file> open

Done.

  • With my standalone 64bit QGIS 2.0 install I already had the ability to load ECW files and the gdal_ECW_JP2ECW.dll was already in my gdalplugins folder – tjmgis Oct 2 '13 at 9:52
  • At the moment the 64bit installer used GDAL 1.10 which has the ECW plugin. The 32bit installer is getting updated to GDAL 1.10, no ETA at the moment. – Nathan W Oct 2 '13 at 11:00
  • Try it map help you surfaces.co.il/qgis-on-windows-with-ecw – Farhat Abbas Oct 2 '13 at 11:31
-1

1- Download and Install GDAL 1.10.0 http://www.kyngchaos.com/files/software/frameworks/GDAL_Framework-1.10.0-2.dmg

2- Download ECW plugin for QGIS 2.0 http://www.kyngchaos.com/files/software/frameworks/GDAL-ECW_Plugin-1.10.0-1.dmg

3- Simply Download & Install QGIS 2.0

4- Now you open ecw files in QGIS

or

I would suggest you to follow:

1- Install Gdal library on your system (If Mac use brew install gdal)

2- gdalinfo --formats|grep -i ecw to make sure that you have ecw listed in supported formats

3- Use gdal_translate command to convert ecw to tiff

4- Open tiff file in QGIS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.