Difference between revisions of "ECW"

From OpenJUMP Wiki
Jump to navigation Jump to search
 
(19 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
'''back to''' [[Working with Raster]] page
 
'''back to''' [[Working with Raster]] page
 +
 +
; NOTE
 +
: This page is about the ECW support via ECW SDK currently for 32 bit java on Windows, Linux only. If your platform/jre is not supported by that you might want to try ECW GDAL support provided by [[Working with Raster#Referenced_Image_reader | Referenced Image reader]].
 +
  
 
== ECW File format ==
 
== ECW File format ==
Line 5: Line 9:
 
ECW is a proprietary wavelet compression image format optimized for aerial and satellite imagery. See complete article about [http://en.wikipedia.org/wiki/ECW_%28file_format%29 ECW in wikipedia].  
 
ECW is a proprietary wavelet compression image format optimized for aerial and satellite imagery. See complete article about [http://en.wikipedia.org/wiki/ECW_%28file_format%29 ECW in wikipedia].  
  
== ECW OpenJUMP reader ==
+
== ECW Read Support ==
 +
 
 +
An enhanced ECW support based on ERDAS ECW/JP2 SDK version 3.3 is available since OpenJUMP 1.4.3. It makes use of native libraries that were originally compiled by the [http://www.gvsig.org/ gvsig GIS software] team and shipped with their distribution. Thanks!!!
 +
One advantage of the new SDK is that it gives also access to [[JPEG2000]] format.
 +
It is included by default into the PLUS edition of OpenJUMP.
 +
You can however add them manually to OpenJUMP CORE if you want to.
 +
 
 +
=== '''Requirements''' ===
 +
 
 +
As binary library code is used the support is platform specific. Currently tested and supported are
 +
 
 +
* Windows (XP,Vista,7 [32bit/64bit])
 +
* Linux, MacOSX [32bit/64bit]
 +
* running a '''(32bit/x86) Java Runtime Environment'''
 +
 
 +
'''Hint:''' make sure again that OJ is run with a '''32bit java or in 32bit mode''' if it complains that the ECW libraries cannot be loaded.
 +
 
 +
'''Hint:''' because ecw reader uses native libraries, it will not find images if their path contains space or special characters.
 +
 
 +
=== '''Download''' ===
  
=== Old ECW Reader ===
+
Download it here
To read ECW images, OpenJUMP needs proprietary code from [[http://www.erdas.com/Homepage.aspx ERDAS Er Mapper]]. Until version 1.4.2 (version 1.4.2 included), OpenJUMP relyed on ermapper.jar, a library containing glue code between OpenJUMP code and ermapper ''dll''s. To be able to read ecw files. This library, which has to be in the lib directory, has dependencies on three ''dll''s which have to be in ext directory :
+
:http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Drivers/ECW_JP2_Support_for_OpenJUMP-20131229.zip
* ''NcsCnet.dll''
 
* ''NCSEcw.dll''
 
* ''NCSUtil.dll''
 
These dll are no more available on Erdas website. A new SDK is downloadable from [http://www.erdas.com/products/ecw/ERDASECWJPEG2000SDK/Downloads.aspx ERDAS] as part of the ERDAS ECW/JP2 SDK, but it is not compatible with the ermapper.jar.
 
Old versions of dll required by ermapper.jar are still available here and there on the web (see  [http://people.ok.ubc.ca/mberger/MiscSW/IrfanView/Plugins/Ecw/ Irfanview] Ecw plugin).
 
  
'''Note''': The last ECW SDK found on [[http://www.erdas.com/Homepage.aspx ERDAS]] website is not compatible with ermapper.jar available in OpenJUMP distribution until OpenJUMP 1.4.2 version, and it seems that ERDAS ER Mapper does not maintain this old java wrapper.
+
=== '''Installation''' ===
  
=== New ECW Reader ===
+
Follow the instruction of the included readme.txt file.
A new version of ECW reader based on ERDAS ECW/JP2 SDK version 3.3 is made available from OpenJUMP 1.4.3.
+
 
One advantage of the new SDK is that it gives also access to [[JPEG2000]] format.
+
=== ''' Source Code ''' ===
 +
 
 +
Find the sources on sourceforge svn repository
 +
 
 +
: https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/dll/ecw/
  
TO BE COMPLETED (installation, ecw on LINUX...)
+
Read readme.txt located there for explanations.
  
 
== Interesting links about ECW ==
 
== Interesting links about ECW ==

Latest revision as of 23:30, 5 May 2014

back to Working with Raster page

NOTE
This page is about the ECW support via ECW SDK currently for 32 bit java on Windows, Linux only. If your platform/jre is not supported by that you might want to try ECW GDAL support provided by Referenced Image reader.


ECW File format

ECW is a proprietary wavelet compression image format optimized for aerial and satellite imagery. See complete article about ECW in wikipedia.

ECW Read Support

An enhanced ECW support based on ERDAS ECW/JP2 SDK version 3.3 is available since OpenJUMP 1.4.3. It makes use of native libraries that were originally compiled by the gvsig GIS software team and shipped with their distribution. Thanks!!! One advantage of the new SDK is that it gives also access to JPEG2000 format. It is included by default into the PLUS edition of OpenJUMP. You can however add them manually to OpenJUMP CORE if you want to.

Requirements

As binary library code is used the support is platform specific. Currently tested and supported are

  • Windows (XP,Vista,7 [32bit/64bit])
  • Linux, MacOSX [32bit/64bit]
  • running a (32bit/x86) Java Runtime Environment

Hint: make sure again that OJ is run with a 32bit java or in 32bit mode if it complains that the ECW libraries cannot be loaded.

Hint: because ecw reader uses native libraries, it will not find images if their path contains space or special characters.

Download

Download it here

http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Drivers/ECW_JP2_Support_for_OpenJUMP-20131229.zip

Installation

Follow the instruction of the included readme.txt file.

Source Code

Find the sources on sourceforge svn repository

https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/dll/ecw/

Read readme.txt located there for explanations.

Interesting links about ECW

WCS issues from deegree website (2007)

Use of ecw in gdal

Licensing discussion

See OpenJUMP_Licensing