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.

_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser

Reply via email to