Hi there,
I'm using the following to calculate the orthomosaic resolution for my map:
ortho_res = float(chunk.model.meta['model/resolution']) / int(chunk.model.meta["model/depth_downscale"]) * chunk.transform.scale
This works fine for my normal workflow, however sometimes I generate a quick orthomosaic using just the sparse point cloud, and this breaks the snippet above, as chunk.model.meta["model/depth_downscale"]
no longer exists, resulting in: int() argument must be a string or a number, not 'NoneType'
How should I calculate my orthomosaic resolution when I have not generated a dense point cloud?
Thanks