[GRASS-dev] [bug #4739] (grass) r.out.gdal: multiple createopt impossible

this bug's URL: http://intevation.de/rt/webrt?serial_num=4739
-------------------------------------------------------------------------

Subject: r.out.gdal: multiple createopt impossible

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-05-23

According to manual, for 'createopt' "Multiple options may be listed". Trying:

r.out.gdal input=map type=Byte output=map.tif createopt="COMPRESS=DEFLATE"
createopt="TFW=YES"

It doens't work:

0Warning 5: COMPRESS=DEFLATE,TFW=YES value not recognised, ignoring.

Same happens for:

createopt="COMPRESS=DEFLATE","TFW=YES"

And if I try something like that:

'createopt="COMPRESS=DEFLATE","TFW=YES"'

Then no warning but TFW is not created and compression not applied, ie. still createopt is ignored.

Maciek

-------------------------------------------- Managed by Request Tracker

On Mon, Jun 26, 2006 at 12:04:24PM +0200, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=4739
-------------------------------------------------------------------------

Subject: r.out.gdal: multiple createopt impossible

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-05-23

According to manual, for 'createopt' "Multiple options may be listed". Trying:

r.out.gdal input=map type=Byte output=map.tif createopt="COMPRESS=DEFLATE"
createopt="TFW=YES"

It doens't work:

0Warning 5: COMPRESS=DEFLATE,TFW=YES value not recognised, ignoring.

Same happens for:

createopt="COMPRESS=DEFLATE","TFW=YES"

Implemented in CVS.

Example:
r.out.gdal elevation.dem format=GTiff type=Int16 output=elev_dem.tif \
            createopt=TFW=YES,COMPRESS=DEFLATE

should now work. Same for metaopt.

Markus