kopia lustrzana https://github.com/OpenDroneMap/ODM
Set maxTiles check only in absence of georeferenced photos
rodzic
7e05a5b04e
commit
2d2b809530
|
@ -101,7 +101,7 @@ class ODMDEMStage(types.ODM_Stage):
|
|||
decimation=args.dem_decimation,
|
||||
max_workers=args.max_concurrency,
|
||||
keep_unfilled_copy=args.dem_euclidean_map,
|
||||
max_tiles=math.ceil(len(reconstruction.photos) / 2)
|
||||
max_tiles=None if reconstruction.has_geotagged_photos() else math.ceil(len(reconstruction.photos) / 2)
|
||||
)
|
||||
|
||||
dem_geotiff_path = os.path.join(odm_dem_root, "{}.tif".format(product))
|
||||
|
|
|
@ -60,7 +60,7 @@ class ODMeshingStage(types.ODM_Stage):
|
|||
available_cores=args.max_concurrency,
|
||||
method='poisson' if args.fast_orthophoto else 'gridded',
|
||||
smooth_dsm=True,
|
||||
max_tiles=math.ceil(len(reconstruction.photos) / 2))
|
||||
max_tiles=None if reconstruction.has_geotagged_photos() else math.ceil(len(reconstruction.photos) / 2))
|
||||
else:
|
||||
log.ODM_WARNING('Found a valid ODM 2.5D Mesh file in: %s' %
|
||||
tree.odm_25dmesh)
|
||||
|
|
Ładowanie…
Reference in New Issue