[GRASS-user] r.out.gdal not working
Glynn Clements
glynn at gclements.plus.com
Sun May 6 10:54:34 EDT 2007
Pawan Joshi wrote:
> i m using grass6.2 for windows through cygwin when i m using
> r.out.gdal input=ng42.blue format=GTiff
> the error is
> Required GRASS plugin for GDAL is missing
>
>
> How can it possible if r.in.gdal running without any error.
r.in.gdal is a C program which uses GDAL for reading and GRASS for
writing. GDAL only needs support for the files which are being read;
it doesn't need GRASS support.
In 6.2, r.out.gdal is a script which uses gdal_translate, which uses
GDAL for both reading and writing. GDAL needs GRASS support for
reading.
In 6.3, r.out.gdal is a C program, analogous to r.in.gdal, so GDAL
doesn't require GRASS support.
> THEN I have downloaded gdal for Grass from
> http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
>
> but it is not working
This probably means that the GDAL library was built without GRASS
support. This is quite common, as GRASS is one of the harder options
to support. GRASS itself requires GDAL, so building a version of GDAL
which supports GRASS involves first building GDAL without GRASS
support, then building GRASS, then building GDAL again with GRASS
support.
Unless you can find a pre-compiled version of GDAL which was built
with GRASS support, you'll need to build GDAL yourself.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list