Changes between Initial Version and Version 1 of ECW


Ignore:
Timestamp:
Apr 7, 2007, 4:55:18 PM (17 years ago)
Author:
Mateusz Łoskot
Comment:

Started ECW wikipage

Legend:

Unmodified
Added
Removed
Modified
  • ECW

    v1 v1  
     1= ECW =
     2
     3http://www.gdal.org/frmt_ecw.html
     4
     5== Download ECW JPEG SDK ==
     6
     7In order to use ECW format with GDAL, you need to download Image Compression SDK from [http://www.ermapper.com/ ER Mapper] website.
     8The SDK is available to download for logged in users on the website, so first you will need to register.
     9
     10== Building libecwj library on Unix ==
     11
     12In order to use GDAL with ECW support under Linux, Solaris or Mac OS systems, you will need to build the '''libecwj''' library on your own, so it's required to download '''Image Compression SDK Source Code''' but not the binary distribution which is dedicated for Windows family systems. Current version is ECW SDK 3.3 and the source code package is named '''libecwj2-3.3-2006-09-06.zip'''.
     13
     14The source code is equipped with '''configure''' and Makefile.in scripts. There is also an utility script called '''bootstrap''' that can be used to regenerate the '''configure''' and Makefile.in files, if you have installed required tools: autoconf, automake, m4, libtool.
     15
     16In the former case, the procedure is simple:
     17
     18{{{
     19$ cd /path/to/libecwj2-3.3
     20$ ./configure
     21$ make
     22# make install
     23}}}
     24
     25where the last step should be run as superuser.
     26
     27By default, the '''libecwj''' is installed using installation prefix pointing to '''/usr/local'''. You can change this location with '''--prefix''' option of '''configure''' script. Run ''./configure --help'' for more details.
     28
     29== Building GDAL with ECW support on Unix ==
     30
     31Assuming you've installed '''libecwj''' library under default location, procedure of adding ECW support to GDAL is simple and you only need to provide GDAL '''configure''' with path to the ECW SDK installation prefix:
     32
     33{{{
     34$ cd /path/to/gdal
     35$ ./configure --with-ecw=/usr/local
     36$ make
     37# make install
     38}}}
     39
     40After these steps, you should be able to see the ECW in the list of formats supported by your GDAL installation:
     41
     42{{{
     43$ gdalinfo --formats|grep ECW
     44  ECW (rw): ERMapper Compressed Wavelets
     45  JP2ECW (rw+): ERMapper JPEG2000
     46}}}
     47
     48== Building GDAL with ECW support on Windows ==
     49
     50 ''TO BE DONE''
     51