[GRASSLIST:3133] Re: r.in.gdal failing

Paul Kelly paul-grass at stjohnspoint.co.uk
Sun Apr 11 07:26:19 EDT 2004

On Sat, 10 Apr 2004, Philipp Molzer wrote:

> 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.

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

> 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

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

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


More information about the grass-user mailing list