kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
fd43c902b3
commit
1a88df802f
|
@ -139,8 +139,8 @@ def merge(input_ortho_and_ortho_cuts, output_orthophoto, orthophoto_vars={}):
|
|||
left, bottom, right, top = src.bounds
|
||||
xs.extend([left, right])
|
||||
ys.extend([bottom, top])
|
||||
if src.profile["count"] != 4:
|
||||
raise ValueError("Inputs must be 4-band rasters")
|
||||
if src.profile["count"] < 4:
|
||||
raise ValueError("Inputs must be at least 4-band rasters")
|
||||
dst_w, dst_s, dst_e, dst_n = min(xs), min(ys), max(xs), max(ys)
|
||||
log.ODM_INFO("Output bounds: %r %r %r %r" % (dst_w, dst_s, dst_e, dst_n))
|
||||
|
||||
|
|
|
@ -503,7 +503,8 @@ class ToolchainTask(Task):
|
|||
"odm_orthophoto/cutline.gpkg",
|
||||
"odm_orthophoto/odm_orthophoto_cut.tif",
|
||||
"odm_dem",
|
||||
"odm_georeferencing"])
|
||||
"odm_georeferencing",
|
||||
"odm_georeferencing_25d"])
|
||||
else:
|
||||
log.ODM_INFO("Already processed toolchain for %s" % submodel_name)
|
||||
handle_result()
|
Ładowanie…
Reference in New Issue