kopia lustrzana https://github.com/OpenDroneMap/ODM
Build internal overviews
rodzic
bad894108d
commit
7a05d6ca27
|
@ -31,7 +31,7 @@ def build_overviews(orthophoto_file):
|
||||||
kwargs = {'orthophoto': orthophoto_file}
|
kwargs = {'orthophoto': orthophoto_file}
|
||||||
|
|
||||||
# Run gdaladdo
|
# Run gdaladdo
|
||||||
system.run('gdaladdo -ro -r average '
|
system.run('gdaladdo -r average '
|
||||||
'--config BIGTIFF_OVERVIEW IF_SAFER '
|
'--config BIGTIFF_OVERVIEW IF_SAFER '
|
||||||
'--config COMPRESS_OVERVIEW JPEG '
|
'--config COMPRESS_OVERVIEW JPEG '
|
||||||
'{orthophoto} 2 4 8 16'.format(**kwargs))
|
'{orthophoto} 2 4 8 16'.format(**kwargs))
|
||||||
|
|
Ładowanie…
Reference in New Issue