[GRASS-dev] [GRASS GIS] #2428: r.external to accept gdal config options
GRASS GIS
trac at osgeo.org
Thu Sep 25 02:25:37 PDT 2014
#2428: r.external to accept gdal config options
-------------------------+--------------------------------------------------
Reporter: perrygeo | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: svn-trunk
Keywords: r.external | Platform: Unspecified
Cpu: x86-64 |
-------------------------+--------------------------------------------------
Changes (by neteler):
* keywords: => r.external
Comment:
The request sounds reasonable but I didn't figure out how to pass
"papszOptions" to GDAL as used in r.external. The magic line in r.out.gdal
is this:
{{{
# r.in.gdal/main.c
hDstDS =
GDALCreate(hDriver, output->answer, cellhead.cols,
cellhead.rows,
ref.nfiles, datatype, papszOptions);
}}}
but in r.external GDALOpen() is used. Perhaps a GDAL expert can tell us
the trick.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2428#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list