[GRASS-user] r.out.gdal bug? problems with createopt
Markus Neteler
neteler at itc.it
Thu Oct 11 02:35:23 EDT 2007
According to CVS this was fixed:
2007-09-24 12:13 martinl
* main.c: Parse 'create options'. Message cleaning.
Thanks, Martin. I guess I/someone should backport that to GRASS 6.2?
Markus
Martin Landa-2 wrote:
>
> Hi,
>
> preparing the patch, I realized there is something strange, createopt
> works only using MEM driver...
>
> GDALCreateCopy, works:
>
> /* Finaly create user required raster format from memory raster if
> in-memory driver was used */
> if (hMEMDS) {
> hDstDS =
> GDALCreateCopy(hDriver, output->answer, hMEMDS, FALSE, papszOptions,
> NULL, NULL);
> if (hDstDS == NULL)
> G_fatal_error(_("Unable create raster map <%s> using driver <%s>"),
> output->answer, format->answer);
> }
>
> GDALCreate(), createopt seems to be ignored(?)
>
> ...
> hDstDS =
> GDALCreate(hDriver, output->answer, cellhead.cols, cellhead.rows,
> ref.nfiles, datatype, papszOptions);
> ...
>
> Martin
>
--
View this message in context: http://www.nabble.com/r.out.gdal-bug--problems-with-createopt-tf4504650.html#a13150236
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list