kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
a41efc5549
commit
c06f0b93e5
|
@ -498,16 +498,6 @@ def config():
|
|||
help='Set the compression to use. Note that this could '
|
||||
'break gdal_translate if you don\'t know what you '
|
||||
'are doing. Options: %(choices)s.\nDefault: %(default)s')
|
||||
|
||||
parser.add_argument('--orthophoto-bigtiff',
|
||||
type=str,
|
||||
choices=['YES', 'NO','IF_NEEDED','IF_SAFER'],
|
||||
default='IF_SAFER',
|
||||
help='Control whether the created orthophoto is a BigTIFF or '
|
||||
'classic TIFF. BigTIFF is a variant for files larger than '
|
||||
'4GiB of data. Options are %(choices)s. See GDAL specs: '
|
||||
'https://www.gdal.org/frmt_gtiff.html for more info. '
|
||||
'\nDefault: %(default)s')
|
||||
|
||||
parser.add_argument('--orthophoto-cutline',
|
||||
action='store_true',
|
||||
|
|
|
@ -6,7 +6,7 @@ def get_orthophoto_vars(args):
|
|||
'TILED': 'NO' if args.orthophoto_no_tiled else 'YES',
|
||||
'COMPRESS': args.orthophoto_compression,
|
||||
'PREDICTOR': '2' if args.orthophoto_compression in ['LZW', 'DEFLATE'] else '1',
|
||||
'BIGTIFF': args.orthophoto_bigtiff,
|
||||
'BIGTIFF': 'IF_SAFER',
|
||||
'BLOCKXSIZE': 512,
|
||||
'BLOCKYSIZE': 512,
|
||||
'NUM_THREADS': args.max_concurrency
|
||||
|
|
Ładowanie…
Reference in New Issue