Do you need a GDAL library to use ecw?
In 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.
How to build ECW drivers as a plugin?
In order to build the ECW and JP2ECW drivers as plugins uncomment the plugin line in the nmake.opt: # To build ECW support as a plugin uncomment the following, and make sure # to do “nmake /f makefile.vc plugin” in gdal/frmts/ecw and copy the two # resulting DLLs to an appropriate place. ECW_PLUGIN = YES
Is the GCC SDK compatible with the ECW SDK?
Since GCC 5.1, GCC uses by default a new C++ ABI for libstdc++, which is incompatible of the ECW SDK binaries prior to version 5.4. The workaround is to build GDAL with CXXFLAGS=”-D_GLIBCXX_USE_CXX11_ABI=0″ ./configure [options]
Can you write ECW files to JPEG2000?
In order to write ECW or JPEG2000 files via the ECW SDK it is necessary to purchase a write enabled version of the SDK from Hexagon Geospatial/ERDAS. If the out of date libecwj 3.3 SDK can be found (e.g. https://sourceforge.net/projects/libecw-legacy/ or https://github.com/bogind/libecwj2-3.3 ), it can also be used.
Where can I get the ECW plugin for Linux?
One method is to compile the ECW plugin and gdal from source. When in doubt, read the guide from the gdal website, but here is a summary of the process: No need to register on http://www.erdas.com, they don’t seem to offer a source package for linux any longer.
Which is the best SDK for ECW 5.4?
Use ECW SDK 5.4 if possible, together with GDAL >= r41789 (GDAL 2.3.0dev and GDAL 2.2.4), since this SDK is the first one to ship with a library with the new C++ ABI, which solves the below issues. Since GCC 5.1, GCC uses by default a new C++ ABI for libstdc++, which is incompatible of the ECW SDK binaries prior to version 5.4.