Skip to content

Commit b047461

Browse files
authored
Merge pull request OSGeo#11931 from ctoney/gtiff_creation_opt
GTiff: add a few missing default attributes in the creation option list
2 parents 8ae4a5f + 56cacda commit b047461

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

frmts/gtiff/geotiff.cpp

+6-4
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,8 @@ void GDALRegister_GTiff()
12401240
osOptions += ""
12411241
" <Option name='PREDICTOR' type='int' "
12421242
"description='Predictor Type (1=default, 2=horizontal "
1243-
"differencing, 3=floating point prediction)'/>";
1243+
"differencing, 3=floating point prediction)' "
1244+
"default='1'/>";
12441245
osOptions +=
12451246
""
12461247
" <Option name='DISCARD_LSB' type='string' description='Number of "
@@ -1342,14 +1343,15 @@ void GDALRegister_GTiff()
13421343
" <Value>PIXEL</Value>"
13431344
" </Option>"
13441345
" <Option name='TILED' type='boolean' description='Switch to tiled "
1345-
"format'/>"
1346+
"format' default='NO'/>"
13461347
" <Option name='TFW' type='boolean' description='Write out world "
13471348
"file'/>"
13481349
" <Option name='RPB' type='boolean' description='Write out .RPB "
13491350
"(RPC) file'/>"
13501351
" <Option name='RPCTXT' type='boolean' description='Write out "
13511352
"_RPC.TXT file'/>"
1352-
" <Option name='BLOCKXSIZE' type='int' description='Tile Width'/>"
1353+
" <Option name='BLOCKXSIZE' type='int' description='Tile Width' "
1354+
"default='256'/>"
13531355
" <Option name='BLOCKYSIZE' type='int' description='Tile/Strip "
13541356
"Height'/>"
13551357
" <Option name='PHOTOMETRIC' type='string-select'>"
@@ -1384,7 +1386,7 @@ void GDALRegister_GTiff()
13841386
" <Value>SIGNEDBYTE</Value>"
13851387
" </Option>"
13861388
" <Option name='BIGTIFF' type='string-select' description='Force "
1387-
"creation of BigTIFF file'>"
1389+
"creation of BigTIFF file' default='IF_NEEDED'>"
13881390
" <Value>YES</Value>"
13891391
" <Value>NO</Value>"
13901392
" <Value>IF_NEEDED</Value>"

0 commit comments

Comments
 (0)