[GRASSLIST:6166] raster import - getting started

I've installed grass5 on a bsd system. I have set up the directories and
am following the direction in Neteler's book to import some georectified
tiffs. I am just playing around here as I learn my way around grass...

If I use: r.in.tiff input=/home/kwythers/tmp/DRG1643.TIF output=drg1643

I get the error:
/home/kwythers/tmp/DRG1643.TIF: Warning, unknown field with tag 33550
(0x830e) ignored.
/home/kwythers/tmp/DRG1643.TIF: Warning, unknown field with tag 33922
(0x8482) ignored.
/home/kwythers/tmp/DRG1643.TIF: Warning, unknown field with tag 34735
(0x87af) ignored.
ERROR: Only handle 1-channel gray scale or 3-channel color.

If I try r.in.gdal input=/home/kwythers/tmp/DRG1643.TIF output=drg1643

I get the error:
GBBridgeInitialize() failed to find an suitable GDAL .DLL/.so file.
The following filenames were searched for:
  o libgdal.1.1.so
  o gdal.1.0.so
  o gdal.so.1.0
  o libgdal.so.1

The following locations were searched:
  o /usr/local/grass5/lib
  o System default locations.

System default locations may be influenced by:
LD_LIBRARY_PATH = /usr/local/grass5/lib
ERROR: Unable to initialize GDAL bridge (check libgdal
       installation/LD_LIBRARY_PATH variable).

I am obviously missing something extremely simple. Can anyone straighten
me out here?

Thanks

Kirk

Kirk R. Wythers wrote:

I've installed grass5 on a bsd system. I have set up the directories and
am following the direction in Neteler's book to import some georectified
tiffs. I am just playing around here as I learn my way around grass...

If I use: r.in.tiff input=/home/kwythers/tmp/DRG1643.TIF output=drg1643

I get the error:
/home/kwythers/tmp/DRG1643.TIF: Warning, unknown field with tag 33550
(0x830e) ignored.
/home/kwythers/tmp/DRG1643.TIF: Warning, unknown field with tag 33922
(0x8482) ignored.
/home/kwythers/tmp/DRG1643.TIF: Warning, unknown field with tag 34735
(0x87af) ignored.

These may be harmless.

ERROR: Only handle 1-channel gray scale or 3-channel color.

This isn't. TIFF supports many different image formats; r.in.tiff only
handles some of them. The tiffinfo utility should tell you exactly
what sort of TIFF file you have.

If I try r.in.gdal input=/home/kwythers/tmp/DRG1643.TIF output=drg1643

I get the error:
GBBridgeInitialize() failed to find an suitable GDAL .DLL/.so file.
The following filenames were searched for:
  o libgdal.1.1.so
  o gdal.1.0.so
  o gdal.so.1.0
  o libgdal.so.1

The following locations were searched:
  o /usr/local/grass5/lib
  o System default locations.

System default locations may be influenced by:
LD_LIBRARY_PATH = /usr/local/grass5/lib
ERROR: Unable to initialize GDAL bridge (check libgdal
       installation/LD_LIBRARY_PATH variable).

I am obviously missing something extremely simple. Can anyone straighten
me out here?

r.in.gdal needs the GDAL library (libgdal), but it failed to load it
(either because it couldn't find it, or because there's a problem with
it). Note that, by default, r.in.gdal loads libgdal dynamically, so
you can compile r.in.gdal without having libgdal installed, but you
can't actually run it without libgdal.

--
Glynn Clements <glynn.clements@virgin.net>