kopia lustrzana https://github.com/OpenDroneMap/ODM
Fix black border in KMZs
rodzic
081d4c8948
commit
0249d6b6c8
|
@ -82,7 +82,7 @@ def generate_kmz(orthophoto_file, output_file=None, outsize=None):
|
|||
if gtif.RasterCount > 4:
|
||||
bandparam = "-b 1 -b 2 -b 3 -a_nodata 0"
|
||||
|
||||
system.run('gdal_translate -of KMLSUPEROVERLAY -co FORMAT=JPEG "%s" "%s" %s '
|
||||
system.run('gdal_translate -of KMLSUPEROVERLAY -co FORMAT=PNG "%s" "%s" %s '
|
||||
'--config GDAL_CACHEMAX %s%% ' % (orthophoto_file, output_file, bandparam, get_max_memory()))
|
||||
|
||||
def post_orthophoto_steps(args, bounds_file_path, orthophoto_file, orthophoto_tiles_dir):
|
||||
|
|
Ładowanie…
Reference in New Issue