Skip to content

Commit

Permalink
Merge pull request OSGeo#11931 from ctoney/gtiff_creation_opt
Browse files Browse the repository at this point in the history
GTiff: add a few missing default attributes in the creation option list
  • Loading branch information
rouault authored Mar 7, 2025
2 parents 8ae4a5f + 56cacda commit b047461
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frmts/gtiff/geotiff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,8 @@ void GDALRegister_GTiff()
osOptions += ""
" <Option name='PREDICTOR' type='int' "
"description='Predictor Type (1=default, 2=horizontal "
"differencing, 3=floating point prediction)'/>";
"differencing, 3=floating point prediction)' "
"default='1'/>";
osOptions +=
""
" <Option name='DISCARD_LSB' type='string' description='Number of "
Expand Down Expand Up @@ -1342,14 +1343,15 @@ void GDALRegister_GTiff()
" <Value>PIXEL</Value>"
" </Option>"
" <Option name='TILED' type='boolean' description='Switch to tiled "
"format'/>"
"format' default='NO'/>"
" <Option name='TFW' type='boolean' description='Write out world "
"file'/>"
" <Option name='RPB' type='boolean' description='Write out .RPB "
"(RPC) file'/>"
" <Option name='RPCTXT' type='boolean' description='Write out "
"_RPC.TXT file'/>"
" <Option name='BLOCKXSIZE' type='int' description='Tile Width'/>"
" <Option name='BLOCKXSIZE' type='int' description='Tile Width' "
"default='256'/>"
" <Option name='BLOCKYSIZE' type='int' description='Tile/Strip "
"Height'/>"
" <Option name='PHOTOMETRIC' type='string-select'>"
Expand Down Expand Up @@ -1384,7 +1386,7 @@ void GDALRegister_GTiff()
" <Value>SIGNEDBYTE</Value>"
" </Option>"
" <Option name='BIGTIFF' type='string-select' description='Force "
"creation of BigTIFF file'>"
"creation of BigTIFF file' default='IF_NEEDED'>"
" <Value>YES</Value>"
" <Value>NO</Value>"
" <Value>IF_NEEDED</Value>"
Expand Down

0 comments on commit b047461

Please sign in to comment.