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

Search ERDAS ECW/JP2 SDK v5.1 (Linux) or clik
http://download.intergraph.com/downloads/erdas-ecw-jp2-sdk-v5.1-%28linux%29?startdownload=1

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:

deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
raring main deb-src
http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring
main

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
_______________________________________________
UbuntuGIS mailing list
Ubuntu@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki

Reply via email to