<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Paul,<br>
Thanks for the quick advice. &nbsp;The problem was along the lines of your analysis.
Turns out it was my local setup. &nbsp;I had gmake5 from 5.0.2 in my path ahead
of the one from 5.0.3. &nbsp;So it was building against whatever from my 5.0.2
source, which I have now cleaned out. &nbsp;<br>
<br>
I am also clearer now on how to load an ArcGrid. &nbsp;I run<br>
r.in.gdal input=&lt;directory tree root&gt;/&lt;adf dir&gt;&nbsp; output=&lt;myname&gt;.
&nbsp;<br>
For example, I have<br>
16543954<br>
16543954/16543954<br>
16543954/16543954/DBLBND.ADF<br>
16543954/16543954/HDR.ADF<br>
16543954/16543954/PRJ.ADF<br>
16543954/16543954/STA.ADF<br>
16543954/16543954/W001001.ADF<br>
16543954/16543954/W001001X.ADF<br>
16543954/16543954.AUX<br>
16543954/INFO<br>
16543954/INFO/ARC.DIR<br>
16543954/INFO/ARC0000.DAT<br>
16543954/INFO/ARC0000.NIT<br>
16543954/INFO/ARC0001.DAT<br>
16543954/INFO/ARC0001.NIT<br>
16543954/METADATA.DBF<br>
16543954/METADATA.PRJ<br>
16543954/METADATA.SHP<br>
16543954/METADATA.SHX<br>
16543954/METADA~1.HTM<br>
So I:<br>
GRASS:/DATA/GIS/USA/EROS/continuous/DEM &gt; cd 16543954<br>
GRASS:/DATA/GIS/USA/EROS/continuous/DEM/16543954 &gt; r.in.gdal input=16543954
output=myname<br>
which works now quite nicely. &nbsp;It wasn't before.<br>
<br>
Phil<br>
<br>
Paul Kelly wrote:<br>
<blockquote type="cite"
 cite="midPine.LNX.4.58.0404111222280.30338@agrippa.ukshells.co.uk">
  <pre wrap="">On Sat, 10 Apr 2004, Philipp Molzer wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,
Along with others that I've seen posting, I have been unable to get
r.in.gdal in grass 5.0.3 to work.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I haven't seen this particular problem before.. I've been trying to follow
the r.in.gdal problems but I suppose I might have missed something though

  </pre>
  <blockquote type="cite">
    <pre wrap="">For example:
I try to import a DEM I got from the EROS seamless server.  It is in the
form of an ArcGrid, which is a set of files.
r.in.gdal input=W001001X.ADF output=tile1
ERROR 4: `W001001X.ADF' not recognised as a supported file format.

but this works:
gdalinfo W001001X.ADF
    </pre>
  </blockquote>
  <pre wrap=""><!---->
r.in.gdal and gdalinfo both have to call the GDAL library libgdal.xxxx.so
to actually read the file. So this suggests that the two programs might be
using different versions and one of them (that r.in.gdal is using) is
broken?

Just an idea...make sure there aren't multiple copies of the main gdal
library on your system. In particular if there is one in $GISBASE/lib it
woud probably be used by r.in.gdal in preference to one in /usr/local/lib,
which gdalinfo would be more likely to be using.

No definitive answer though, just a few ideas

Paul.

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