<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=iso-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hamish wrote:
<blockquote cite="mid:62236.41132.qm@web45808.mail.sp1.yahoo.com"
 type="cite">
  <pre wrap="">Richard Chirgwin wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">In Grass 6.2, Ubuntu build (yes, there's a more recent version but not 
yet for the right build), when importing ECWs in r.in.gdal, I receive 
the "not a supported file format" error. Any ideas?

The same error occurs with Globe DEM files (although Globe DEM has been
reorganised and I'm not sure I have found the right header files).
    </pre>
  </blockquote>
  <pre wrap=""><!---->

Your copy of GDAL has to be built with support for those formats. Once it
is, r.in.gdal should be able to read it.

check with:
 gdalinfo --formats

if ECW is not there you will need to rebuild GDAL with support for those.

I am pretty sure that ECW support is not built by default.
 see <a class="moz-txt-link-freetext" href="http://www.gdal.org/frmt_ecw.html">http://www.gdal.org/frmt_ecw.html</a>

Now that ERmapper has been bought by Leica (apparently erdas has too),
obtaining the SDK has changed as they have a much different view of open
source:
"Product enhancements, including:
  * no more restrictions on the distribution of 'Server Software' under
the GPL-style Public Use License Agreement"

.... but what has that been replaced by? Moved to BSD-like or proprietary?
The binary SDK is only available for Windows, so you may be forced to use
GDAL for Windows to export to GeoTiff.   ? Hopefully the new license is
usable for Linux, I don't know. They still offer the source, which is
encouraging.



good luck,
Hamish
  </pre>
</blockquote>
Thanks, Hamish - I didn't realise about the build issue. It may be
easier to avoid ECW! <br>
<br>
However, I have overcome the Globe DEM problem by using a different
download method...<br>
<br>
Richard<br>
<blockquote cite="mid:62236.41132.qm@web45808.mail.sp1.yahoo.com"
 type="cite">
  <pre wrap="">




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  <a class="moz-txt-link-freetext" href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a>

  </pre>
</blockquote>
</body>
</html>