Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > by-pkgid > d67485fb8ce60f8952179bbde3b5d022 > files > 71

libgdal0-devel-1.1.7-2mdk.i586.rpm

<html>
<head>
<title>ECW -- ERMapper Compress Wavelets (.ecw)</title>
</head>

<body bgcolor="#ffffff">

<h1>ECW -- ERMapper Compress Wavelets (.ecw)</h1>

GDAL supports .ecw format for read access and write.  The current 
implementation reads any number of bands but returns only as eight bit
image data.  Georeferencing transform information is read, but projection
and datum definitions are ignored.<p>

<h2>Caveats and Limitions</h2>

<ol>
<li> <b>Windows Only</b>: Currently it appears that the ECW SDK is avalable
only for Windows, so ECW support in GDAL is only available on windows.<p>

<li> <b>Compilation Optional</b>: Inclusion of ECW support in GDAL is a
build time option, and disabled by default.  GDAL for windows will not 
support ECW if it was not configured in during the build of the GDAL 
librarys (controlled by uncommenting and adjusting the lines starting with
ECW in the gdal\nmake.opt file).<p>

<li> <b>Extra DLLs Required</b>: To work, the ECW support requires that
the ECW SDK DLLs NCSEcw.dll, NCSEcwC.dll, NCSUtil.dll and NCScnet.dll be
somewhere in the path, for instance in the same directory as the GDAL DLL.<p>

</ol>

<h2>Creation Issues</h2>

The free ECW compression kit only supports compression of images up to 
500MB.  To compress very large images it is necessary to license ECW
technology from ERMapper.  Files to be compressed into ECW format must also
be at least 128x128.  Non-eight bit source data will be rescaled by
the ECW SDK in some manner that I don't understand ... the resulting image
is effectively eight bit.<p>

While georeferencing information is written to the ECW file, the coordinate
system definition is currently not (this could be corrected).<p>

Creation Options:<p>

<ul>

<li> <b>TARGET=percent</b>: Set the target size reduction as a percentage of 
the original.  If not provided defaults to 75 for an 75% reduction.<p>

<li> <b>BLOCKXSIZE=n</b>: Width of blocks to use for compression.  Must be
one of 64, 128, 256, 512, 1024, 2048.  Default is 256.<p>

<li> <b>BLOCKYSIZE=n</b>: Width of blocks to use for compression.  Must be
one of 64, 128, 256, 512, 1024, 2048.  Default is 256.<p>

<li> <b>BLOCKSIZE=n</b>: Same as setting BLOCKXSIZE and BLOCKYSIZE.<p>

</ul>

ECW format does not support creation of overviews since the ECW format 
is already considered to be optimized for "arbitrary overviews". <P>

See Also:<p>

<ul>
<li> Implemented as <tt>gdal/frmts/ecw/ecwdataset.cpp</tt>.<p>

<li> <a href="http://www.ermapper.com/products/ecw/ecw_body.htm">ECW Page</a>
at <a href="http://www.ermapper.com/">www.ermapper.com.</a><p>

</ul>

</body>
</html>