Monday, November 14, 2016

Install ECW support QGIS 2.2.0 -Valmiera on Ubuntu 14.04 LTS

Tags

1. Download ERDAS-ECW_JPEG_2000_SDK-5.1.1.bin in http://download.intergraph.com/

Open folder download and copy this file "ERDAS-ECW_JPEG_2000_SDK-5.1.1.bin" to Home

2. Open Terminal in Ubuntu 14.04 LTS and apply the following commands:
sudo gedit /etc/apt/sources.list

3. Add a ubuntugis ppa in /etc/apt/sources.list:

4. Save and exit

5. Open Terminal in Ubuntu 14.04 LTS and apply the following commands:
sudo apt-get update
sudo apt-get install libgdal-ecw-src
chmod +x ERDAS-ECW_JPEG_2000_SDK-5.1.1.bin
./ERDAS-ECW_JPEG_2000_SDK-5.1.1.bin #Select option desktop read only

sudo cp -r ERDAS-ECW_JPEG_2000_SDK-5.1.1 /usr/local/
sudo ln -s /usr/local/ERDAS-ECW_JPEG_2000_SDK-5.1.1/Desktop_Read-Only/lib/x86/release/libNCSEcw.so /usr/local/lib/libNCSEcw.so

sudo ldconfig
sudo apt-get install libgdal-ecw-src
sudo gdal-ecw-build /usr/local/ERDAS-ECW_JPEG_2000_SDK-5.1.1/Desktop_Read-Only

gdalinfo --formats | grep -i ecw
And see on terminal
  ECW (rw+): ERDAS Compressed Wavelets (SDK 5.1)
  JP2ECW (rw+v): ERDAS JPEG2000 (SDK 5.1)


Open your QGIS, and lets go to pray


EmoticonEmoticon